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.
Platform71.xml is absolutely correct for our codec. All nodes are correctly configured.
So it seems that the magic will be in pin configuration.
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.
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
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.
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
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.
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.
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
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.
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