pista7 Posted August 14, 2009 Share Posted August 14, 2009 @pista7What do you think about this message? It's normal for this message to appear when you use Disabler or a similar kext to suppress AppleIntelCPUPowerManagement. It has no direct relation to SleepEnabler. Which brings me to a fact, that many people here seem to attribute various positive and/or negative effects to SleepEnabler.kext. However, the kext really does nothing that could have such effects (for those who can read source code, just look at it and you'll see) - it simply provides 'fake' or 'empty' implementation for callbacks normally implemented by AppleIntelCPUPowerManagement - which is why the two can't live together, but they also never need to - if you have AICPM running, you definitely don't need SleepEnabler.kext and vice versa. Or, put differently - 10.5.8 kernel + SleepEnabler = roughly 10.5.7 kernel All other effects on hibernation/safe sleep/wakeup/wireless/display/Idon'tknowwhatelse can be only attributed to other changes in 10.5.8, or for example the fact that many people modified their DSDTs to be able to run AICPM before SleepEnabler has been written, or pretty much anything else in the universe except SleepEnabler.kext Link to comment Share on other sites More sharing options...
ApexDE Posted August 14, 2009 Share Posted August 14, 2009 @ pista7 Do i just need to recompile your Sleepenabler for a new Kernel, or do i need to make other adjustments if i want to use it on a new Kernel? Link to comment Share on other sites More sharing options...
sk1nhead Posted August 14, 2009 Share Posted August 14, 2009 perfectly working here, also no airport issues. thanks a lot Pista7. BTW same goes for snow leo (GM?) if PM is deleted my hack cant sleep, hopefully you can also have a look into that Link to comment Share on other sites More sharing options...
ApexDE Posted August 14, 2009 Share Posted August 14, 2009 That's why i asked if one can recompile for a new kernel Link to comment Share on other sites More sharing options...
joelw135 Posted August 14, 2009 Share Posted August 14, 2009 How do I fix the battery icon only working when plugged into wall. It says "not charging" when on battery. I am using VoodoBattery.kext. I have removed AppleACPIBattery.kext from the extensions folder. Link to comment Share on other sites More sharing options...
d00d Posted August 14, 2009 Share Posted August 14, 2009 Which brings me to a fact, that many people here seem to attribute various positive and/or negative effects to SleepEnabler.kext. However, the kext really does nothing that could have such effects (for those who can read source code, just look at it and you'll see) - it simply provides 'fake' or 'empty' implementation for callbacks normally implemented by AppleIntelCPUPowerManagement - which is why the two can't live together, but they also never need to - if you have AICPM running, you definitely don't need SleepEnabler.kext and vice versa.I'm using a Gigabye GA-EX58-UD5 MB (Intel Nehalem architecture) and if I set ACPI suspend type to S1 (power on suspend) in BIOS SleepEnabler.kext doesn't work; screen goes black, but fans are still on, keyboard press brings screen back.This is expected, and it works that way without your kext. However, when I set ACPI suspend type to S3 (suspend to RAM) in BIOS SleepEnabler.kext works somewhat; screen goes black, fans stop, keyboard press wakes the system but doesn't bring the screen back, and so I need to reboot the machine. I'm using Disabler.kext only to disable AppleIntelCPUPowerManagement.kext. Is anyone with an Intel Nehalem architecture MB and SleepEnabler.kext able to recover from sleep? Link to comment Share on other sites More sharing options...
pista7 Posted August 14, 2009 Share Posted August 14, 2009 I'm using a Gigabye GA-EX58-UD5 MB (Intel Nehalem architecture) and if I set ACPI suspend type to S1 (power on suspend) in BIOS SleepEnabler.kext doesn't work; screen goes black, but fans are still on, keyboard press brings screen back.This is expected, and it works that way without your kext. However, when I set ACPI suspend type to S3 (suspend to RAM) in BIOS SleepEnabler.kext works somewhat; screen goes black, fans stop, keyboard press wakes the system but doesn't bring the screen back, and so I need to reboot the machine. I'm using Disabler.kext only to disable AppleIntelCPUPowerManagement.kext. Is anyone with an Intel Nehalem architecture MB and SleepEnabler.kext able to recover from sleep? S1 - it works as advertised power on suspend S3 - the part affected by SleepEnabler.kext is the proper go-to-sleep (i.e. without hang or reboot) - if you get as far as waking the system up again after sleep (even if only the fans start spinning), it has done it's job. There are tens or even hundreds hardware and configuration-specific issues that may prevent your system from waking properly, and I'm no expert on these, having built only a handful (and quite similar) systems. However, I'd suspect a bugged DSDT, or a problematic (not necessarily unfixable) GFX/Sound/LAN card to be the problem here. Link to comment Share on other sites More sharing options...
passw Posted August 14, 2009 Share Posted August 14, 2009 PISTA7... Seems that its the same prob with power off and restart... Possible to "fix" that as well like Sleep kext??? Regards passw "Your Sleep kext solved my sleep problem".. Link to comment Share on other sites More sharing options...
pista7 Posted August 14, 2009 Share Posted August 14, 2009 @ pista7 Do i just need to recompile your Sleepenabler for a new Kernel, or do i need to make other adjustments if i want to use it on a new Kernel? Technically, there are only two modifications required: - create a configuration/modify existing one to define KERNEL_VERSION as 10.0.0 - create a new folder Headers_10.0.0 (like the existing Headers_9.7.0 and Headers_9.8.0), and copy there the files pmCPU.h and cpu_topology.h from the 10.0.0 kernel However, the latter is a bit of a problem, since the SL kernel isn't outsourced yet - you'd have to use an available version, and guess: a) the PM_DISPATCH_VERSION constant (instant panic on mismatch) - probably best to start from 16 a move upwards (better stop around one thousand if it doesn't work )) the layout of the two structures (pmDispatch and pmCallbacks) - the best case would be if any fields were only appended to these and no fields were removed - in this case, it should be safe to simply add a random number of padding bytes at the end of both, and it should work I'll definitely look into it once I get SL up and running (it somehow insists on KP-ing all the time on boot, first on fsck_hfs, and when I suppressed it, it crashes on 'ReportCrash'... funny, isn't it? if you have any suggestions, throw them at me!) Link to comment Share on other sites More sharing options...
Onixs Posted August 15, 2009 Share Posted August 15, 2009 No need to use VoodooUSBEHCI.kext ? Link to comment Share on other sites More sharing options...
dparada78 Posted August 15, 2009 Share Posted August 15, 2009 i installed sleepenabler.kext and sleep worked for me again on my ud3p 10.5.8. heres a kextstat if that helps any i have no idea about nothing but it sleeps and it wakes up with a mouse click. kextstat.rtf Link to comment Share on other sites More sharing options...
Slice Posted August 15, 2009 Share Posted August 15, 2009 There are tens or even hundreds hardware and configuration-specific issues that may prevent your system from waking properly, and I'm no expert on these, having built only a handful (and quite similar) systems. However, I'd suspect a bugged DSDT, or a problematic (not necessarily unfixable) GFX/Sound/LAN card to be the problem here. +1 Link to comment Share on other sites More sharing options...
MasterLen Posted August 15, 2009 Share Posted August 15, 2009 I'm using a Gigabye GA-EX58-UD5 MB (Intel Nehalem architecture) and if I set ACPI suspend type to S1 (power on suspend) in BIOS SleepEnabler.kext doesn't work; screen goes black, but fans are still on, keyboard press brings screen back.This is expected, and it works that way without your kext. However, when I set ACPI suspend type to S3 (suspend to RAM) in BIOS SleepEnabler.kext works somewhat; screen goes black, fans stop, keyboard press wakes the system but doesn't bring the screen back, and so I need to reboot the machine. I'm using Disabler.kext only to disable AppleIntelCPUPowerManagement.kext. Is anyone with an Intel Nehalem architecture MB and SleepEnabler.kext able to recover from sleep? I am using a Ud5 too and don't have any issues with with sleep. The SleepEnabler.kext works for me. I set ACPI to S3! Link to comment Share on other sites More sharing options...
knew know Posted August 15, 2009 Share Posted August 15, 2009 Using SleepEnabler.kext with Disabler.kext and AppleIntelCPUPowerManagement removed and everything is working as it was in 10.5.7. Timed sleep still doesn't work... the system doesn't bsod, but it just doesn't sleep. Almost as if the sleep command was never triggered at all. Any known fix for this? I'm using a gigabyte EP45-UD3R. Link to comment Share on other sites More sharing options...
Dr. Hurt Posted August 15, 2009 Share Posted August 15, 2009 Using SleepEnabler.kext with Disabler.kext and AppleIntelCPUPowerManagement removed and everything is working as it was in 10.5.7. Timed sleep still doesn't work... the system doesn't bsod, but it just doesn't sleep. Almost as if the sleep command was never triggered at all. Any known fix for this? I'm using a gigabyte EP45-UD3R. +1 Link to comment Share on other sites More sharing options...
Shaj Posted August 15, 2009 Share Posted August 15, 2009 Weird problem guys. Gigabyte EP45-UD3R Using Disabler.kext + SleepEnabler.kext + VoodooPower.kext (for low temps) to get sleep working on 10.5.8 Reboot/Shutdown working without a problem before sleep. BUT, if the computer is restarted anytime after it's woken up from sleep, everything goes off for a few seconds, comes back on and a few more seconds later says there was an error and asks to pick an alternate Bios setting. This is really weird as it's never happened before 10.5.8 Anyone else have a similar problem? Link to comment Share on other sites More sharing options...
mentholated Posted August 16, 2009 Share Posted August 16, 2009 Well I tried sleepenabler.kext with my thinkpad (accidentally typed powerbook lol), and it broke my install. I did have Disabler.kext installed as well, but as soon as I installed sleepenabler.kext with kexthelper I had a kernel panic. Rebooted into single user mode, but still got a kernel panic and decided to say screw it and installed win7. If I can't get sleep to function as it does on an real apple computer there is no point in having it on my laptop. I'd also like to mention that my laptop would not sleep on lid close, and I couldn't get DSDT.aml to decompile using iasl. Link to comment Share on other sites More sharing options...
Dr. Hurt Posted August 16, 2009 Share Posted August 16, 2009 I put the latest version of sleep enabler in the /Extra folder along with a disabler version that disables only CPUPM. CPUPM is still in the S/L/E folder. To my surprise, not only does sleep work but auto sleep also works after 10 min and system wakes up and eveything works just fine. Autosleep wasn't working when I used CPUPM without disabler or sleep enabler (by enabling HPET via DSDT). Normal sleep was working though. Link to comment Share on other sites More sharing options...
knew know Posted August 16, 2009 Share Posted August 16, 2009 I put the latest version of sleep enabler in the /Extra folder along with a disabler version that disables only CPUPM.CPUPM is still in the S/L/E folder. To my surprise, not only does sleep work but auto sleep also works after 10 min and system wakes up and eveything works just fine. Autosleep wasn't working when I used CPUPM without disabler or sleep enabler (by enabling HPET via DSDT). Normal sleep was working though. Nice find hurt. Have a link to that disabler? I'll take a look to see if I can find it, but a quick link could help. Thanks. Link to comment Share on other sites More sharing options...
pista7 Posted August 16, 2009 Share Posted August 16, 2009 Hi, if anybody would like to try a version for Snow Leopard, check this out and let me know what happens - it's complete guesswork from SL's mach_kernel disassembly, so anything might happen (including it will just work . However, there may be more changes in SL's power management, so even if it works as in 10.5.8, it might not help it go to sleep. sleep_sl.zip Link to comment Share on other sites More sharing options...
Dr. Hurt Posted August 16, 2009 Share Posted August 16, 2009 Nice find hurt. Have a link to that disabler? I'll take a look to see if I can find it, but a quick link could help. Thanks. Here is my disabler.kext Disabler.kext.zip Link to comment Share on other sites More sharing options...
crencom Posted August 16, 2009 Share Posted August 16, 2009 Hi, if anybody would like to try a version for Snow Leopard, check this out and let me know what happens - it's complete guesswork from SL's mach_kernel disassembly, so anything might happen (including it will just work . However, there may be more changes in SL's power management, so even if it works as in 10.5.8, it might not help it go to sleep. I can say that this kext works on SL 432. System will sleep manually. No auto sleep. System - GA EP43 DS3L Q6600 I'll take manual sleep and low cpu temps over no sleep any day Link to comment Share on other sites More sharing options...
olav Posted August 16, 2009 Share Posted August 16, 2009 Thanks pista7! Works good on my BX2, uses it without AppleIntelCPUP* as advertised and without the Disabler which I don't understand why some people keeps. Saved me from anxiety after the 10.5.8 upgrade Just have to find a solution for the 1 second screwed up display before the desktop loads at boot with my 8800gt in 10.5.8, then it will be perfect! Link to comment Share on other sites More sharing options...
elias-26 Posted August 16, 2009 Share Posted August 16, 2009 My Samsung N110 is now able to sleep BUT when I wake, everything freezes and the beachball comes up and spins. I have to shut down and reboot. Any ideas why this is happening? Link to comment Share on other sites More sharing options...
jinnggoff Posted August 16, 2009 Share Posted August 16, 2009 wow sleep problem in SL is solving. Full of thanks for this pista7....you are hero for sleep problem Link to comment Share on other sites More sharing options...
Recommended Posts