InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   [Sovled] 10.5.8 Broke sleep? (http://infinitemac.com/showthread.php?t=3615)

Ianxxx 08-12-2009 05:24 AM

[Sovled] 10.5.8 Broke sleep?
 
Anyone any ideas
ga-p35-ds3l

maruchan 08-12-2009 06:18 PM

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 http://www.insanelymac.com/forum/sty...fault/wink.gif 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 http://www.insanelymac.com/forum/sty...fault/wink.gif and will post it here for you to test http://www.insanelymac.com/forum/sty...fault/wink.gif
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.

Ianxxx 08-13-2009 08:21 PM

1 Attachment(s)
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.

tiomka 08-14-2009 03:50 PM

Thank you!
 
that solved my sleep problem on 10.5.8

normalgewicht 08-14-2009 10:40 PM

Thks. The SleepEnabler solved my problem. :)