toleda
Moderator
- Joined
- May 19, 2010
- Messages
- 22,834
- Motherboard
- Asus Maximus VII Impact
- CPU
- i7-4770K
- Graphics
- RX 560 + HD4600
- Mac
- Classic Mac
- Mobile Phone
Experimental - Testers Needed
This fix may enable sleep and wake in Lion on Asus Sandy Bridge systems (P8H67 and P8H61). Installation requires dsdt editing and specific System Preferences and BIOS settings. The best time to try the edits is with a clean install. It is clear a number of third party kexts effect sleep. The clean install provides a base line. These dsdt edits enable sleep on my P8H67-I Deluxe with a clean install of 10.7.3 (and 10.7.2). It is unlikely this solution will solve all Asus P8H67 or P8H61 sleep problems, perhaps a few users will find this solution enables sleep on their systems.
Update - 8/7/12 - Working in Mountain Lion (OS X 10.8)
Benefits
1. Sleep - power button, Apple Menu, System Preferences/Energy Savings
2. Wake - power button, keyboard, mouse and other USB and/or Bluetooth Devices
Requirements
1. Asus P8H67, P8H61 and P8Z68 motherboard
2. Lion 10.7.3 or newer
3. Native Lion Power Management - Note 1
a. AppleIntelCPUPowerManagement.kext_v167.3.0
4. Extra/dsdt.aml - Note 2
Tools
1. DSDTSE v1.4.3 - http://www.osx86.es/?p=610
Sleep Preventing Kexts - Remove if installed - Note 3
1. S/L/E/PXHCD.kext - USB3.0 (prevents sleep)
2. S/L/E/P8P67SATAControllers.kext - Series 6 SATA (prevents sleep)
3. E/ath3k-firmware-uploader - Asus on board Bluetooth (prevents sleep)
Solution
1. BIOS setting
a. H67/H61 - Advanced/CPU Configuration/Execute Disable Bit/Enabled
b. P67/Z68 - Advanced/CPU Configuration/Internal PPL Overvoltage/Disabled
2. dsdt.aml edits
a. _PTS
b. PWRB
3. System Preferences/Energy Savings
a. Set Computer sleep
b. Set Display sleep
a. all boxes checked
Installation
1. Downloads/Beta_Asus_Sandy_Bridge_Sleep-Wake_Fix/Read_Me_First
Attachments
1. Beta_Asus_Sandy_Bridge_Sleep-Wake_Fix
View attachment Beta_Asus_Sandy_Bridge_Sleep-Wake_Fix.zip
Working Sleep
1. Display off
2. Processor sleeping/CPU fan off
3. Power light blinking
Troubleshooting
1. Sleep/Power light on - processor not sleeping
a. Verify/Asus_Sandy_Bridge_Sleep-Wake_Fix dsdt edits
b. Remove kexts noted above
c. Remove all third party kexts
d. Install MacOSXUpdCombo10.7.3
2. Wake/Power light on - no display
a. Verify/Asus_Sandy_Bridge_Sleep-Wake_Fix dsdt edits
b. Verify/BIOS/Advanced/CPU Configuration/Execute Disable Bit/Enabled
Notes
1. Works with or without working SpeedStep. Must have installed a or b below.
a. Patched BIOS: samisnake viewtopic.php?f=14&t=49340
b. MultiBeast/Drivers & Bootloaders/Miscellaneous/flAked SpeedStepper
c. Does not work with NullCPUPowerManagement
2. If you don't have a dsdt.aml, see viewtopic.php?f=14&t=35559&start=0&hilit=make+dsdt
a. If you don't have a dsdt.aml and don't want one; this will work in an extracted dsdt.aml with only these edits and no other changes.
3. Removing a kext may not reenable sleep. See Troubleshooting.
dsdt edits
History
Out of the box, my P8H67-I Deluxe automatically reboot when it tried to sleep. The biggest issue was going to sleep (dsdt/_PTS). By trying various Method (_PTS…) from the dsdts of users claiming working sleep, I found one that worked from TooSixy's Asus P8H67 Deluxe Install guide with my motherboard. Once going to sleep started working, the next issue was waking up. P67s have the Internal PPL Overvoltage BIOS setting which must be Disabled. For H67, there is a Execute Disable Bit setting which must be enabled. Once wake worked with USB, the last issue was the power button, the system would wake but no display. Again, TooSixy's guide came to the rescue. The PWRB from his dsdt worked on my system. In summary, these fixes are standard in another motherboard dsdt and may represent a sleep solution for at least some, if not most, Asus motherboards.
Credits:
TooSixy http://www.tonymacx86.com/viewtopic.php?f=168&t=37056
This fix may enable sleep and wake in Lion on Asus Sandy Bridge systems (P8H67 and P8H61). Installation requires dsdt editing and specific System Preferences and BIOS settings. The best time to try the edits is with a clean install. It is clear a number of third party kexts effect sleep. The clean install provides a base line. These dsdt edits enable sleep on my P8H67-I Deluxe with a clean install of 10.7.3 (and 10.7.2). It is unlikely this solution will solve all Asus P8H67 or P8H61 sleep problems, perhaps a few users will find this solution enables sleep on their systems.
Update - 8/7/12 - Working in Mountain Lion (OS X 10.8)
Benefits
1. Sleep - power button, Apple Menu, System Preferences/Energy Savings
2. Wake - power button, keyboard, mouse and other USB and/or Bluetooth Devices
Requirements
1. Asus P8H67, P8H61 and P8Z68 motherboard
2. Lion 10.7.3 or newer
3. Native Lion Power Management - Note 1
a. AppleIntelCPUPowerManagement.kext_v167.3.0
4. Extra/dsdt.aml - Note 2
Tools
1. DSDTSE v1.4.3 - http://www.osx86.es/?p=610
Sleep Preventing Kexts - Remove if installed - Note 3
1. S/L/E/PXHCD.kext - USB3.0 (prevents sleep)
2. S/L/E/P8P67SATAControllers.kext - Series 6 SATA (prevents sleep)
3. E/ath3k-firmware-uploader - Asus on board Bluetooth (prevents sleep)
Solution
1. BIOS setting
a. H67/H61 - Advanced/CPU Configuration/Execute Disable Bit/Enabled
b. P67/Z68 - Advanced/CPU Configuration/Internal PPL Overvoltage/Disabled
2. dsdt.aml edits
a. _PTS
b. PWRB
3. System Preferences/Energy Savings
a. Set Computer sleep
b. Set Display sleep
a. all boxes checked
Installation
1. Downloads/Beta_Asus_Sandy_Bridge_Sleep-Wake_Fix/Read_Me_First
Attachments
1. Beta_Asus_Sandy_Bridge_Sleep-Wake_Fix
View attachment Beta_Asus_Sandy_Bridge_Sleep-Wake_Fix.zip
Working Sleep
1. Display off
2. Processor sleeping/CPU fan off
3. Power light blinking
Troubleshooting
1. Sleep/Power light on - processor not sleeping
a. Verify/Asus_Sandy_Bridge_Sleep-Wake_Fix dsdt edits
b. Remove kexts noted above
c. Remove all third party kexts
d. Install MacOSXUpdCombo10.7.3
2. Wake/Power light on - no display
a. Verify/Asus_Sandy_Bridge_Sleep-Wake_Fix dsdt edits
b. Verify/BIOS/Advanced/CPU Configuration/Execute Disable Bit/Enabled
Notes
1. Works with or without working SpeedStep. Must have installed a or b below.
a. Patched BIOS: samisnake viewtopic.php?f=14&t=49340
b. MultiBeast/Drivers & Bootloaders/Miscellaneous/flAked SpeedStepper
c. Does not work with NullCPUPowerManagement
2. If you don't have a dsdt.aml, see viewtopic.php?f=14&t=35559&start=0&hilit=make+dsdt
a. If you don't have a dsdt.aml and don't want one; this will work in an extracted dsdt.aml with only these edits and no other changes.
3. Removing a kext may not reenable sleep. See Troubleshooting.
dsdt edits
Code:
a. _PTS
Method (_PTS, 1, NotSerialized)
{
Store (Arg0, DBG8)
If (LAnd (LEqual (Arg0, 0x04), LEqual (OSFL (), 0x02)))
{
Sleep (0x0BB8)
}
PTS (Arg0)
Store (Zero, Index (WAKP, Zero))
Store (Zero, Index (WAKP, One))
Store (ASSB, WSSB)
Store (AOTB, WOTB)
Store (AAXB, WAXB)
Store (Arg0, ASSB)
Store (OSFL (), AOTB)
Store (Zero, AAXB)
Store (One, \_SB.SLPS)
}
b. PWRB
Device (PWRB)
{
Name (_CID, EisaId ("PNP0C0C"))
Name (_UID, 0xAA)
Name (_STA, 0x0B)
Method (_PRW, 0, NotSerialized)
{
Return (GPRW (0x08, 0x04))
}
}
Out of the box, my P8H67-I Deluxe automatically reboot when it tried to sleep. The biggest issue was going to sleep (dsdt/_PTS). By trying various Method (_PTS…) from the dsdts of users claiming working sleep, I found one that worked from TooSixy's Asus P8H67 Deluxe Install guide with my motherboard. Once going to sleep started working, the next issue was waking up. P67s have the Internal PPL Overvoltage BIOS setting which must be Disabled. For H67, there is a Execute Disable Bit setting which must be enabled. Once wake worked with USB, the last issue was the power button, the system would wake but no display. Again, TooSixy's guide came to the rescue. The PWRB from his dsdt worked on my system. In summary, these fixes are standard in another motherboard dsdt and may represent a sleep solution for at least some, if not most, Asus motherboards.
Credits:
TooSixy http://www.tonymacx86.com/viewtopic.php?f=168&t=37056