Sleep - General Troubleshooting Tips

Discussion in 'The Basics' started by tonymacx86, Apr 5, 2010.

  1. tonymacx86

    tonymacx86 Administrator Staff Member

    Joined:
    Nov 18, 2009
    Messages:
    8,425
    Mobo:
    GA-Z270X-UD5
    CPU:
    Core i3-7100
    Graphics:
    HD 630
    Mac:
    MacBook Pro, Mac mini
    Classic Mac:
    Apple, PowerBook
    Mobile Phone:
    iOS
    Apr 5, 2010 at 6:09 AM #1
    tonymacx86

    tonymacx86 Administrator Staff Member

    Joined:
    Nov 18, 2009
    Messages:
    8,425
    Mobo:
    GA-Z270X-UD5
    CPU:
    Core i3-7100
    Graphics:
    HD 630
    Mac:
    MacBook Pro, Mac mini
    Classic Mac:
    Apple, PowerBook
    Mobile Phone:
    iOS
    [​IMG]
    Sleep- some don't use it at all, while some are obsessed with how it functions on their hacks. Please add your sleep-related fixes and methods here!

    Sleep - General Troubleshooting Tips

    1. You must have the proper DSDT edits as per this post. All of the Gigabyte DSDTs in the DSDT Database are edited properly for sleep.
    http://tonymacx86.blogspot.com/2009/12/ ... n-p55.html

    2. To enable sleep, make sure to remove NullCPUPowerManagement.kext

    3. Make sure you check all of the checkboxes in System Preferences/Energy Saver as shown in the picture below.

    [​IMG]

    4. Make sure your DSDT is named DSDT.aml and is in your /Extra folder.

    5. On Lion, use the boot flag darkwake=0 in your org.chameleon.Boot.plist. By default if installing using MultiBeast.

    6. On Lion, to prevent CMOS reset after wake, then restart- use AppleRTC Patch from MultiBeast.

    Hope this helps! Go team! :mrgreen: :clap:

    NOTE: This thread should be all solutions and fixes- please no questions about sleep functionality- just make a new thread ;)
     
    Last edited by a moderator: Sep 27, 2016
  2. Lnx2Mac

    Lnx2Mac

    Joined:
    Mar 11, 2010
    Messages:
    2,328
    Mobo:
    Gigabyte GA-P55M-UD4
    CPU:
    i7-860
    Graphics:
    Gigabyte GV-N98TSL-1GI Silent Cell
    Mac:
    MacBook Pro
    Mobile Phone:
    iOS
    Apr 5, 2010 at 4:40 PM #2
    Lnx2Mac

    Lnx2Mac

    Joined:
    Mar 11, 2010
    Messages:
    2,328
    Mobo:
    Gigabyte GA-P55M-UD4
    CPU:
    i7-860
    Graphics:
    Gigabyte GV-N98TSL-1GI Silent Cell
    Mac:
    MacBook Pro
    Mobile Phone:
    iOS
    Symptom: Hack sleeps, but reboots instead of waking up...
    Make sure you checked all boxes, as tonymac86 mentioned above.

    OK, did that but...
    Symptom: Hack sleeps, and instead of waking up, HDD LED (and internal "Phase Leds") flash...
    Check in the "Advanced BIOS Settings" page that the "No-Execute Memory Protect" setting is Enabled, and the "Init Display First" is set to PCI.

    Update: This was caused by a wrongly extracted F8 DSDT back in April 2010.

    Note:
    Once the board is stuck, it may be tricky to get the board to POST again.
    One option is trying to reboot again and sometimes the BIOS detects it can't boot, and reset to defaults.
    Otherwise, you might need to put in the Clear CMOS jumper.

    It might be wise to start with the BIOS Optimized Defaults, and just change the "SATA Control Mode" to "AHCI" and "HPET Mode" to "64-bit"...
    Once you have Sleep working, you can get back to tweaking the BIOS.
     
  3. babaru

    babaru

    Joined:
    Apr 5, 2010
    Messages:
    6
    Apr 10, 2010 at 3:49 AM #3
    babaru

    babaru

    Joined:
    Apr 5, 2010
    Messages:
    6
    Hi Tony,

    I can't wake up my machine after make it sleep through the 'Sleep' menu. I'm using a USB wireless mouse and a USB keyboard(not wireless).

    Would you please help me to check my DSDT.aml if it's correct? My motherboard is GA-P55-USB3L. Thank you in advance!
     

    Attached Files:

  4. mikeetastic

    mikeetastic

    Joined:
    Mar 27, 2010
    Messages:
    30
    Mobo:
    PowerMac
    CPU:
    G5
    Graphics:
    Intel GMA
    Mac:
    MacBook Pro
    Classic Mac:
    iMac
    Mobile Phone:
    iOS
    Apr 10, 2010 at 7:47 AM #4
    mikeetastic

    mikeetastic

    Joined:
    Mar 27, 2010
    Messages:
    30
    Mobo:
    PowerMac
    CPU:
    G5
    Graphics:
    Intel GMA
    Mac:
    MacBook Pro
    Classic Mac:
    iMac
    Mobile Phone:
    iOS
    NOTE: This thread should be all solutions and fixes- please no questions about sleep functionality- just make a new thread
     
  5. babaru

    babaru

    Joined:
    Apr 5, 2010
    Messages:
    6
    Apr 30, 2010 at 9:56 AM #5
    babaru

    babaru

    Joined:
    Apr 5, 2010
    Messages:
    6
    Sorry, I've created another new thread for my questions.
     
  6. coelo

    coelo

    Joined:
    Jul 19, 2010
    Messages:
    365
    Mobo:
    GA-Z68-UD3H-B3
    CPU:
    Core i7 2600k
    Graphics:
    EVGA GTX670
    Mac:
    MacBook, Mac mini
    Mobile Phone:
    iOS
    Jul 23, 2010 at 1:07 AM #6
    coelo

    coelo

    Joined:
    Jul 19, 2010
    Messages:
    365
    Mobo:
    GA-Z68-UD3H-B3
    CPU:
    Core i7 2600k
    Graphics:
    EVGA GTX670
    Mac:
    MacBook, Mac mini
    Mobile Phone:
    iOS
    I noticed that changing the location, not the code but simply the location, of some code in the DSDL from the database (for the P55M-UD4) enabled sleep on my machine with 100% functionality.

    I sent the DSDL to macman and I think he is checking it out, although he didn't think the transposition I made should have any effect. I'm fairly sure it did though. I tested it twice.
     
  7. MacMan

    MacMan Administrator Staff Member

    Joined:
    Feb 2, 2010
    Messages:
    8,023
    Mac:
    MacBook Pro, Mac Pro
    Classic Mac:
    Power Mac, PowerBook
    Mobile Phone:
    iOS
    Jul 23, 2010 at 1:12 AM #7
    MacMan

    MacMan Administrator Staff Member

    Joined:
    Feb 2, 2010
    Messages:
    8,023
    Mac:
    MacBook Pro, Mac Pro
    Classic Mac:
    Power Mac, PowerBook
    Mobile Phone:
    iOS
    Based on Lnx2Mac's testing. I don't think the problem is the DSDT, I think it's the F10 BIOS. I would recommend going back to F9 until Gigabyte fixes it.
     
  8. coelo

    coelo

    Joined:
    Jul 19, 2010
    Messages:
    365
    Mobo:
    GA-Z68-UD3H-B3
    CPU:
    Core i7 2600k
    Graphics:
    EVGA GTX670
    Mac:
    MacBook, Mac mini
    Mobile Phone:
    iOS
    Jul 23, 2010 at 1:14 AM #8
    coelo

    coelo

    Joined:
    Jul 19, 2010
    Messages:
    365
    Mobo:
    GA-Z68-UD3H-B3
    CPU:
    Core i7 2600k
    Graphics:
    EVGA GTX670
    Mac:
    MacBook, Mac mini
    Mobile Phone:
    iOS
    Interesting!
    Do you know what exactly the problem is with the bios, what Gigabyte did?

    I'm inclined to sit tight where I am since everything is rolling 100% now. When it all gets figured out and the DSDL is confirmed working on F11 I'll move to that.
     
  9. Lnx2Mac

    Lnx2Mac

    Joined:
    Mar 11, 2010
    Messages:
    2,328
    Mobo:
    Gigabyte GA-P55M-UD4
    CPU:
    i7-860
    Graphics:
    Gigabyte GV-N98TSL-1GI Silent Cell
    Mac:
    MacBook Pro
    Mobile Phone:
    iOS
    Jul 23, 2010 at 1:16 AM #9
    Lnx2Mac

    Lnx2Mac

    Joined:
    Mar 11, 2010
    Messages:
    2,328
    Mobo:
    Gigabyte GA-P55M-UD4
    CPU:
    i7-860
    Graphics:
    Gigabyte GV-N98TSL-1GI Silent Cell
    Mac:
    MacBook Pro
    Mobile Phone:
    iOS
  10. coelo

    coelo

    Joined:
    Jul 19, 2010
    Messages:
    365
    Mobo:
    GA-Z68-UD3H-B3
    CPU:
    Core i7 2600k
    Graphics:
    EVGA GTX670
    Mac:
    MacBook, Mac mini
    Mobile Phone:
    iOS
    Jul 23, 2010 at 1:31 AM #10
    coelo

    coelo

    Joined:
    Jul 19, 2010
    Messages:
    365
    Mobo:
    GA-Z68-UD3H-B3
    CPU:
    Core i7 2600k
    Graphics:
    EVGA GTX670
    Mac:
    MacBook, Mac mini
    Mobile Phone:
    iOS
    Cool thnx!

    I didn't see that you had asked me a question in the other thread or I would have answered, but it looks like you guys figured it out already anyway. I thought that the code for the "Apple Method blah, blah" was the sleep code, so I moved it to the same spot as where I saw it in the TonyMacfixes.aml.

    After finding out it wasn't even the sleep code... I can't believe it worked, lol.
    AND, I didn't know that messing in the DSDL can fry your mboard. So, that is the last time I'm doing that.
     

Share This Page