I'm currently trying to patch AppleHDA to use the Analog Devices 1984a codec on the Dell Precision T5500 (OS X 10.11.5). When it came to Pathmaps, I got slightly confused because the connections to my outputs lead to more than one audio mixer/selector. For example:
Green Heaphones Front Jack: 0x11->0x07->0x22->0x04
0x11: Pin Complex "Headphone Playback Switch"
0x07: Audio Mixer
0x22: Audio Selector
0x04: Audio Output "Headphone Playback Volume"
So when it came to Platforms.xml patching I added an extra audio mixer <dict> structure to supplement the proper connection. I figured it wouldn't work, but I had to give it a try. If anyone has experience with ADI codecs and would like to lend a hand, I've put all of my research into the attached zip file. For the .md files, it's best to view them on dillinger.io for a very nicely formatted version of the codec process. For reference here's the pin configuration:
--incorrect
and Pathmaps:
Green Heaphones Front Jack : 0x11->0x07->0x22->0x04
Green Line-out Back Jack : 0x12->0x0a-0x04
Speaker : 0x13->0x1f->0x1e
Pink Mic Front Jack : 0x14->0x0c->0x08
Blue Line-in Back Jack : 0x15->0x0d->0x09
Also the error I receive from the kernel is a sound assertion spammed quite a few times:
6/28/16 9:19:01.000 AM kernel[0]: Sound assertion in AppleHDACodecGeneric at line 532
Edit: I seem to have made some huge mistakes with the pin configuration, the correct pin configuration is:
<01171c40 01171d40 01171e21 01171f02 01271c10 01271d40 01271e01 01271f01 01270c00 01371cf0 01371d01 01371e13 01371f99 01370c00 01471c20 01471d90 01471ea1 01471f02 01571c30 01571d30 01571e81 01571f01 01671cf0 01671d00 01671e00 01671f40 01771cf0 01771d00 01771e00 01771f40 01a71cf0 01a71d00 01a71e00 01a71f40 01b71cf0 01b71d00 01b71e00 01b71f40 01c71cf0 01c71d00 01c71e00 01c71f40>
AD1984a.zip