mcsmart Posted November 3, 2009 Share Posted November 3, 2009 I just started with DSDT patching and pinconfig stuff. I successfully added the pinconfig for my ALC889A card to my DSDT. Now all the ports of the soundchip are being displayed correctly in System-Profiler. Even though my card does show up in System-Profiler I do not get any sound (No audio devices in System Preferences). When I use the LegacyHDA.kext sound works fine. So my question is: do I still have to patch AppleHDA.kext? I thought that the DSDT pinconfig stuff would be enough... Without LegacyHDA.kext AppeHDA.kext gets loaded, but prints some errors in dmesg. Regards, mcsmart Link to comment https://www.insanelymac.com/forum/topic/195695-simple-question-about-pinconfig-dsdt-patching/ Share on other sites More sharing options...
Trauma! Posted November 3, 2009 Share Posted November 3, 2009 do I still have to patch AppleHDA.kext? Yes and you ever will. I successfully added the pinconfig for my ALC889A card to my DSDT. That's useless all you need is to specify Layout-id and be sure to name you device as "Device (HDEF)" Pinconfig and Pincomplex are managed from the plist, here is an example of a fully working piece of code to replace HDAEnabler : Device (HDEF) <-- you need that { Name (_ADR, 0x001B0000) <-- this is hardware specific Method (_PRW, 0, NotSerialized) { Return (Package (0x02) { 0x0D, 0x05 }) } Method (_DSM, 4, NotSerialized) <-- Injection method beginning { Store (Package (0x02) { "layout-id", <-- Only requeried injection value Buffer (0x04) { 0x79, 0x03, 0x00, 0x00 <-- Choose the layout-id according to your plist }, }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } <-- Injection method ending } Link to comment https://www.insanelymac.com/forum/topic/195695-simple-question-about-pinconfig-dsdt-patching/#findComment-1319014 Share on other sites More sharing options...
Recommended Posts