Jump to content

Clover: Yosemite Sleep/Hibernate – GA-Z87X-UD5


20 posts in this topic

Recommended Posts

Hello Everyone,

 

 

So after weeks of testing and tweaking, it seems that this is the only noticeable issue I have with my Hackintosh.

 

Basically, what happens is that the computer will go to sleep after 1.5 hours as per the setting in “System Preferences.” It will sleep, and wake normally within a certain amount of time as well.

 

The problem is that after a certain amount of hours not being woken up, the computer will restart itself. I will wake up in the morning and find it sitting at the Clover boot screen.

In an attempt to fix this, I have turned off “Wake for Network” and “Restart on Power Failure”. I have also turned off some settings in OS X such as “Wake for Network” and “Nap”.

 

I have also attempted to set the Hibernate to setting “0” but this has had no affect.

At this point it is probably an issue with the settings, but I don’t have enough understanding to know what setting to change, or where. If someone could help me look at this, I would really appreciate it.

 

….

 

 

SPECS:

 

 

GA-Z87X-UD5 TH

 

NVIDIA GeForce GTX 780 3072 MB (SC)

 

Corsair Vengeance LP - 16 GB 1600 DDR3 RAM

 

3.5 GHz Intel Core i7 (OC to 4.3 GHz)

 

Rosewill PCI WiFi card

 

Samsung Evo 840 500GB SSD (OS X)

 

SanDisk 120 GB (Windows 8.1)

 

SanDisk 120 GB (Storage)

 

Seagate Barracuda 3 TB HDD

 

 

….

 

 

FILES:

 

Here are my Config.plist, DSDT.aml, and SSDT.aml files.

 

http://jeffwalker.ca/hackintosh/CLM-Hackintosh.zip

Link to comment
Share on other sites

Thanks, Slayer.

I have read similar things. Unfortunately, it still isn't working. 

On that link you sent, steps 1 - 8 work as described. When I attempt to start in Hibernate mode, the screen goes blank and nothing happens. I can cancel hibernate mode and boot normally, but that is all.

As for the rest of the article, I simply don't have enough experience with Clover/Hibernate/Etc to fix the issue. All I want the PC to do is act like it did with my previous version of Mavericks where the computer would sleep, and wake up when I press a button. Now, rebooting into Clover is quite annoying as it will just sit there with the screen on, blasting the fans, and sucking up power for hours.

 

Link to comment
Share on other sites

Thanks, Slayer.

 

I have read similar things. Unfortunately, it still isn't working. 

 

On that link you sent, steps 1 - 8 work as described. When I attempt to start in Hibernate mode, the screen goes blank and nothing happens. I can cancel hibernate mode and boot normally, but that is all.

 

As for the rest of the article, I simply don't have enough experience with Clover/Hibernate/Etc to fix the issue. All I want the PC to do is act like it did with my previous version of Mavericks where the computer would sleep, and wake up when I press a button. Now, rebooting into Clover is quite annoying as it will just sit there with the screen on, blasting the fans, and sucking up power for hours.

 

 

Just to make sure i understand, what you want to get is only sleep or you want to get hibernate as well (which requires a lot more experimentation with slide values and Clover efi drivers) ?

If it is only for sleeo you may try with sudo pmset -a hibernatemode 0 or 3.  For me 0 works well as i don't need hibernate, in fact its useless for me.

  • Like 1
Link to comment
Share on other sites

Just to make sure i understand, what you want to get is only sleep or you want to get hibernate as well (which requires a lot more experimentation with slide values and Clover efi drivers) ?

If it is only for sleeo you may try with sudo pmset -a hibernatemode 0 or 3.  For me 0 works well as i don't need hibernate, in fact its useless for me.

 

I don't really care if it hibernates. I just want the PC to "sleep" so it's not sucking power all night.

 

I think I already set the hibernate mode to 0, perhaps I should try 3. 

Link to comment
Share on other sites

I don't really care if it hibernates. I just want the PC to "sleep" so it's not sucking power all night.

 

I think I already set the hibernate mode to 0, perhaps I should try 3. 

Yeah give it a shot with mode 3.  Also what do you have in your drivers64UEFI ? Many od the drivers have a significant impact on Sleep, i am using the followings:

-EmuleVariables64 - This one is only usefull if you have problems in storing the NVRAM variables with your Bios.

-FSinject-64

-HSFPlus

-OsxAptioFixDrv-64

-OsxFatBinaryDrv-64

Link to comment
Share on other sites

I'm setting it to mode 3. I'll see what it looks like in the morning.

 

I have the same things in my drivers64UEFI as you, except I have "PartitionDxe-64" as well. 

 

The only thing I can think of is that my SSDT.aml isn't setup right with my config for Pstates or something. Unfortunately, while I did the best to set it up based on my system, I'm not sure it is all correct.

 

 

I appreciate the help though, honestly. 
 

Link to comment
Share on other sites

Last night I cleared the logs, and set hibernate mode to 3 (it was 0). The result was that my PC was off this morning, and would not wake up via the mouse or keyboard.

 
When I turned on the power, the Clover boot screen said that OS X was Hibernated, but I cancelled hibernation, and booted normally.
 
There were no errors in the log files.
Link to comment
Share on other sites

It seems that nothing I do is helping, and I simply don't have enough information to go any further. 

 

My only solution is to see if I can't extend the sleep, so I might avoid the hibernation.

 

So, is there any way I can extend the time that the computer takes until it decides to hibernate? For example, it will sleep perfectly for X amount of hours, during which time I can wake it up normally. Can I set OS X to not hibernate until say, 15 hours have past? That would give me enough time to sleep during the night, and still catch it before it goes into hibernate mode. If I don't get to it within 15 hours, then I'll just boot normally and deal with having to start over where I left off.

Link to comment
Share on other sites

It seems that nothing I do is helping, and I simply don't have enough information to go any further. 

 

My only solution is to see if I can't extend the sleep, so I might avoid the hibernation.

 

So, is there any way I can extend the time that the computer takes until it decides to hibernate? For example, it will sleep perfectly for X amount of hours, during which time I can wake it up normally. Can I set OS X to not hibernate until say, 15 hours have past? That would give me enough time to sleep during the night, and still catch it before it goes into hibernate mode. If I don't get to it within 15 hours, then I'll just boot normally and deal with having to start over where I left off.

Try this: It should sleep with no wake by mouse or keyboard only Short press the power button.

config.plist.zip

Link to comment
Share on other sites

Simple mod:

 

Added: <key>AdClockId</key>

             <string>true</string>

 

To: Devices/Usb

 

Hope it works....

 

Ps also make sure no wake by Lan in "energy saver" or in Bios is set...

Isn't fixing USB clock ID supposed to let you wake up with a mouse or keyboard ?

 

crazylegsmurphy: Did you generate your SSDTs using the script from Pike ?

Also, did you try other SMBioses ?

Link to comment
Share on other sites

I have exactly the same system and the same Wake problem, after many different change i discovered that this problem, in my case, is related to the Hibernation status because after the standbydelay (see pmset) no way to wake up my system, i solved it setting:

 

 

sudo pmset -a standby 0

 

 

sudo pmset -a standbydelay 8640000

 

(standby delay is arbitrary and i set very high value just to avoid any problem)

 

FYI

 

pmset -g live

 

Active Profiles:

AC Power -1*

Currently in use:

 standby              0

 Sleep On Power Button 1

 womp                 1

 autorestart          0

 hibernatefile        /var/vm/sleepimage

 darkwakes            1

 networkoversleep     0

 disksleep            10

 sleep                1

 autopoweroffdelay    14400

 hibernatemode        0

 autopoweroff         1

 ttyskeepawake        1

 displaysleep         10

 standbydelay         8640000

 

Best

 

Francesco

 

 

 

Link to comment
Share on other sites

I have exactly the same system and the same Wake problem, after many different change i discovered that this problem, in my case, is related to the Hibernation status because after the standbydelay (see pmset) no way to wake up my system, i solved it setting:

 

 

sudo pmset -a standby 0

 

 

sudo pmset -a standbydelay 8640000

 

(standby delay is arbitrary and i set very high value just to avoid any problem)

 

FYI

 

pmset -g live

 

Active Profiles:

AC Power -1*

Currently in use:

 standby              0

 Sleep On Power Button 1

 womp                 1

 autorestart          0

 hibernatefile        /var/vm/sleepimage

 darkwakes            1

 networkoversleep     0

 disksleep            10

 sleep                1

 autopoweroffdelay    14400

 hibernatemode        0

 autopoweroff         1

 ttyskeepawake        1

 displaysleep         10

 standbydelay         8640000

 

Best

 

Francesco

 

Whoa! Nice!

 

Ok, I've set the settings, I'll report back in the morning and see what happens. Thank you.

 

 

Isn't fixing USB clock ID supposed to let you wake up with a mouse or keyboard ?

 

crazylegsmurphy: Did you generate your SSDTs using the script from Pike ?

Also, did you try other SMBioses ?

 

I generated my SSDT using a script, yes. I think it was from Pike. 

 

I haven't tried any other SMBioses....unless you mean like the System Definitions, in which case I tried a bunch. The one I have currently is the most stable.

Link to comment
Share on other sites

Francesco!

 

I'm going to leave it a bit longer, just to be sure. However, last night my PC went to sleep about 1:30am, and when I woke up today at 8:15am, my PC was quietly sleeping. I pressed the mouse button and *yawn* it woke up and was ready to go!

That is exactly what I needed it to do. If it continues to work, then that is exactly what I needed it to do, and I thank you so much!

 

I think this is about the final issue with my Mackintosh, so I'm very grateful. 


Please keep my name handy on here. Since we have basically the same system, it might be nice to be able to bounce issues off each other. If there is anything I can help with, I would be more than glad to help trouble shoot it with/for you.

Thanks again.

Jeff

  • Like 1
Link to comment
Share on other sites

Jeff

 

Very well, i tried in may different ways without any results, i am quite sure that this solution is only a workaround because on Yosemite we have something wrong in sleep/wake processes, i am using a pretty vanilla OSX with only Toleda ALC898 AppleHDA.kext to make the audio working.

 

I am using Clover boot loader with SSDT to make HDMI audio working, in my case no DSDT.

 

My system work very well including CPU speedstep, iMessage and Airplay, to avoid any problem i preferred to use original apple AC WIFI card.

 

 

Best

 

Francesco

Link to comment
Share on other sites

  • 2 months later...

I have exactly the same system and the same Wake problem, after many different change i discovered that this problem, in my case, is related to the Hibernation status because after the standbydelay (see pmset) no way to wake up my system, i solved it setting:

 

 

sudo pmset -a standby 0

 

 

sudo pmset -a standbydelay 8640000

 

(standby delay is arbitrary and i set very high value just to avoid any problem)

 

FYI

 

pmset -g live

 

Active Profiles:

AC Power -1*

Currently in use:

 standby              0

 Sleep On Power Button 1

 womp                 1

 autorestart          0

 hibernatefile        /var/vm/sleepimage

 darkwakes            1

 networkoversleep     0

 disksleep            10

 sleep                1

 autopoweroffdelay    14400

 hibernatemode        0

 autopoweroff         1

 ttyskeepawake        1

 displaysleep         10

 standbydelay         8640000

 

Best

 

Francesco

Thank's ! Solved

i had the same problem

Link to comment
Share on other sites

  • 3 months later...

I just upgraded from 10.8 to 10.10.3 and noticed this issue.  When I followed the instructions provided by uniblack, the standby value never showed up.  Is 10.10.3 different or it because I have NullCPUPowerManagment.kext installed?  Would "sudo pmset -a hibernatemode 0" do the trick?

 

My pmset output after doing "pmset -a standby 0":

 

$ pmset -g live

Active Profiles:

AC Power -1*

Currently in use:

 hibernatemode        3

 womp                 1

 networkoversleep     0

 sleep                0

 Sleep On Power Button 1

 ttyskeepawake        1

 hibernatefile        /var/vm/sleepimage

 disksleep            10

 displaysleep         0

  • Like 1
Link to comment
Share on other sites

  • 2 months later...

I just upgraded from 10.8 to 10.10.3 and noticed this issue.  When I followed the instructions provided by uniblack, the standby value never showed up.  Is 10.10.3 different or it because I have NullCPUPowerManagment.kext installed?  Would "sudo pmset -a hibernatemode 0" do the trick?

 

My pmset output after doing "pmset -a standby 0":

 

$ pmset -g live

Active Profiles:

AC Power -1*

Currently in use:

 hibernatemode        3

 womp                 1

 networkoversleep     0

 sleep                0

 Sleep On Power Button 1

 ttyskeepawake        1

 hibernatefile        /var/vm/sleepimage

 disksleep            10

 displaysleep         0

This happens to me to. Using clover 3241.

Link to comment
Share on other sites

 Share

×
×
  • Create New...