View Single Post
 
Old 08-14-2009, 05:40 PM
OG-Phantom's Avatar
OG-Phantom OG-Phantom is offline
Jaguar
 
Join Date: Aug 2009
Posts: 64
Quote:
Originally Posted by lancelotu View Post
right under this lines:

Code:
   Device (USBE)
            {
                Name (_ADR, 0x001A0007)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0D, 0x04))
                }
            }
you have to add this:

Code:
 Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x08)
                        {
                            "codec-id", 
                            Buffer (0x04)
                            {
                                0x9B, 0x82, 0x43, 0x10
                            }, 

                            "layout-id", 
                            Buffer (0x04)
                            {
                                0x0C, 0x00, 0x00, 0x00
                            }, 

                            "device-type", 
                            Buffer (0x17)
                            {
                                "Analog Devices AD1988B"
                            }, 

                            "PinConfigurations", 
                            Buffer (0x24)
                            {
                                /* 0000 */    0x30, 0x40, 0x21, 0x01, 0x10, 0x40, 0x11, 0x01, 
                                /* 0008 */    0x40, 0x90, 0xA1, 0x01, 0x50, 0x30, 0x81, 0x01, 
                                /* 0010 */    0x60, 0x10, 0x01, 0x01, 0x20, 0x90, 0xA0, 0x90, 
                                /* 0018 */    0x80, 0xF1, 0x45, 0x01, 0x90, 0xF1, 0xC5, 0x01, 
                                /* 0020 */    0x70, 0x60, 0x01, 0x01
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
and you also need this:

Code:
Method (DTGP, 5, NotSerialized)
    {
        If (LEqual (Arg0, Buffer (0x10)
                {
                    /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, 
                    /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
                }))
        {
            If (LEqual (Arg1, One))
            {
                If (LEqual (Arg2, Zero))
                {
                    Store (Buffer (One)
                        {
                            0x03
                        }, Arg4)
                    Return (One)
                }

                If (LEqual (Arg2, One))
                {
                    Return (One)
                }
            }
        }

        Store (Buffer (One)
            {
                0x00
            }, Arg4)
        Return (Zero)
    }
AFTER the: Method (_OSC, 4, NotSerialized) so it should look like this:



Code:
  
.........................
        MSC7,   32, 
        MSC8,   32, 
        DMAX,   8, 
        HPTA,   32
    }

    Method (DTGP, 5, NotSerialized)
    {
        If (LEqual (Arg0, Buffer (0x10).........................
Don't forget about Attachment 426 (put it on /Extra or /S/L/E)

Note that this has no front panel headphones working (trying to figure that out) but at least microphone is working great now.


Please report if working
That did the trick!!! Thank you!!!! I had tried that for awhile on my Leopard setup but couldn't get it working and gave up (DSDT route, I stuck with the injector and the enabler from TheKing)

[HACK P5K]
ASUS P5K Deluxe/Wifi [ Q9650 / 8GB OCZ / EVGA 8800 GTX ]
Windows Se7en 500GB SATA
OSX 10.6.4 (vanilla-EFI) 500GB SATA
[HACK EP43]
Gigabyte EP43-DS3L [ E6700 / 8GB OCZ / PNY 250 GTS ]
Windows Vista 64bit 250 SATA
OSX 10.6.4 (vanilla-EFI) 160GB SATA
Reply With Quote