Jump to content

Sleep with 10.5.1


nagal
 Share

27 posts in this topic

Recommended Posts

Much to my surprise, after trying a 10.5 install with efi and gpt last night then using Software Update to go to 10.5.1 Sleep is now working for me :wacko:

 

My only thing is, it will only wake if I press the power button on my case. Is this the normal way for Macs? I know when using hibernate in Windows, typing a key on the keyboard would wake up the system.

Link to comment
Share on other sites

Much to my surprise, after trying a 10.5 install with efi and gpt last night then using Software Update to go to 10.5.1 Sleep is now working for me :rolleyes:

 

My only thing is, it will only wake if I press the power button on my case. Is this the normal way for Macs? I know when using hibernate in Windows, typing a key on the keyboard would wake up the system.

 

Same thing with mine. Never had Mac before. Don't know how it suppose to works.

Link to comment
Share on other sites

Much to my surprise, after trying a 10.5 install with efi and gpt last night then using Software Update to go to 10.5.1 Sleep is now working for me :blink:

 

My only thing is, it will only wake if I press the power button on my case. Is this the normal way for Macs? I know when using hibernate in Windows, typing a key on the keyboard would wake up the system.

 

 

That is the only reason I would be interested in using EFI.

 

How are you booting up? ie, which method did you use?

Link to comment
Share on other sites

Well well well,

 

 

thanks for inspiration chaps, I can now use sleep mode on my lappy. Next, I will futz with my tower.

 

I didn't really realize how simple the EFI patch is to apply and I am using v_51

 

SO....

 

a couple of you mentioned [here and elsewhere] that you are using mode S3. My tower has those under power modes, but my laptop does not.

 

Anyways, its working, but I recall reading we can change the Macs sleep mode through terminal or with a widget. I am going to research this later, but the reason I ask is that it seems all that is sleeping is my HD and my screen...

 

all my USB stuff is powered and can wake the lappy, which is nice... but my CPU seems to be running full steam as my cpu fan is cycling on like it would under full power. That's majorly lame, really. I could already sleep my display as it was.

 

I was wondering if others are still having the CPU fan run, and it that is what S3 mode is all about? I am wondering if we could trigger hibernation mode if there is no low power sleep mode... I think we could... but then the REAL question is can we wake from it?

 

really, any mode that will put the CPU / fans down is fairly essential for sleep mode otherwise its only of limited gain, really. Even more so on my tower, as its a noisy beast.

 

Any ideas, comments?

 

edit: I have sleep in 10.5.0, and:

 

http://www.macworld.com/article/53471/2006/10/sleepmode.html

Link to comment
Share on other sites

fwiw, the 10.5.1 update never worked for me. I guess I should have backed up more kexts or tried an update script...

 

however, gaining "noisy sleep" and losing USB was not worth it, so I used Time Machine and am running pretty much the stock ToH with some added kexts.

 

Again, if anyone has "real, fanless sleep" let me know.

Link to comment
Share on other sites

*update*

 

 

Well, with a lot of time on my hands this holiday, I finally started at it again and this is what I did with BOTH of my machines - now on 10.5.1.

 

My Laptop is now running 10.5.1, EFIv5.1 and USB is working normally but I currently do not have any usable sleep. It seems the key is which AppleSMBIOS you are running [in combo with mach_kernel, etc]. Right now, I am also very happy with a perfectly running GMA950 that to palicats Natit for GMA950! No more mouse weirdness and Firefox is usable again! YAY!

 

I will play with this again after New Years.

 

HOWEVER...

 

my tower [see sig] now has true, low power sleep! THIS IS HUGE FOR ME! I use sleep mode very often.

 

METHOD: ToH 10.5.0, online 10.5.1 update -> run BrazilMac post patcher. Then I ran the v5.1 EFI and got perfect sleep with the ToH mach_sleep version of the mach_kernel! The key seems to be with this EFI + mach_kernel and with this version of the AppleSMBIOS.kext - however this same combo does not do the trick in my laptop.

 

I am going to retry the AppleSMBIOS combo that got sleep before on my lappy, and see if this works without borking the USB mounting. I suspect that the BrazilMac PPF may help with that issue.

Link to comment
Share on other sites

HUZZAH!!!

 

I now have working sleep in my laptop! After running the BrazilMac PPF to get booting after teh 10.5.1 update, I had to do several things.

 

Restore to mach_sleep ToH, and EFI v51 plus that AppleSMBIOS.kext. Along the way, I did a -f mach_kernel.vanilla, and I think that might have reset my NVRAM settings. The first sleep mode I got was running the mach_kernel.vanilla with the v_52 AppleSMBIOS.kext, but then the login window crashed.

 

The key was to clear all caches when reapplying the mach_sleep and v_52 AppleSMBIOS.kext, and make sure I "properly" chown'd and mod'd. I may have cheated on that before with the .kext....

 

Also, it seems using paulicats natit may have helped, though I am not sure.

 

All I know it that both my tower and Toshiba Satellite M115-S3094 now work like the real thing! {censored} AWESOME!

 

Major props to all those whose work I am enjoying! :( THANKS!

 

OH, and one major point, I updated my BIOS from the Toshiba site for the most current Vista compatible BIOS. That likely is also a huge, huge factor.

 

I highly recommend that everyone check that they have their most current, updated BIOS running. the same is true in my tower, it is the A3 BIOS on my Dell, iirc.

Link to comment
Share on other sites

I able to wake up using mouse and keyboard after enable mouse and keyboard wake up setting at Bios. But I can't sleep using power button? Any advise? Thank you.

 

 

On my setup, under 'Energy Saver' controls in 'System Preferences,' you need to select 'Advanced,' and then select Options. Under options should be a check box for 'Allow power button to sleep computer," which will either put you right to sleep, or bring up the dialog box.

 

Personally, I just select 'Sleep' from the Apple menu...

Link to comment
Share on other sites

On my setup, under 'Energy Saver' controls in 'System Preferences,' you need to select 'Advanced,' and then select Options. Under options should be a check box for 'Allow power button to sleep computer," which will either put you right to sleep, or bring up the dialog box.

 

Personally, I just select 'Sleep' from the Apple menu...

 

I have tried check/uncheck the option "Allow power button to sleep computer", but still don't works. Any other idea that could help? Thanks for the advise.

Link to comment
Share on other sites

quick question.. kinda off topic sorry but

in order to get a osx86 distro to sleep does S3 have to be enabled in the bios? acer watered down the phoenix bios on my laptop so i cant change the power settings at all

when i try to go to sleep it works but instanly wakes up.

Link to comment
Share on other sites

I have tried check/uncheck the option "Allow power button to sleep computer", but still don't works. Any other idea that could help? Thanks for the advise.

are you running EFI? If not, that's my advice. If you are, then it'll likely take some serious hacking/probing to figure out where to register your device to get your Hack to know it actually has a power button.

 

quick question.. kinda off topic sorry butin order to get a osx86 distro to sleep does S3 have to be enabled in the bios? acer watered down the phoenix bios on my laptop so i cant change the power settings at allwhen i try to go to sleep it works but instanly wakes up.

Not sure, really. Like above, you probably need to be running with an EFI patch.fwiw, from a MacWorld article:

Check the current setupAfter you launch Terminal, the first step is to determine which sleep mode your Mac is currently using (in case you wish to go back to it). You can both view and change the sleep mode using the Unix program pmset. To see your current settings, type pmset -g | grep hibernatemode. You should see something like this: $ pmset -g | grep hibernatemode hibernatemode 3 Great, so your machine is using mode 3, whatever that might be. Well, thanks to the documentation for the handy Deep Sleep Dashboard widget, which puts your machine immediately into hibernation mode (so you don’t have to yank all the power sources to invoke it), we can tell exactly which mode is which:# 0 - Old style sleep mode, with RAM powered on while sleeping, safe sleep disabled, and super-fast wake.# 1 - Hibernation mode, with RAM contents written to disk, system totally shut down while “sleeping,” and slower wake up, due to reading the contents of RAM off the hard drive.# 3 - The default mode on machines introduced since about fall 2005. RAM is powered on while sleeping, but RAM contents are also written to disk before sleeping. In the event of total power loss, the system enters hibernation mode automatically.# 5 - This is the same as mode 1, but it’s for those using secure virtual memory (in System Preferences -> Security).# 7 - This is the same as mode 3, but it’s for those using secure virtual memory.Once you see which mode you’re presently using, make a note of it. You could do this in one step, actually, with a command like this:sudo pmset -g | grep hibernatemode > ~/Desktop/current_mode.txtThat will take the output of the pmset command, strip out everything other than the hibernatemode value, and then dump the result into a file on your desktop named current_mode.txt. Save this file for future use.Note: I’m being overly cautious here on purpose. The reality is that, unless you’ve messed with this setting before, your Mac will either be in mode 0 (in which case, this tip doesn’t matter, as your Mac is using old-style sleep), or mode 3 or 7 (the default for machines shipped since last fall). Saving a text file to remember a 3 or a 7 is really overdoing things, but at least you won’t be able to say you don’t remember which mode your machine was in.Change the sleep mode settingTo change your sleep mode, you use pmset again, providing the variable and value you wish to assign. So to return to the old style sleep mode (which is mode 0 from the above list), enter this command:sudo pmset -a hibernatemode 0Press Return, and you’ll be asked for your password. Provide it, and your sleep mode has been changed. If you ever wish to go back to your previous setting, just repeat the above command, but replace 0 with the value from your current_mode.txt file.
experiment!
Link to comment
Share on other sites

are you running EFI? If not, that's my advice. If you are, then it'll likely take some serious hacking/probing to figure out where to register your device to get your Hack to know it actually has a power button.

Not sure, really. Like above, you probably need to be running with an EFI patch.fwiw, from a MacWorld article:experiment!

 

Yes, I'm running EFI. I installed using Kalyway 10.5.1.

I don't have this problem when using Brazilmac+EFI and Toh Sleep kernel.

Link to comment
Share on other sites

 Share

×
×
  • Create New...