Jump to content

10.5.8 deep sleep problem?


  • Please log in to reply
273 replies to this topic

#101
pista7

pista7

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Gender:Male
Yessssss!!!!

Not only have I managed to revive my desktop (I had a great idea to turn HPET from 32-bit to 64-bit mode while testing SL, and it resulted in Leo being completely unusable ;), but sleep works for me now!!!!

For those interested, there was a small bug in the kext I posted previously - I didn't let the kernel know that PM has been "initialized", so it still didn't use the provided callbacks.

This version should work correctly (it works for me, I'm typing this on a freshly waked computer :hysterical:

The sources are also attached (all 5 lines of them :hysterical:)

Update: Since I forgot that non-IOKit kexts are not loaded automatically at startup, it won't help you to move this kext to an Extensions folder - I will fix this tomorrow (hopefully) - for the time being, simply start it manually and as long as sleep works, you should be fine :D Just remember to reload the kext after reboot (or use launchd or whatever)

Edit: downloads removed - the last version is here:
http://www.insanelym...p...t&p=1224830

#102
ilovebooze420

ilovebooze420

    InsanelyMac Protégé

  • Members
  • PipPip
  • 60 posts
  • Gender:Male
  • Location:Fort Wayne
  • Interests:OSx86, obviously. Computers, obviously.

What about installing VoodooPower and removing both AppleIntelCPUPowerManagement & IntelCPUPMDisabler and then reboot? ;)

I just got done trying that. I installed VoodooPower which resulted in a kernel panic.

I never made it to removing AICPUPM & ICPUPMD.

#103
Thireus

Thireus

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 220 posts
  • Gender:Male
  • Location:France
  • Interests:Security

Yessssss!!!!

Not only have I managed to revive my desktop (I had a great idea to turn HPET from 32-bit to 64-bit mode while testing SL, and it resulted in Leo being completely unusable ;), but sleep works for me now!!!!

For those interested, there was a small bug in the kext I posted previously - I didn't let the kernel know that PM has been "initialized", so it still didn't use the provided callbacks.

This version should work correctly (it works for me, I'm typing this on a freshly waked computer ;)

The sources are also attached (all 5 lines of them :D)

Update: Since I forgot that non-IOKit kexts are not loaded automatically at startup, it won't help you to move this kext to an Extensions folder - I will fix this tomorrow (hopefully) - for the time being, simply start it manually and as long as sleep works, you should be fine :D Just remember to reload the kext after reboot (or use launchd or whatever)


Thank you, now it works like a charm, I have updated my package: Some fixes for your MacOS 10.5.8 install

Thanks for your great work :)

I'm still waiting for a kext that can work into the Extensions folder :)

#104
rr7

rr7

    InsanelyMac Protégé

  • Members
  • PipPip
  • 83 posts
  • Gender:Male
this new version works for me too!

looking forward to installing the auto-loading version :)

#105
ilovebooze420

ilovebooze420

    InsanelyMac Protégé

  • Members
  • PipPip
  • 60 posts
  • Gender:Male
  • Location:Fort Wayne
  • Interests:OSx86, obviously. Computers, obviously.

this new version works for me too!

looking forward to installing the auto-loading version :)

Might be a noob question, but I get this error:

"System extension cannot be used"

"The system extension /Users/bobdamnit/Downloads/SleepEnabler.kext was installed improperly and cannot be used. Please try reinstalling it, or contact the product's vendor for an update."

Whats that about? Have I got the permissions wrong?

#106
Thireus

Thireus

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 220 posts
  • Gender:Male
  • Location:France
  • Interests:Security

Might be a noob question, but I get this error:

"System extension cannot be used"

"The system extension /Users/bobdamnit/Downloads/SleepEnabler.kext was installed improperly and cannot be used. Please try reinstalling it, or contact the product's vendor for an update."

Whats that about? Have I got the permissions wrong?


sudo chown -R 0:0 /Users/bobdamnit/Downloads/SleepEnabler.kext

Don't forget the path!

If you want sleep working follow my new instructions here (it now uses this kext :)): Some fixes for your MacOS 10.5.8 install

Or wait for a new update of this driver ;)

#107
zoltankr

zoltankr

    zoltankr

  • Members
  • PipPipPipPipPipPip
  • 427 posts
  • Gender:Male
Ok, sleep works! Thanks @pista
I loose the ethernet connection after wake up.. I'm using an USB Ethernet Adapter (AX88772). Any idea what can I do? Thanks!

EP35-DS3L / Boot132 / PCEFI9

#108
lookup613

lookup613

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts

Ok, sleep works! Thanks @pista
I loose the ethernet connection after wake up.. I'm using an USB Ethernet Adapter (AX88772). Any idea what can I do? Thanks!

EP35-DS3L / Boot132 / PCEFI9


In System Preferences, enter your IP address manually. This will fix the R1000.kext that the ep35-ds3l uses after sleep.

#109
dakku

dakku

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 149 posts
would this work on 10.5.7? since sleep dont work on my laptop i wonder if it would work if i used this fix?

#110
ilovebooze420

ilovebooze420

    InsanelyMac Protégé

  • Members
  • PipPip
  • 60 posts
  • Gender:Male
  • Location:Fort Wayne
  • Interests:OSx86, obviously. Computers, obviously.

sudo chown -R 0:0 /Users/bobdamnit/Downloads/SleepEnabler.kext

Don't forget the path!

If you want sleep working follow my new instructions here (it now uses this kext ;)): Some fixes for your MacOS 10.5.8 install

Or wait for a new update of this driver ;)

Thanks Thireus! I properly "chown"ed the kext and sleep works properly!

Major kudos to Pista7 and Thireus for this. Can't wait for the kext to be updated to allow for auto loading.

#111
hunterwei

hunterwei

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts

Yessssss!!!!

Not only have I managed to revive my desktop (I had a great idea to turn HPET from 32-bit to 64-bit mode while testing SL, and it resulted in Leo being completely unusable ;), but sleep works for me now!!!!

For those interested, there was a small bug in the kext I posted previously - I didn't let the kernel know that PM has been "initialized", so it still didn't use the provided callbacks.

This version should work correctly (it works for me, I'm typing this on a freshly waked computer ;)

The sources are also attached (all 5 lines of them :D)

Update: Since I forgot that non-IOKit kexts are not loaded automatically at startup, it won't help you to move this kext to an Extensions folder - I will fix this tomorrow (hopefully) - for the time being, simply start it manually and as long as sleep works, you should be fine :D Just remember to reload the kext after reboot (or use launchd or whatever)


Great job, pista 7! You are genius!

I download this new kext and follow the instruction in your post at #97, and sleep works in charm.

The only problem is my airport (pccard-Atheros 5212) cannot load the preferred network after wake up, I have to pick it manually. But it is good enough now. Although it is a little bit inconvenient, still much better than nothing.

Really love this post, fast response just after couple of days since the release of 10.5.8.

Looking forward to your auto loading version. Really appreciate your hard working!

#112
pippuzzo23

pippuzzo23

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
works for me too. thx pista!

#113
pista7

pista7

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Gender:Male

would this work on 10.5.7? since sleep dont work on my laptop i wonder if it would work if i used this fix?


No, it won't. It's built specifically for 10.5.8 (i.e. the 9.8.0 kernel), and it shouldn't even load on any other kernel version, as it would most likely KP immediately.

#114
Dabluest

Dabluest

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 110 posts
  • Location:Atlanta, GA USA
Re: SleepEnabler.kext:
Another satisfied customer here. Thank you and great work! ;)

#115
Guest: Snowski_*

Guest: Snowski_*
  • Guests
Working perfectly here Pista, thx a lot!

Restored 10.5.8 kernel and installed the kext and sleep works, easy fix.

Someone should sticky this when you have the kext working at boot.

Thx again

#116
cparm

cparm

    InsanelyMac Legend

  • Retired
  • 997 posts
  • Gender:Male

Yessssss!!!!

Not only have I managed to revive my desktop (I had a great idea to turn HPET from 32-bit to 64-bit mode while testing SL, and it resulted in Leo being completely unusable :), but sleep works for me now!!!!

For those interested, there was a small bug in the kext I posted previously - I didn't let the kernel know that PM has been "initialized", so it still didn't use the provided callbacks.

This version should work correctly (it works for me, I'm typing this on a freshly waked computer :(

The sources are also attached (all 5 lines of them ;))

Update: Since I forgot that non-IOKit kexts are not loaded automatically at startup, it won't help you to move this kext to an Extensions folder - I will fix this tomorrow (hopefully) - for the time being, simply start it manually and as long as sleep works, you should be fine ;) Just remember to reload the kext after reboot (or use launchd or whatever)

it work,

thx

#117
Thireus

Thireus

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 220 posts
  • Gender:Male
  • Location:France
  • Interests:Security

Great job, pista 7! You are genius!

I download this new kext and follow the instruction in your post at #97, and sleep works in charm.

The only problem is my airport (pccard-Atheros 5212) cannot load the preferred network after wake up, I have to pick it manually. But it is good enough now. Although it is a little bit inconvenient, still much better than nothing.

Really love this post, fast response just after couple of days since the release of 10.5.8.

Looking forward to your auto loading version. Really appreciate your hard working!


Have a look at this thread: http://forums.msiwin...ues-t11680.html

It is explained how to unload and then load back the airport card. I don't know if it can solve your problem. It uses sleepwatcher to unload before sleep and then load after sleep.

#118
zoltankr

zoltankr

    zoltankr

  • Members
  • PipPipPipPipPipPip
  • 427 posts
  • Gender:Male

In System Preferences, enter your IP address manually. This will fix the R1000.kext that the ep35-ds3l uses after sleep.

Thanks but I'm not using R1000.kext. My onboard LAN is broken (disabled in BIOS). That's the reason because I bought the USB Adapter. LevelOne said the adapter is 100% OS X compatible, that's true! But as you see, there are some issues.

#119
dadaz

dadaz

    InsanelyMac Protégé

  • Members
  • Pip
  • 41 posts
It works great here too. thanks for your work

#120
pista7

pista7

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Gender:Male
Ok, here's the autostarting version - hopefully I haven't broken anything (blind-coding again :thumbsup_anim:)

Make really really sure you test that it loads successfully before putting it to an Extensions directory, as it would most likely make your system unbootable if it panics or something (it gets loaded even before you get to the single-user prompt with -s, so in case it blows up, you'll have to boot from a DVD/different partition).

Also, I can't say what would happen if both AppleIntelCPUPowerManagement.kext and this on would be loaded at the same time - most likely nothing, but better avoid trying this at home :thumbsup_anim: Make sure you have disabler.kext or a similar kext up and running.

Attached Files







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2015 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy