dimanche 21 février 2010

DSDT Patching First Step

First you will need DSDTse

You just have to add the following code after

DefinitionBlock ("./dsdt.aml", "DSDT", 1, "LENOVO", "TP-7J ", 0x00001080)
{


Method (DTGP, 5, NotSerialized) // DTGP FIX to enable further fix
{
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)
} // DTGP FIX END


Like this :



Now you can patch your DSDT !

Aucun commentaire:

Enregistrer un commentaire