View Single Post
 
Old 10-06-2009, 01:01 PM
oldnapalm oldnapalm is offline
Cheetah
 
Join Date: Sep 2009
Posts: 3
Quote:
Originally Posted by Oblique View Post
/Users/oblique/Desktop/dsdt try/dsdt.dsl 3662: DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error 4063 - Object does not exist ^ (DTGP)
Hi.
You have to add method DTGP (in any location, preferably right after the Headers)

Code:
DefinitionBlock ("./dsdt.aml", "DSDT", 1, "A0905", "A0905002", 0x00000002)
{
    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)
    }
    .
    .
    .
}
Reply With Quote