You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

OS X Lion 10.7 Sleep Issue

Installed Lion this morning and the only issue that I have found thus far is sleep.


I use an external display as well as the laptop display. When I close my MacBook lid and wait several minutes, I do not get the sleep mode winking LED and my second display does not go into standby, probably because the Mac has not entered sleep mode.


When I raise the lid, my laptop display appears to have been in standby and the Mac looks to be doing a device discovery. After the discovery, the Mac display is normal but all the apps from my second display are now on the Mac display.


Anybody have a clue as to the cause or is Lion just broke?


Cheers

MacBook Pro, Mac OS X (10.7)

Posted on Jul 20, 2011 1:44 PM

Reply
251 replies

Aug 12, 2011 5:52 AM in response to ApexRon

Had similar problem since upgrading to OS Lion. Macbook Pro would not sleep, this includes shutting the lid and manually telling it to go to sleep.

Sharing was off - SMC and PRAM resets did not work.

What did work however was deleting my printer from system preferences hardware.

?????

I checked "pmset -g" in terminal and "ps -ef |grep -e " as mentioned in a previous post and the name of my printer appeared a couple times in the terminal. I deleted it and now it goes to sleep fine.

Aug 15, 2011 1:43 AM in response to jcarpio

Thanks jcarpio


works like a charm !! this is what i did.


pmset -g

Active Profiles:

Battery Power -1

AC Power -1*

Currently in use:

womp 0

autorestart 0

halfdim 1

sms 1

panicrestart 157680000

hibernatefile /var/vm/sleepimage

networkoversleep 0

disksleep 10

sleep 0 (imposed by 494)

hibernatemode 3

ttyskeepawake 1

displaysleep 10

acwake 0

lidwake 1


ps aux | grep 494

root 494 0.0 0.2 2460916 4324 ?? Ss 12:52PM 0:00.18 /usr/sbin/cupsd -l


sudo killall cupsd


pmset -g

Active Profiles:

Battery Power -1

AC Power -1*

Currently in use:

womp 0

autorestart 0

halfdim 1

sms 1

panicrestart 157680000

hibernatefile /var/vm/sleepimage

networkoversleep 0

disksleep 10

sleep 10

hibernatemode 3

ttyskeepawake 1

displaysleep 10

acwake 0

lidwake 1



Sleep now works just fine !!

Aug 15, 2011 11:42 AM in response to ApexRon

i have an iMac 27" 2011 model (Lion installed)... and i also have the same problem where my iMac goes to sleep but only after 10 seconds it turns it self on without the display actually being turned on ... to be more precise the HDD keep turns its self on and off ... you also can hear the fan's sound through the vent that they are actually turning themsleves on and off while the HDD having the same behaviour ... and i have never experienced such thing with snow leopard.

i have turned the internet sharing off as well as and other settings are checked too ...



APPLE PLEASE FIX THIS PROBLEM.

thanks

Aug 16, 2011 7:27 AM in response to ApexRon

Darn. Have tried everything here so far to not avail.

Sleep issue just keeps coming back. I am thinking that I may have a bad memory module. That is about the only thing I can think of that would explain these constant problems.


Thanks for the support and the ideas. All were good, just not exactly for my machine. :)

Aug 18, 2011 8:05 AM in response to pboo

This is really funny. My iMac just started this a couple of days ago. After reviewing this and several other thread I have to wonder. Do you really think it could possibly be as complicated as to have to go into terminal with a ton of commands?


Ridiculous. That's not Mac.


pboo, I believe you found the issue. Thank you. I'll just put it to sleep when I walk away from it.


Also that thing about internet sharing. I checked mine was never set to that so that certainly wasn't the issue. I think in my case it's 1password.

Aug 18, 2011 8:44 AM in response to ApexRon

Since upgrading my 2010 iMac to Os X Lion, I have had an issue with the system failing to respond properly to the manual sleep command. Using Snow Leopard before the upgrade it took about 1 second to sleep after clicking the sleep item in the apple menu, after installing Lion it suddenly took 30 seconds to respond. This happened whether or not any software was running. There were no outstanding items in the print queue. The printer was not shared, neither was anything else. I tried resetting SMC and PRAM and repairing permissions, with no change.



The pmset -g log showed that the cause of the 30 second sleep delay was the KodakAiOBonjour Agent, part of the Kodak printer communication software:



* Domain: applicationresponse.timedout

- Message: Kernel KodakAiOBonjourA com.apple.powermanagement.applicationresponse.timedout 30000 ms

- Time: 17/08/2011 16:25:45 GMT

- Signature: KodakAiOBonjourA

- UUID: 3A16EF47-977F-4DA8-8757-3AD489E81C72

- Result: Noop

- Response time (ms): 30000




When I uninstalled the Kodak printer and software, the problem disappeared completely, and the system would sleep instantly when clicking sleep in the apple menu, as it should. I downloaded and installed the most up to date driver software from Kodak's website - Kodak_AiO_Printer_V6_3.dmg, which has supposedly been updated for OsX Lion, and the sleep problem returned again and it took 30 seconds to sleep. Not a major problem, just annoying.





Kodak sent me this:



Thank you for your e-mail regarding your ESP 3 KODAK All in One Printer and the issue you are experiencing. To resolve this, please do the following, but be aware that depending on your Operating System some functionality may be lost:



USB Connection:



MAC OS 10.4.x / MAC OS 10.5.x:

Scanning from the printer to the computer (using the printer LCD to start the scan) will not work.



MAC OS 10.6.x: No loss of functionality



Move the KodakAiOBonjourAgent.app to the desktop from /Library/Printers/Kodak/AiO_Printers/KodakAiOBonjourAgent.app.

The customer will need to enter the administrator password to perform this action.



Delete the com.kodak.BonjourAgent.plist file from

/Library/launchAgents/com.kodak.BonjourAgent.plist



Restart the computer.



It's obviously not the first time they have answered this question. I did what they suggested. These steps fixed my sleep delay problem completely, but I ended up with the bonjour app file living on the desktop.

Aug 19, 2011 5:05 AM in response to ApexRon

Well after trying virutally everyting here, from print ques, terminal ccommands & PRAM/VMRAM flashes, etc...my ills turned out to be a faulty RAM module.

I DO find a it a bit funny that the module failed during the same evening that I installed Lion. :/


For the record, I am still not completely convinced by Lion yet. Got some quirks I am still slightly bothered with.


Good luck to all with those big issues...Apple DOES need to get craking with fixing these. This is an update, NOT a new OS.

Aug 20, 2011 4:26 AM in response to W M R

I tried the "Terminal thing" with Mail running and my Mac not going to sleep. What means 3781?


Active Profiles:

Battery Power 1

AC Power 2*

Currently in use:

womp 1

halfdim 1

sms 1

panicrestart 157680000

gpuswitch 2

hibernatefile /var/vm/sleepimage

networkoversleep 0

disksleep 10

sleep 0 (imposed by 3781)

hibernatemode 3

ttyskeepawake 1

displaysleep 10

acwake 0

lidwake 1

Aug 20, 2011 8:03 AM in response to W M R

Now there's another message for me in Terminal (my Mac still only and always sleeps without Mail running):


Active Profiles:

Battery Power 1

AC Power 2*

Currently in use:

womp 1

halfdim 1

sms 1

panicrestart 157680000

gpuswitch 2

hibernatefile /var/vm/sleepimage

networkoversleep 0

disksleep 10

sleep 0 (imposed by 45)

hibernatemode 3

ttyskeepawake 1

displaysleep 10

acwake 0

lidwake 1

OS X Lion 10.7 Sleep Issue

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.