dnyc2259 Posted January 8, 2011 Share Posted January 8, 2011 Tested and working..... Download 10.6.6. Combo Update (DO NOT INSTALL THROUGH SOFTWARE UPDATE) Delete your sleepenabler.kext (IT'S VERSION SPECIFIC AND YOU WILL GET A KP) DO NOT REBOOT Copy this string into your com.apple.boot.plist <string>arch=i386 pmVersion=21</string> Download & Install this sleepEnabler.kext http://xnu-sleep-enabler.googlecode.com/is...db2ab4b6574d100 Sleep and wakeup both work.. Currently the only solution I've found working... SideNote: You may need to edit your atheros (airport) IO80211Family.kext.... My Configuration T61 7658-CTO Graphics : GMA X3100 Ethernet : 82566MM wifi : Thinkpad Atheros ABG Audio : Intel HD Audio Bluetooth still not working(but I dont need that nor do i care) Firewire Working USB working CD/DVD working (with Roxio Toast Titanium 10) Link to comment Share on other sites More sharing options...
iStep Posted January 9, 2011 Share Posted January 9, 2011 The link does not work. Link to comment Share on other sites More sharing options...
Gringo Vermelho Posted January 9, 2011 Share Posted January 9, 2011 http://code.google.com/p/xnu-sleep-enabler/ Link to comment Share on other sites More sharing options...
ZiPpYMaT Posted January 9, 2011 Share Posted January 9, 2011 The option arch=i386 is for booting in 32bit... Isn't there a SleepEnabler.kext that works in 64 bit mode? Link to comment Share on other sites More sharing options...
Gringo Vermelho Posted January 9, 2011 Share Posted January 9, 2011 Here are instructions on how to patch and build it yourself: http://macfiets.blogspot.com/2010/11/upgra...xt-to-1065.html The required source code for 10.6.6 hasn't been released yet...so you can't build a 10.6.6 sleepenabler, but I guess a 64-bit 10.6.5 one would still work with the pmVersion=21 flag. Not really sure how this works, I don't use sleepenabler myself. Link to comment Share on other sites More sharing options...
dfris Posted January 9, 2011 Share Posted January 9, 2011 Yea, I tried this sleepenabler yesterday, doesnt work on 64bit. I didn't add the i386 in the string im sure someone will have a fix soon. thanks Link to comment Share on other sites More sharing options...
MACinized Posted January 9, 2011 Share Posted January 9, 2011 does the pmVersion changes w/ every macosx version/update? if so, how is it determined? Link to comment Share on other sites More sharing options...
dnyc2259 Posted January 10, 2011 Author Share Posted January 10, 2011 Please take the time to read the entire original post..... My configuration will only allow me to run 32bit b/c the wifi will not work at 64 The sleepenabler.kext I believe was written only for 32bit there's no way for me to test on 64bit b/c I get KP's ... Last, the link I provided is the direct download to the zip file... it works but it downloads so quick that you may not see it especially if you're using opera browser... Regards... Link to comment Share on other sites More sharing options...
nawcom Posted January 10, 2011 Share Posted January 10, 2011 does the pmVersion changes w/ every macosx version/update? if so, how is it determined? It's defined in pmCPU.h. Note that in xnu-1504.9.26 which is the 10.6.6 kernel, it did not increase from 21 to 22 - it's still 21 just like how it was the 10.6.5 kernel, unlike how it increased in previous versions. I updated the xnu-sleep-enabler code a day ago to recognize that, and it works fine. http://xnu-sleep-enabler.googlecode.com/fi...kext.10.6.x.zip Link to comment Share on other sites More sharing options...
MACinized Posted January 10, 2011 Share Posted January 10, 2011 It's defined in pmCPU.h. Note that in xnu-1504.9.26 which is the 10.6.6 kernel, it did not increase from 21 to 22 - it's still 21 just like how it was the 10.6.5 kernel, unlike how it increased in previous versions. I updated the xnu-sleep-enabler code a day ago to recognize that, and it works fine. oh ok. hope u could already indicate in your xnu-sleep-enabler download page the "needed/correct" pmVersion. will try it later. tnx. [EDIT] it did work. tnx for your kext nawcom. hopefully it's really kernel-independent now so that when the lion comes out (or perhaps last update to snow leo), all we have to edit is the Boot.plist or nothing at all if pmVersion doesn't change/increase. Link to comment Share on other sites More sharing options...
Guest Posted January 10, 2011 Share Posted January 10, 2011 It's defined in pmCPU.h. Note that in xnu-1504.9.26 which is the 10.6.6 kernel, it did not increase from 21 to 22 - it's still 21 just like how it was the 10.6.5 kernel, unlike how it increased in previous versions. I updated the xnu-sleep-enabler code a day ago to recognize that, and it works fine. http://xnu-sleep-enabler.googlecode.com/fi...kext.10.6.x.zip Causes a kernel panic still. I had to manually add "pmVersion=21" to my boot.apple.Boot.plist in order to get it to work. mach_kernel 64-bit GA-EP45-UD3L Link to comment Share on other sites More sharing options...
Josvdp Posted January 10, 2011 Share Posted January 10, 2011 Causes a kernel panic still. I had to manually add "pmVersion=21" to my boot.apple.Boot.plist in order to get it to work. mach_kernel 64-bit GA-EP45-UD3L The topic starter already mentioned that you have to put pmVersion=21 in your boot.plist Link to comment Share on other sites More sharing options...
shao1555 Posted January 10, 2011 Share Posted January 10, 2011 created 10.6.6 compatibled SleepEnabler.kext. Source Code: https://github.com/shao1555/xnu-sleep-enabler no longer needs "pmVersion=21" to your boot argument. SleepEnabler_10.6.6.kext.zip Link to comment Share on other sites More sharing options...
lilol18 Posted January 10, 2011 Share Posted January 10, 2011 created 10.6.6 compatibled SleepEnabler.kext. Source Code: https://github.com/shao1555/xnu-sleep-enabler no longer needs "pmVersion=21" to your boot argument. good day, i'm on 10.6.6 on a vostro 1310 everything working except for sleep/wake. tried this, but the same as always: it tries to sleep but immediately wakes up. Any sleepenabler.kext i try takes me to this, what can i do, or what am i doing wrong?? Link to comment Share on other sites More sharing options...
nawcom Posted January 10, 2011 Share Posted January 10, 2011 Causes a kernel panic still. I had to manually add "pmVersion=21" to my boot.apple.Boot.plist in order to get it to work. mach_kernel 64-bit GA-EP45-UD3L The problem must be on your end because it works just fine with the multiple tests I've run. It should be saying this: [SleepEnabler] Registering PowerManagement dispatch table with PM_DISPATCH_VERSION 21... If you are still getting a kernel panic please let me know what it's saying in regards to that. edit: Just did a number of tests on a few other systems. Detects PM_DISPATCH_VERSION as 21 just fine for 10.6.6. Link to comment Share on other sites More sharing options...
nawcom Posted January 10, 2011 Share Posted January 10, 2011 oh ok. hope u could already indicate in your xnu-sleep-enabler download page the "needed/correct" pmVersion. will try it later. tnx. [EDIT] it did work. tnx for your kext nawcom. hopefully it's really kernel-independent now so that when the lion comes out (or perhaps last update to snow leo), all we have to edit is the Boot.plist or nothing at all if pmVersion doesn't change/increase. hehe, we can't predict the future regarding the PM_DISPATCH_VERSION value in the kernel versions - for example, if these incremented like usual - the 10.6.6 kernel should be 22 - but it ended up being 21, the same as the 10.6.5 kernel. A final solution that would fix this problem altogether would be somehow extracting PM_DISPATCH_VERSION from the kernel itself, which is out of my range of skills. There is such a possibility of actually modifying it's value, as people like meklort have written up similar techniques for doing kernel binmodding on the fly. In situations where you don't have the kernel source code (access to pmCPU.h) can find out these PM_DISPATCH_VERSION values if you open up the kernel in a nice disassembler like IDA pro, so finding out the value without having the kernel source code is quite easy. To write up a kernel extension to automate this type of thing is something completely different however. Who knows, perhaps we will create the ultimate solution for this seemingly neverending issue. Link to comment Share on other sites More sharing options...
MACinized Posted January 10, 2011 Share Posted January 10, 2011 hehe, we can't predict the future regarding the PM_DISPATCH_VERSION value in the kernel versions - for example, if these incremented like usual - the 10.6.6 kernel should be 22 - but it ended up being 21, the same as the 10.6.5 kernel. A final solution that would fix this problem altogether would be somehow extracting PM_DISPATCH_VERSION from the kernel itself, which is out of my range of skills. There is such a possibility of actually modifying it's value, as people like meklort have written up similar techniques for doing kernel binmodding on the fly. In situations where you don't have the kernel source code (access to pmCPU.h) can find out these PM_DISPATCH_VERSION values if you open up the kernel in a nice disassembler like IDA pro, so finding out the value without having the kernel source code is quite easy. To write up a kernel extension to automate this type of thing is something completely different however. Who knows, perhaps we will create the ultimate solution for this seemingly neverending issue. more power to you nawcom & to the other developers of the OSx86 community! we know you'll not settle for anything less. hehe... tnx again for the share. Link to comment Share on other sites More sharing options...
rimmer74 Posted January 10, 2011 Share Posted January 10, 2011 created 10.6.6 compatibled SleepEnabler.kext. Source Code: https://github.com/shao1555/xnu-sleep-enabler no longer needs "pmVersion=21" to your boot argument. Unfortunately this is still not working for me on HP Compaq 6910p. Had sleepenabler working on 10.6.4 but it just refuses to wake up now... Link to comment Share on other sites More sharing options...
Bam Rock Posted January 11, 2011 Share Posted January 11, 2011 created 10.6.6 compatibled SleepEnabler.kext. Source Code: https://github.com/shao1555/xnu-sleep-enabler no longer needs "pmVersion=21" to your boot argument. This worked for me surprisingly enough because I've had a problem with sleep to the point I just didn't bother. I tried nawcom's kext with the edition plist to pmVersion and it did not work for me (sorry nawcom I didn't write down what the KP was) but just letting people know that this one worked on my hack. Thanks shao1555 Link to comment Share on other sites More sharing options...
felsmann Posted January 11, 2011 Share Posted January 11, 2011 Just wanted to report success here as well!!! Thank you all for quickly repairing the sleepenabler From 10.5.6 to 10.6.6 All I did was: 1. Deleted old kext 2. Run Kext Utility 3. Installed the uodate (not combo), did not reboot 4. Installed new sleepenabler.kext (pasted in folder) 5: Run Kext Utility 6. Reboot!! Thanks again Link to comment Share on other sites More sharing options...
Guest Posted January 11, 2011 Share Posted January 11, 2011 The problem must be on your end because it works just fine with the multiple tests I've run. It should be saying this: [SleepEnabler] Registering PowerManagement dispatch table with PM_DISPATCH_VERSION 21... If you are still getting a kernel panic please let me know what it's saying in regards to that. edit: Just did a number of tests on a few other systems. Detects PM_DISPATCH_VERSION as 21 just fine for 10.6.6. Still got a KP with it. I also tried the pmVersion string and it still KP'ed. I've included a screenshot of the KP and the kexts that I am using. Link to comment Share on other sites More sharing options...
SsSeth Posted January 11, 2011 Share Posted January 11, 2011 Still got a KP with it. I also tried the pmVersion string and it still KP'ed. I've included a screenshot of the KP and the kexts that I am using. SleepEnabler should be on the System extensions folder, not extra. Link to comment Share on other sites More sharing options...
Effendi Posted January 11, 2011 Share Posted January 11, 2011 Works in Extra just as good. Link to comment Share on other sites More sharing options...
nthscience Posted January 13, 2011 Share Posted January 13, 2011 created 10.6.6 compatibled SleepEnabler.kext. Source Code: https://github.com/shao1555/xnu-sleep-enabler no longer needs "pmVersion=21" to your boot argument. did not work on my 64bit 10.6.6 didn't try on 32bit Link to comment Share on other sites More sharing options...
miscbeep Posted January 13, 2011 Share Posted January 13, 2011 Do I have to do anything else to get sleep on my hackintosh, except placing this kext in S/L/E ? I have a DSDT, and everything's working great - I just don't have sleep, never tried. Was curious if this is all I need to do. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts