Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
Sign in to follow this  
FredWst

Asus B202 PowerOff patch

1 post in this topic

Recommended Posts

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×