View Single Post
 
Old 02-10-2010, 09:51 AM
kjun5huo kjun5huo is offline
Puma
 
Join Date: Jul 2009
Posts: 16
Try this

My friend gave me a hint about DSDT patch for sleep.
I try it. It works perfect. Now I have only two kexts (fakesmc.kext & AD1988bFix.kext) in E/E.
Restart, Sleep/Wake, Shutdown, Restart after sleep/wake all is good.
This is the hack for sleep.
At the end of the _WAK method, this must be added:
code:
Quote:
Return (Package (0x02)
{
Zero,
Zero
})
ExampleMy DSDT for P5K-E wifi)

code:
Quote:
Method (_WAK, 1, NotSerialized)
{
ShiftLeft (Arg0, 0x04, DBG8)
WAK (Arg0)
If (IOWK) {}
Else
{
Notify (\_SB.PWRB, 0x02)
}

If (ASSB)
{
Store (WSSB, ASSB)
Store (WOTB, AOTB)
Store (WAXB, AAXB)
}

If (DerefOf (Index (WAKP, Zero)))
{
Store (Zero, Index (WAKP, One))
}
Else
{
Store (Arg0, Index (WAKP, One))
}

Return (WAKP)
}

Return (Package (0x02)
{
Zero,
Zero
})


Good luck !!

Last edited by kjun5huo; 02-12-2010 at 05:12 PM.
Reply With Quote