InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 08-12-2009, 05:24 AM
Ianxxx Ianxxx is offline
Leopard
 
Join Date: Jan 2008
Posts: 645
[Sovled] 10.5.8 Broke sleep?

Anyone any ideas
ga-p35-ds3l

Last edited by Ianxxx; 09-04-2009 at 09:06 AM.
Reply With Quote
  #2  
Old 08-12-2009, 06:18 PM
maruchan maruchan is offline
Cheetah
 
Join Date: Mar 2009
Posts: 2
Yes, this is a universal problem. 10.5.8 broke everyone's sleep, as far as I know. Pista7 at Insanelymac posted this expanation today:

Quote:
Hi Guys,

The reason for the 10.5.8 sleep problems is, that there is a small piece of code added to the new kernel, that tries to shut down all CPUs (except the one running the go-to-sleep code of course when going to sleep. This is implemented by calling the registered PM extension (AppleIntelCPUPowerManagement under normal circumstances) and expects a KERN_SUCCESS return value.

However, when there is no PM extension registered (VoodooPower doesn't register itself as one, and probably for a good reason - the PM extension is quite tightly bound to kernel version, so there would have to be one VoodooPower.kext per kernel version), the fallback behavior is to return an error code, which in turn causes the kernel to panic (but you won't see the panic screen because your monitor is already turned off at that point, so it merely appears to hang while going to sleep).

Long story short, I'll try to write a kext that will fix this later today (2100 GMT+2 at the earliest and will post it here for you to test
In the meantime, there are a number of workarounds available. The simplest is to use DSDT Patcher to create a dsdt.aml with "Force HPET" checked, and then remove Disabler.kext, NullCPUPowerManagement.kext, or any other disablers from your system. Your CPU will run about 8 degrees hotter, but sleep will be fully functional.
Reply With Quote
  #3  
Old 08-13-2009, 08:21 PM
Ianxxx Ianxxx is offline
Leopard
 
Join Date: Jan 2008
Posts: 645
Thanks, I went for the simple option and installed sleepEnabler.kext, but thanks for the info. It's nice to know what's causing the problems.

I've included the kext in case anyone reads this and has the same problem.
Attached Files
File Type: zip SleepEnabler.kext.zip (9.3 KB, 535 views)
Reply With Quote
  #4  
Old 08-14-2009, 03:50 PM
tiomka tiomka is offline
Cheetah
 
Join Date: Aug 2009
Posts: 1
Thank you!

that solved my sleep problem on 10.5.8
Reply With Quote
  #5  
Old 08-14-2009, 10:40 PM
normalgewicht normalgewicht is offline
Cheetah
 
Join Date: Feb 2009
Posts: 1
Thks. The SleepEnabler solved my problem.



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.

Reply With Quote
Reply