Jump to content

Asus B202 PowerOff patch


  • Please log in to reply
No replies to this topic

#1
FredWst

FredWst

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 308 posts
  • Gender:Male
  • Location:France
Hello,

Here's the B202 patch for proper shutdown with power led off.

Original from 1302 Bios.
Method (_PTS, 1, NotSerialized)
{
Store (Arg0, DBG8)
PTS (Arg0)
Store (Zero, Index (WAKP, Zero))
Store (Zero, Index (WAKP, One))
If (LAnd (LEqual (Arg0, 0x04), LEqual (OSFL (), 0x02)))
{
Sleep (0x0BB8)
}
Store (ASSB, WSSB)
Store (AOTB, WOTB)
Store (AAXB, WAXB)
Store (Arg0, ASSB)
Store (OSFL (), AOTB)
Store (Zero, AAXB)
}

Patch
Method (_PTS, 1, NotSerialized)
{
Store (Arg0, DBG8)
If (LEqual (Arg0, 0x05))
{

/* SPTS called by PTS */
/*

Method (SPTS, 1, NotSerialized)
{
Store (One, PS1S)
Store (One, PS1E)
}
Added sleep(0x100)
*/

Store (One, \_SB.PCI0.LPCB.PS1S)
Sleep (0x100)
Store (One, \_SB.PCI0.LPCB.PS1E)
}
Else
{
PTS (Arg0)
}
Store (Zero, Index (WAKP, Zero))
Store (Zero, Index (WAKP, One))
If (LAnd (LEqual (Arg0, 0x04), LEqual (OSFL (), 0x02)))
{
Sleep (0x0BB8)
}
Store (ASSB, WSSB)
Store (AOTB, WOTB)
Store (AAXB, WAXB)
Store (Arg0, ASSB)
Store (OSFL (), AOTB)
Store (Zero, AAXB)
}

Regards





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy