Jump to content
InsanelyMac Forum
wormyrocks

Another guy with sleep/wake problems

Recommended Posts

Hi folks,

 

After buying the 550 Ti and realizing that neither graphics acceleration nor sleep/wake worked, I sent it back and exchanged it for a 560 (non TI) assuming that those things would finally work.

 

While graphics acceleration now works fine, I'm having trouble getting the computer to wake up after it goes to sleep. When I sleep the computer the fans, LEDs, and drives are still spinning, but the screen goes black and the keyboard and mouse are unresponsive. Pressing the volume buttons on the keyboard doesn't make any noise, so I know that the computer isn't seeing the input devices. As of yet I have no way of waking the computer up besides holding down the power button and rebooting.

 

Information:

 

Hardware:

Core i5

Zotac Nvidia 560

8GB RAM

Gigabyte GA-Z77-D3H-MVP motherboard

 

Software:

Mountain Lion 10.8.0

Bootloader: Chimera (I know, I know, sorry)

CUDA drivers successfully installed

 

Any kexts I should try to get sleep/wake? I installed the one that was supposed to support the 560 from that kext installer that supports a lot of different things... but it didn't help me.

 

Or could it be a BIOS issue? Is there anything I absolutely must have in the 77-series motherboard's BIOS in order to have functional sleep/wake?

 

Thanks in advance for any and all help.

Share this post


Link to post
Share on other sites
Advertisement

You may be experiencing a CMOS reset.

there is a perl patch for this, make sure you use the one for ML not Lion

Share this post


Link to post
Share on other sites

No luck with that patch, same thing happened as always.

 

NullCPUPowerManagement.kext is present in s/l/e, but I don't believe I've ever touched it. Should I have?

Share this post


Link to post
Share on other sites

Hey, I'm seeing this issue again after having deleted both the NCPM and the AppleIntelCpu one (after experiencing intermittent kps). Which combination of kexts ought I to keep?

 

Edit: Also I think I deleted my NCPM.kext backup. Where can I find a new one, provided I need to reinstall it?

Share this post


Link to post
Share on other sites

NullCPUPowerManagement prevents sleep so you need to delete it. Be prepared to re-install it if you see the AppleIntelCPU... panic though

Hmm, I wonder if that's what's causing my computer's insomnia. myHack 3.1.2 installed ~/Extra/Extensions/NullCPUPowerManagement.kext by default and I didn't know that it prevented sleep. Was this intended to be a temporary file to be removed after everything was up and running? Once I get my backup strategy online, I'll probably try removing the file and see how things work.

Share this post


Link to post
Share on other sites

Any luck? :(

Actually, no. I tried removing NullCPUPowerManagement.kext and my results were identical to what I experienced when it was installed. I've been talking about it in this thread with Taruga and eep357, so you may want to head over there for some tips.

 

Getting sleep to work is not a big deal for me so it's low on my fix list.

Share this post


Link to post
Share on other sites

Update:

 

Having removed NCPM.kext and AppleIntelCPUPowerManagement.kext, the computer will go to sleep but wake up seconds after sleeping. I've tried different combinations of installing, removing, and patching AppleIntelCPU with no luck. Anyone know how to solve this issue?

Share this post


Link to post
Share on other sites

Don't remove AppleIntelCPUPowerManagement.kext, patched is OK but need to also have DSDT and SSDT. Removing it does the exact same thing as having NullCPUPM installed.

 

to create SSDT you can follow RampageDev's directions here http://rampagedev.wordpress.com/2012/06/30/how-to-make-your-own-ssdt-17-2/

Share this post


Link to post
Share on other sites

So I created, compiled, and installed the SSDT as per RevoGirl's instructions, but my Mac wouldn't boot after installing, so I deleted dsdt.aml.

 

"Clover" is an alternate bootloader? I'm not sure I want to replace the entire bootloader just to get my Mac sleeping.

 

This worked before... any other help would be appreciated, thanks.

Share this post


Link to post
Share on other sites

Subbed. I can't get sleep/wake to work with my specs, and I get intermittent freezes. I dont know if its related, but computer will wake from screensaver and mouse pointer moves but system brain-dead at that point.

Share this post


Link to post
Share on other sites

Update:

 

Posted about this on Reddit, guy said to check the console for the wake reason. Console says "Wake Reason: GLAN XHC".

Is this fixable? What's my next step?

Share this post


Link to post
Share on other sites

for sleep you need:

 

SSDT, DSDT ( also on Uefi Boards it is adviseable to have a minimal one, cause then you know, whats happening, but for the beginning try without))

IntelCPUPowermanagement and the correspondent Controller Kext working

( check with MSR Dumper if its speedstepping)

 

on bios also a patched RTC.kext ( dont know if its needed on UEFI)

( if its rebooting instead of waking)

 

mostly USB and Graphic Cards are preventing sleep ( look for AAPL intries in IOREG)

 

and the magic terminal command "pmset -g assertions"

may tell you something

 

so its a deep digging materia

( and with tony´s installers, you dont see, what is installed, so problems cant be separated)

Share this post


Link to post
Share on other sites

Not sure why you deleted DSDT because of an SSDT problem, but regardless, sleep is in not possible without patched DSDT so don't bother unless you have that much resolved

Share this post


Link to post
Share on other sites

Thanks for the advice!

 

I'm a total newbie though, or mostly so. What's the first step I should be taking? I don't have a DSDT; how should I go about generating one? What steps should I take to make it compatible once I have done so?

Share this post


Link to post
Share on other sites

(massive bump)

 

I generated a DSDT with a command line DSDT generator utility. What's the first step I should take to try and figure out how to get sleep working? I need pretty basic instructions... or if anyone could point me to a detailed tutorial I'd appreciate that too.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Posts

    • Hi @fabiosun and thank's for your patience with an old and stubborn man.   I am 100 % sure that my MSR 0xE2 register is unlocked thank's to you.   My system is 100% stable and I haven't had one kp with this configuration in the last two weeks.    I'm now running without TSCAdjustReseat.kext and I can't se any issues in performance with or without that kext. What I however can se is that the amount of total energy consumed during the test-cycle are 10 times higher without the kext (three times Cinebench CPU and two times Luxmark open CL) as you can see in the output from my AppleIntelInfo.kext attached in my earlier post.   I have tested running Cinebench five times in a row with or without TSC kext and have exactly the same performance (see attached files). Temperature is not a problem at all.   Everything seems to be fine so I guess I have to wait and see if upcoming 10.13.5 maybe recognise Intel Xeon w series processor as native.     
    • Tried with HPET enabled and disabled so I don't think it's that. I'd tried with bus ratio before to no effect but wouldn't hurt to try again. The clock runs at the correct speed.
    • could be an HPET / TSC Sync issue. does your system clock slow down or run faster then it should. also check cpu and buss ratios.
    • @MacPeet El capitan. It has t7700 cpu, so HS is not option for now. Have to find t9500 cpu. I bought this laptop for 30euros 3 weeks ago, with everything working, battery like new, it looks like from store, 4gb ram, 1920x1200 17" screen, replaced wifi and put SSD. Also sleep and hibernation working, native brightness, volume touch buttons work. Windows was not option because of broken  touchpad drivers, and linux because of slow graphics. Here everything works like it should.   AD1981 is also on thinkpad T60. I searched everywhere, but no solution. Here is some half working legacy driver, don't know how binary was patched(if it was): https://forum.thinkpads.com/viewtopic.php?t=85344&start=28#p564260
    • the slowness is most likely IM's host provider. we used to use ONE.com but they sucked and it was super slow so we switched and things definitely got better on the slowness front


×