Help - Search - Members - Calendar
Full Version: Simple question about Pinconfig & DSDT patching
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > Sound
mcsmart
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
Trauma!
QUOTE
do I still have to patch AppleHDA.kext?


Yes and you ever will.

QUOTE
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 :

CODE
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
            }
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.