Riv Posted June 28, 2016 Share Posted June 28, 2016 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 Link to comment Share on other sites More sharing options...
InsanelyDeepak Posted June 29, 2016 Share Posted June 29, 2016 Here i extracted data from codec_dump of ADI AD1984A PinConfiguration : <01271c10 01271d40 01271e01 01271f01 01471c20 01471d90 01471ea1 01471f91 01571c30 01571d30 01571e81 01571f01 01171c40 01171d40 01171e21 01171f01 01371c50 01371d00 01371e13 01371f90> PathMaps : Speaker = 19->31->30->3 Headphone = 17->7->34->4 LineOut = 18->10->4 Mic Internal = 8->12->20 Mic External = 8->12->21 Patched AppleHDA ADI1984A : 10.11.5 Patched AppleHDA_ADI AD1984A .zip Use Layout_ID=13 for AppleHDA inject using DSDT (HDEF ) or Clover Good Luck 1 Link to comment Share on other sites More sharing options...
Riv Posted June 29, 2016 Share Posted June 29, 2016 Headphone audio works perfectly! There are some inputs and outputs missing, but I'm just glad that the audio works. I took some screenshots just in case you wanted to look further into the missing ones. Perfect audio for headphones, only thing missing is green audio port on the back of the case: Missing External Front Pink Mic Input: Kernel log, if it helps at all: Thank you so much for your help InsanelyDeepak, I really appreciate it. Link to comment Share on other sites More sharing options...
InsanelyDeepak Posted June 29, 2016 Share Posted June 29, 2016 there were two version both did same result ?? there's sound asserstion patch to remove it , but you can use it after getting working AppleHDA so skip this for now , will tell you later on Link to comment Share on other sites More sharing options...
InsanelyDeepak Posted June 29, 2016 Share Posted June 29, 2016 try this AppleHDA-272.51.3-ADI1984A.zip 1 Link to comment Share on other sites More sharing options...
Riv Posted June 29, 2016 Share Posted June 29, 2016 Yes v1 and v2 had the same results. I'm currently using the newest one and the outputs and inputs show, however, no sound makes to through the Mic (Pink Front), it's dead silence when recorded and the names look slightly weird compared to before. I've taken some screenshots for you! Thank you for your help! Link to comment Share on other sites More sharing options...
InsanelyDeepak Posted June 29, 2016 Share Posted June 29, 2016 Line In is front Mic (pink port at front panel) intMic is your rear Mic (pink port at back) Now is your speakers starts working?? If yes than sound comes from Line Out or speaker?? ( back rear port) Link to comment Share on other sites More sharing options...
Riv Posted June 29, 2016 Share Posted June 29, 2016 I've been in contact with MacPeet as well on the InsanelyMac forums since he's done a 1984A codec for the dell optiplex. Although this method is slightly different, it works perfectly on El Capitan 10.11.5. Make sure to use layout ID 1 in Clover or in your DSDT, and also use the AppleHDA binary patches here: All credit goes to MacPeet for these files!: AD1984A.zip Thank you so much for your help though Deepak! 1 Link to comment Share on other sites More sharing options...
InsanelyDeepak Posted June 29, 2016 Share Posted June 29, 2016 @Riv thats good you have already working AppleHDA Yeah he is using Clover patch on fly wether mine was Patched AppleHDA wich don't requires binary Patch and don't survive from software Updates Enjoy Good Sound 1 Link to comment Share on other sites More sharing options...
Riv Posted June 29, 2016 Share Posted June 29, 2016 Thank you Friend! 1 Link to comment Share on other sites More sharing options...
Recommended Posts