Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making a new ALC285 layout for 7th gen #10

Open
penholderu opened this issue Oct 31, 2022 · 1 comment
Open

Making a new ALC285 layout for 7th gen #10

penholderu opened this issue Oct 31, 2022 · 1 comment

Comments

@penholderu
Copy link

I finally had the time and the balls to go ahead and make a new layout! yay?

I had some problems with the layout 71, mainly,
i) headphone sometimes goes all weird, sleeps solves it for a while.
ii) in-line mic doesnt work.
iii) internal mic doesnt work

with layout 88, I had a better success with in-line mic and headphone consistency but there were no double speakers in it.

So, I followed this particular guide: https://github.com/5T33Z0/AppleALC-Guides/tree/main/AppleALC_Layout-ID

Platform71.xml is absolutely correct for our codec. All nodes are correctly configured.

So it seems that the magic will be in pin configuration.
Screenshot 2022-10-31 at 16 15 33
This is the default configuration from codec dump. (After removing disabled devices and using predefined fixes.) This config works pretty good, removes first two problems. Although we still have two speaker outputs and no luck with the internal microphone.
Screenshot 2022-10-31 at 16 57 01
Screenshot 2022-10-31 at 16 57 19
For making a 4 channel speaker setup, I tried to put speakers into same group(G) with same number. There were still 2 speakers and they didnt work together. Also sound was distorted somehow.

For adding internal microphone to pin configurator, I used the values from layout 71 and added a second input. It had the correct nodes, also didnt work.

Strange part is, there is only one input when I use the codec_dump.txt. I created another dump with opencore debug and it is still the same
image
But as you can see from the schematic, there are 3 inputs(red circles).
Other notes regarding the schematic,
Node 20 is top speakers and they work together with jack detection.
Node 23 is bottom speakers.
Screenshot 2022-10-31 at 17 26 24
Maybe they can work to make two speakers in 4 channel.

So I am out of ideas, our schematic looks very different than the one in the guide and I have no deep knowledge about any of it.

Yet I believe this version that I compiled works better than layout 71.
Here is the kext if you want to try it
AppleALC-1.7.6-RELEASE.zip

Layout ID is 77

Let me know if you have any ideas

@not-nullptr
Copy link
Collaborator

this was the exact issue i was having while attempting to make an alc285 layout for the x1c7, so at least you're not alone?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants