Jump to content

Sleep/Wake issue in Lion for Asus P5Q PRO


jsl
 Share

12 posts in this topic

Recommended Posts

Hi, MaLd0n (or any friends here):

Need your help for editing my DSDT.aml for Asus P5Q PRO.

In Snow Leopard 10.6.6 or 10.6.7 using this DSDT.aml I can properly sleep and wake up without any problem.

But after upgraded to Lion GM it can sleep properly, but unable to wake up by USB keyboard or mouse now.

Is it due to I have to use 3 old kexts (ATI5000Controller.kext, ATIFramebuffer.kext, and ATISupport.kext) from previous version of 1.6.26 in SL 10.6.6/10.6.7 ?

Or I can modify this attached DSDT.aml to solve it ?

dsdt.aml.zip

Link to comment
Share on other sites

dsdt.jsl.zip

use nativePM

remove EvOreboot, NullCPUPowerManagement, Disabler, SleepEnabler, ElliottForceLegacyRTC

add in boot.plist

<key>GeneratePStates</key>
<string>Yes</string>
<key>GenerateCStates</key>
<string>Yes</string>

 

Lion or Snow

use it

Link to comment
Share on other sites

dsdt.jsl.zip

use nativePM

remove EvOreboot, NullCPUPowerManagement, Disabler, SleepEnabler, ElliottForceLegacyRTC

add in boot.plist

<key>GeneratePStates</key>
<string>Yes</string>
<key>GenerateCStates</key>
<string>Yes</string>

 

Lion or Snow

use it

Thanks for your prompt reply and help.

In Lion GM following your instruction with this modified DSDT.aml I can sleep and wake up now.

But there are 3 side effects found after modification.

1.No more audio out from AppleHDA.kext 2.0.5 or previous HDMI audio

2.After wake up from sleep, if restart there is CMOS reset error (BIOS was reset to default values instead of my preference). But without sleep/wake, its restart function is normal.

3.There is temporary lose of network function about 3~5 mins after wake up.

The attached file is after modification in which loss of any audio output now.

Could you take a look and help again ?

send_me.zip

Link to comment
Share on other sites

Thanks for your prompt reply and help.

In Lion GM following your instruction with this modified DSDT.aml I can sleep and wake up now.

But there are 3 side effects found after modification.

1.No more audio out from AppleHDA.kext 2.0.5 or previous HDMI audio

2.After wake up from sleep, if restart there is CMOS reset error (BIOS was reset to default values instead of my preference). But without sleep/wake, its restart function is normal.

3.There is temporary lose of network function about 3~5 mins after wake up.

The attached file is after modification in which loss of any audio output now.

Could you take a look and help again ?

[solved by myself]

1. Using my previous DSDT.aml regain audio functions

2. Need ElliottForceLegacyRTC.kext in /S/L/E to prevent CMOS reset error after Sleep/Wake

3. After the above methods the temporary loss of networking function was reduced to less than 1 min now.

 

MaLd0n,

Thanks for advice in previous post (removing several kexts to make sleep/wake working)

Link to comment
Share on other sites

[solved by myself]

1. Using my previous DSDT.aml regain audio functions

2. Need ElliottForceLegacyRTC.kext in /S/L/E to prevent CMOS reset error after Sleep/Wake

3. After the above methods the temporary loss of networking function was reduced to less than 1 min now.

 

MaLd0n,

Thanks for advice in previous post (removing several kexts to make sleep/wake working)

send me your current DSDT

remove elliot

run on terminal

sudo perl -pi -e 's|\x8b\x45\xc8\x39\x45\xcc\x74\x0b|\x8b\x45\xc8\x39\x45\xcc\xeb\x0b|; s|\x8b\x45\xb4\x39\x45\xb8\x74\x08|\x8b\x45\xb4\x39\x45\xb8\xeb\x08|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC

after

sudo touch /System/Library/Extensions

 

http://www.insanelymac.com/forum/index.php...howtopic=253992

Link to comment
Share on other sites

send me your current DSDT

remove elliot

run on terminal

sudo perl -pi -e 's|\x8b\x45\xc8\x39\x45\xcc\x74\x0b|\x8b\x45\xc8\x39\x45\xcc\xeb\x0b|; s|\x8b\x45\xb4\x39\x45\xb8\x74\x08|\x8b\x45\xb4\x39\x45\xb8\xeb\x08|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC

after

sudo touch /System/Library/Extensions

 

http://www.insanelymac.com/forum/index.php...howtopic=253992

1. My current DSDT.aml is attached in #post 1

2. The only way for my Asus P6TSE and P5QPRO MBs in Lion GM to correct this CMOS reset error after Sleep/Wake is

(1). Install ElliottForceLegacyRTC.kext in /S/L/E

(2). Disable Legacy USB support in BIOS and use PS2 keyboard instead

 

So maybe someone can figure out how to modify USB settings in DSDT to solve it.

Link to comment
Share on other sites

1. My current DSDT.aml is attached in #post 1

2. The only way for my Asus P6TSE and P5QPRO MBs in Lion GM to correct this CMOS reset error after Sleep/Wake is

(1). Install ElliottForceLegacyRTC.kext in /S/L/E

(2). Disable Legacy USB support in BIOS and use PS2 keyboard instead

 

So maybe someone can figure out how to modify USB settings in DSDT to solve it.

your DSDT in incomplete(Shutdown, etc)

use it

http://www.insanelymac.com/forum/index.php...st&id=99760

and apply into HDEF device

Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x04)
                       {
                           "layout-id", 
                           Buffer (0x04)
                           {
                               0x78, 0x03, 0x00, 0x00
                           }, 
                           "PinConfigurations", 
                           Buffer (Zero) {}
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }

 

that method also works for Asus

but...

 

USB

try with USBLegacyOff=Yes

Link to comment
Share on other sites

your DSDT in incomplete(Shutdown, etc)

use it

http://www.insanelymac.com/forum/index.php...st&id=99760

and apply into HDEF device

Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x04)
                       {
                           "layout-id", 
                           Buffer (0x04)
                           {
                               0x78, 0x03, 0x00, 0x00
                           }, 
                           "PinConfigurations", 
                           Buffer (Zero) {}
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }

 

that method also works for Asus

but...

 

USB

try with USBLegacyOff=Yes

Thanks for your prompt reply and help.

Just want to clarify 2 points:

1. Do I need "Method (_PRW, 0, NotSerialized)" portion in "Device (HDEF)" ?

2. Regarding "Method (_DSM, 4, NotSerialized)" portion in "Device (HDEF)":

Which is correct for both Asus and Gigabyte MBs ?

Store (Package (0x04) or Store (Package (0x0A) ?

Link to comment
Share on other sites

1. Do I need "Method (_PRW, 0, NotSerialized)" portion in "Device (HDEF)" ?

Nope

 

2. Regarding "Method (_DSM, 4, NotSerialized)" portion in "Device (HDEF)":

Which is correct for both Asus and Gigabyte MBs ?

Store (Package (0x04) or Store (Package (0x0A) ?

use it

Store (Package ()

the compiler does the rest

 

depends on the kexts that you will use for audio

http://www.projectosx.com/forum/index.php?showtopic=465

Link to comment
Share on other sites

  • 4 months later...
 Share

×
×
  • Create New...