1. Moderator
      
    Join Date
    May 2010
    Posts
    11,504
    System
    Z87I Deluxe
    CPU
    Core i7-4770K
    Graphics
    HD7750 + HD4600
    Online
    toleda is offline
    iPhone iMac MacBook Pro Mac Mini 512k LC PowerMac
    #1

    Beta Asus Sandy Bridge Sleep/Wake Fix


    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
    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))
                }
            }
    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
    Last edited by toleda; 08-07-2012 at 08:52 AM.

  2.   
    Join Date
    Mar 2011
    Posts
    59
    System
    ASUS P8Z68-V
    CPU
    Intel Core i72600K
    Graphics
    Gigabyte ATI Radeon HD5870
    Geekbench Score
    15743
    Online
    Bassguitarist is offline
    #2

    Re: Beta Asus Sandy Bridge Sleep/Wake Fix


    Hello Toleda!

    Thanks!

    I can confirm that this method works with Asus P8Z68-V motherboard with mod.3203 bios.
    I don't use USB 3.0,Bluetooth, so the sleep is working.
    The native speed stepping also works.
    Everything wake up with mouse click.
    Asus P8Z68-V Corei7 2600K 8GB 1866MHz ATI RadeonHD5670

  3. Join Date
    Jun 2010
    Posts
    24
    Online
    Greggen is offline
    #3

    Re: Beta Asus Sandy Bridge Sleep/Wake Fix


    Great... just when I gave up and sold my P8Z68-V LX and bought a GA-Z68XP-UD3 instead you guys manage to get sleep working, just typical, haha XD And the USB-problems on this board is bugging me.

    How are the P8Z68 boards with sleep and patched BIOS? Does USB wake/sleep/whatever work OOTB (or standard DSDT-edits, like the patches from olarila)? No initDevice errors in kernel.log? And no unmount problems? If thats so I have to go loose another $50 and get a new P8Z68 board ;D

    EDIT: Ok, I got my P8Z68-V LX back and gave the buyer the Z68XP instead and MAAAN I'm happy! Started by updating the BIOS to modified 3707 then went ahead to edit the dsdt. This patch didn't work at all (got a lot of errors) because my PTS weren't event similar with this. So I though, "heck lets try sleep anyway". IT WORKS! OOTB with modified 3707. Wake with powerbutton, USB, Wake Reason ain't ?, All USB-ports are alive. EVERYTHING WORKS! I don't even use a DSDT as of now. Going to try this and that out but I recommend anyone with a Asus Z68 board to try out the new BIOSes, seems like they are updated just for hacks! =D

  4. Join Date
    Jan 2011
    Posts
    2
    System
    OS X Mountain Liom
    CPU
    Intel G620 Core DUO 2,6GHz
    Graphics
    NVidia GT 220
    Online
    Troj80 is offline
    Android Phone
    #4

    Re: Beta Asus Sandy Bridge Sleep/Wake Fix


    Thanks! It's WORK for ASUS P8H67 B3! Good job!

  5. Join Date
    Jun 2011
    Posts
    404
    System
    Asus p8Z68-v pro
    CPU
    2600k
    Graphics
    GTX 570
    Online
    HoochShepherd is offline
    Android Phone
    #5

    Re: Beta Asus Sandy Bridge Sleep/Wake Fix


    tagging this to give it a shot soon-ish.
    My Build: Core i7-2600K @4.7 w/NH-D14 | ASUS P8Z68-V PRO | EVGA GTX 570 | Corsair 600T (black) | Triple Boot: OS X, Win7, Ubuntu

  6. Join Date
    Feb 2011
    Posts
    371
    System
    MizuMono
    CPU
    i7 2600K @ 4.8ghz
    Graphics
    560 Ti 448 Core (GF110)
    Geekbench Score
    17566
    Online
    philz is offline
    iPhone MacBook Air PowerBook
    #6

    Re: Beta Asus Sandy Bridge Sleep/Wake Fix


    Toleda, you mention this is for P8Z68 boards, would this not work on Maximus gene-Z/Gen 3 for example? After all it is still Z68 ASUS. Curious as I'll be doing a new build tomorrow and looking to finalize the main board Thanks in advance this is an amazing solution! (working on a M-ATX performance build)
    Old System> SkeletalMac MKII 10.7.3: Z77X-UD5H, i7 2600K, GTX 560 ti 448 Core (GF110)
    YodobashiMac MKII 10.7.3: Z68MA-D2H, i3 2100, Geforce 210, 6TB's of storage, PLEX+SABnzb+SickBeard
    Click for a guide to overclocking on Z68/Z77 boards with power management and a min SSDT editing guide!

  7. Join Date
    Apr 2012
    Posts
    8
    System
    Asus P8H61-M/LE CSM
    CPU
    Intel i5 2500K
    Graphics
    Gigabyte ATI Radeon 6870
    Online
    kuhnboy is offline
    iPhone
    #7

    Re: Beta Asus Sandy Bridge Sleep/Wake Fix


    So before this DSDT fix, upon choosing sleep from the apple menu, the system would seem to turn off, then turn back on again.

    With these fixes, it goes off, on, off, 3 beeps on, off, on.

    What should I start looking for?
    I have a patched BIOS.
    DSDT created by myself.
    10.7.3
    Everything else is OOTB except for the audio:
    AppleHDA rollback + HDAEnabler888b + ALC887vdHDA_6Ch_RMic_SPDIF

  8. Moderator
      
    Join Date
    May 2010
    Posts
    11,504
    System
    Z87I Deluxe
    CPU
    Core i7-4770K
    Graphics
    HD7750 + HD4600
    Online
    toleda is offline
    iPhone iMac MacBook Pro Mac Mini 512k LC PowerMac
    #8

    Re: Beta Asus Sandy Bridge Sleep/Wake Fix


    Quote Originally Posted by kuhnboy
    So before this DSDT fix, upon choosing sleep from the apple menu, the system would seem to turn off, then turn back on again.

    With these fixes, it goes off, on, off, 3 beeps on, off, on.
    By "turn off, then turn back on again" do you mean the power light turned off and then it reboot? Attach dsdt and a copy of IOReg.

  9. Moderator
      
    Join Date
    May 2010
    Posts
    11,504
    System
    Z87I Deluxe
    CPU
    Core i7-4770K
    Graphics
    HD7750 + HD4600
    Online
    toleda is offline
    iPhone iMac MacBook Pro Mac Mini 512k LC PowerMac
    #9

    Re: Beta Asus Sandy Bridge Sleep/Wake Fix


    Quote Originally Posted by philz
    you mention this is for P8Z68 boards, would this not work on Maximus gene-Z/Gen 3 for example?
    Perhaps yes. What happens when you put the Maximus Gene to sleep now?

  10. Join Date
    Feb 2011
    Posts
    371
    System
    MizuMono
    CPU
    i7 2600K @ 4.8ghz
    Graphics
    560 Ti 448 Core (GF110)
    Geekbench Score
    17566
    Online
    philz is offline
    iPhone MacBook Air PowerBook
    #10

    Re: Beta Asus Sandy Bridge Sleep/Wake Fix


    Quote Originally Posted by toleda
    Quote Originally Posted by philz
    you mention this is for P8Z68 boards, would this not work on Maximus gene-Z/Gen 3 for example?
    Perhaps yes. What happens when you put the Maximus Gene to sleep now?
    Don't have it yet, so it does not do much of anything

    I'm just building a new system and want a M-ATX board Though one that I can still get some OC headroom with so the P8Z68 M-ATX board does not look terribly appealing.

    I'll probably be getting it wendensday, though don't know when I'll get to put it together. I'll let you know though, I don't see how it'd be different being same brand/chipset.
    Old System> SkeletalMac MKII 10.7.3: Z77X-UD5H, i7 2600K, GTX 560 ti 448 Core (GF110)
    YodobashiMac MKII 10.7.3: Z68MA-D2H, i3 2100, Geforce 210, 6TB's of storage, PLEX+SABnzb+SickBeard
    Click for a guide to overclocking on Z68/Z77 boards with power management and a min SSDT editing guide!

  11. Similar Threads:

Page 1 of 11 123 ... Last