jsl Posted August 9, 2011 Share Posted August 9, 2011 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 https://www.insanelymac.com/forum/topic/265111-sleepwake-issue-in-lion-for-asus-p5q-pro/ Share on other sites More sharing options...
MaLd0n Posted August 9, 2011 Share Posted August 9, 2011 dsdt.jsl.zip send me kextstat run on terminal Link to comment https://www.insanelymac.com/forum/topic/265111-sleepwake-issue-in-lion-for-asus-p5q-pro/#findComment-1732272 Share on other sites More sharing options...
jsl Posted August 10, 2011 Author Share Posted August 10, 2011 dsdt.jsl.zipsend me kextstat run on terminal Thanks and these 2 are from working 10.6.6 and non-working Lion GM. send_me_10.6.6.zip send_me_Lion.zip Link to comment https://www.insanelymac.com/forum/topic/265111-sleepwake-issue-in-lion-for-asus-p5q-pro/#findComment-1732507 Share on other sites More sharing options...
MaLd0n Posted August 10, 2011 Share Posted August 10, 2011 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 https://www.insanelymac.com/forum/topic/265111-sleepwake-issue-in-lion-for-asus-p5q-pro/#findComment-1732513 Share on other sites More sharing options...
jsl Posted August 10, 2011 Author Share Posted August 10, 2011 dsdt.jsl.zipuse 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 https://www.insanelymac.com/forum/topic/265111-sleepwake-issue-in-lion-for-asus-p5q-pro/#findComment-1732577 Share on other sites More sharing options...
jsl Posted August 11, 2011 Author Share Posted August 11, 2011 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 https://www.insanelymac.com/forum/topic/265111-sleepwake-issue-in-lion-for-asus-p5q-pro/#findComment-1733084 Share on other sites More sharing options...
MaLd0n Posted August 11, 2011 Share Posted August 11, 2011 [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 https://www.insanelymac.com/forum/topic/265111-sleepwake-issue-in-lion-for-asus-p5q-pro/#findComment-1733087 Share on other sites More sharing options...
jsl Posted August 11, 2011 Author Share Posted August 11, 2011 send me your current DSDTremove 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 https://www.insanelymac.com/forum/topic/265111-sleepwake-issue-in-lion-for-asus-p5q-pro/#findComment-1733126 Share on other sites More sharing options...
MaLd0n Posted August 11, 2011 Share Posted August 11, 2011 1. My current DSDT.aml is attached in #post 12. 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 https://www.insanelymac.com/forum/topic/265111-sleepwake-issue-in-lion-for-asus-p5q-pro/#findComment-1733131 Share on other sites More sharing options...
jsl Posted August 16, 2011 Author Share Posted August 16, 2011 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 https://www.insanelymac.com/forum/topic/265111-sleepwake-issue-in-lion-for-asus-p5q-pro/#findComment-1735482 Share on other sites More sharing options...
MaLd0n Posted August 16, 2011 Share Posted August 16, 2011 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 https://www.insanelymac.com/forum/topic/265111-sleepwake-issue-in-lion-for-asus-p5q-pro/#findComment-1735584 Share on other sites More sharing options...
iTux Posted December 26, 2011 Share Posted December 26, 2011 Can you share latest DSDT for this mobo ? I can't start lion without DSDT, i use chameleon2 Link to comment https://www.insanelymac.com/forum/topic/265111-sleepwake-issue-in-lion-for-asus-p5q-pro/#findComment-1781270 Share on other sites More sharing options...
Recommended Posts