Jump to content
7 posts in this topic

Recommended Posts

I found this so I would like to know if this is possible on OSx86

 

http://www.macosxhints.com/article.php?sto...58161&lsrc=osxh

 

1. Open Terminal, and type the following, pressing return after each line:

 

sudo nvram nvramrc='" /" select-dev

" msh" encode-string " has-safe-sleep" property

unselect

'

2. Now type sudo nvram "use-nvramrc?"=true and press Return. You must now restart the Mac for the settings to take effect.

 

3. After the restart, go back to the Terminal, and enable hibernation:

sudo pmset -a hibernatemode 3

If you use secure virtual memory, see the original instructions for different settings. This command should create a file named sleepimage in /var/vm.

 

4. Verify that everything worked -- put the Mac to sleep as you usually do, wait a few seconds, then wake it up. Use Console to view the System log, and make sure you see an entry that contains System SafeSleep.

 

5. Test Safe Sleep -- sleep the machine, wait a bit, then disconnect all power sources. Plug in the power sources again, and watch the new "wake from gray" sequence.

 

 

Unfortunately for us nvram doesn't exist on intel so my question is if there's another way to enable this?

Link to comment
https://www.insanelymac.com/forum/topic/5134-safe-sleep-hybernate-on-x86/
Share on other sites

  • 1 month later...
  • 1 month later...
http://matt.ucc.asn.au/apple/machibernate.html goes into detail about why this should work. Hibernate is mostly a software feature, and it can be enabled with an openfirmware command. The nvram call in the previous post sets this openfirmware command, but it seems intel macs can't use nvram. Is there another way to get into openfirmware and mess with stuff? If so, we can hopefully enable hibernation and have a working alternative to suspend.

FYI, some guy also created a control panel applet for Safe Sleeping in PPC OS X. Useful for future reference: http://david.djsiska.cz/index.php?postid=35

 

BTW, in case you didn't know before, all MacBook Pros have safe sleep mode enabled by default. It is activated in certain situations.

  • 2 months later...

 

I've tryied them on a hackintoch and doesn't works, if I change

sudo pmset -a hibernatemode X

with other times, for example 1 it now works like if I were suspended the computer, if I use 2 it works like a shut down. Has anyone got this working on a non mac hardware?

×
×
  • Create New...