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.

iMac with Lion not waking after overnight sleep

Since upgrading to Lion a few days ago, my iMac (2010) won't wake up with magic keypad swipe, button press, spacebar or any other key. Works fine and wakes fine when used periodically during the day, but is locked tight upon first use in the AM. The only thing that works is a hard power off and reboot. Any thoughts? Thanks!

iMac, Mac OS X (10.7)

Posted on Jul 22, 2011 11:49 AM

Reply
265 replies

Nov 20, 2011 4:37 PM in response to Hansch

Thank goodness Apple admits it is a known bug.


I'm still experiencing random total disconnects of my bluetooth keyboard and trackpad.

It is incredibly frustrating when you're working on a spreadsheet, leave your desk for five minutes and then come back and you have to reboot the iMac. I'm very grateful for the autosave feature in Excel at the moment.


I will try the suggested temporary fix of disconnecting all usb devices before Ieave my iMac.

It sounds like an awful fix if you're only going to be away for your desk for a few minutes and you need to use eg a usb drive regularly

Nov 20, 2011 11:15 PM in response to mobelby

Well, I use the following workaround for several weeks now: The issue comes up only with 3 bluetooth devices. When I disconnect my trackpad or my mouse, everything works fine. I tested both versions (BT keyboard + BT mouse OR BT keyboard + BT trackpad) for two weeks each without problems. Activating the 3rd device will activate the issue again.

Nov 21, 2011 12:39 AM in response to alanfromcamas

Great news to hear Apple have recognised this as a bug.


It looks as though different people have found short term workarounds which all seen to be either

The removal of one or more USB or BT devices or

Changing the hibernate mode to 1


Removing all USB devices suits my way of working best as I can put the most used devices on a single hub. I couldn't bear to be without my mouse/trackpad combination nowadays :-)


Anyway, here is hoping for a fix real soon.


Igs

Nov 30, 2011 8:22 AM in response to mcolome1

I buy Apple because I need the "just works" and don't have the time to do clean reinstalls and general sysadmin maintenance. The only "clean" i want and need is a "clean fix".


After tracking this and other related threads over the past few months, I've become fairly convinced that quite a few people claim victory fairly quickly.


I've had 2 major Lion-only issues with BT devices on my 24-inch Early 2008 iMac:

1. Lockups while using the system

2. When waking from long (overnight sleep), I get a flywheel on wakeup after the hard drive spins up. A manual power off/on is the only fix i've found.


I took care of #1 by removing and rediscovering my BT mouse and keyboard. I did this operation before 10.7.2 was released but I did notice that 10.7.2 forced me through this process again during the update. Since then, I've had no sudden lockups so I gather that my #1 problem is now fully addressed.


I still have lingering problems with #2 despite swapping magic mouse for an older (regular?) BT mouse. hibernatemode to 0 or 1 makes no difference. As a result, my evening ritual involves saving my work and my morning ritual is pressing poweroff/on while making coffee.


There's no public way to track bug id #8360414, I gather.

Nov 30, 2011 12:29 PM in response to alanfromcamas

I had this same problem with a Mac Pro and saw hints about USB and Bluetooth in some of the posts. I have BT disabled, so that wasn't the problem, but my mouse is plugged into my keyboard which is plugged into my monitor. I saw someone's suggestion to plug a USB device directly into the computer, so I used just a plain old mouse plugged directly into the front of the tower, wiggled it and the computer woke up.


As I was typing this, my computer fell asleep again and appeared to be frozen when I wiggled either the mouse plugged into the keyboard or the mouse plugged into the tower, BUT it unlocked this time when I pressed a key. Seems like there's some confusion about which USB is active / available. So if you try my solution above, you may want to unplug the device you use to wake it up after it wakes so that you can use the same trick the next time it sleeps. It seems like it might be a good idea to always have an unused USB port available for such use until Apple decides to fix the problem for real.


Though perhaps my computer, like me, just wanted a good snooze after lunch...


HTH

Dec 8, 2011 12:10 AM in response to alanfromcamas

Same issue with the iMac 2011 (mid.).


I found out at the problem has been open from the year 2010.


And I really hate, when I'm trying to start my iMac from the sleep and Apple wireless keyboard, mouse and trackpad can't connect to my iMac and I need to force shutdown and start again. And losing all my open applications and so on...


So. What I did is this;


Set default hibernatemode from the 0 to the 3.


After this, contents of the RAM is also saved in to the disk ( /var/vm/sleepimage ).


And I also added line;


10 * * * *

/usr/bin/killall -HUP blued


...to the ROOT's crontab.


How to;


Check hibernatemode;


pmset -g hibernatemode


Default is 0 (suspend to RAM). Set this to 3 so Mac hibernates to RAM and disk.


sudo pmset -a hibernatemode 3


So, if You need to force Your Mac to shutdown, You do not lose anything. All open applications and content are as they were before shutdown (handy also when Your Mac is sleeping and power failure occurs). Exept VPN and other network connections.


Second thing is to set up the Bluetooth Daemon restart.


sudo -i

crontab -e


to add line in the editor press keys ESC and i < ESC + i >

type;


10 * * * *

/usr/bin/killall -HUP blued


To save the crontab file, press key :wq! < : + w + q + ! >


This will restart Bluetooth Daemon every 10 minutes.


Ps. checking status of the Bluetooth Daemon would not help. Tested. It seems to be running in the process list when iMac loses connections to devices and do not allow Bluetooth devices to reconnect.

Dec 21, 2011 7:42 AM in response to alanfromcamas

Aargh, I have this problem too. Mid-2011 27" iMac running Lion 10.7.2, and I do have the trio of magic mouse, trackpad, and keyboard. My wife's Mini (late 2009, Lion, and also with the trio of bluetooth input devices) does NOT have the problem, btw.


It's not reproducible: 9 out of 10 times, I can succesfully wake the computer from sleep with any of the input devices and I'm good to go.


I have taken to keeping a USB mouse at the desk for the times when the problem recurs. When I wake the computer with the USB mouse, bluetooth is off, and I can't turn it back on. I get a spinning beachball when I go into the BT preferences. The only way to get back to work at this point is to restart the machine :-/

Jan 8, 2012 10:03 AM in response to oxocube

I have this problem also. Mid 2011 27" iMac running 10.7.2 lion.


I also have the BT trio, keyboard, mouse, trackpad.


Not reproducible. Most times it wakes and works fine, but once in a while no. Connecting a USB keyboard and mouse is the only way to get in and to find the BT radio is off in preferences.Only a full reboot helps. Very annoying.


This combined with other unreliable behaviour makes this the worst computer I've every had in my life. I program computers for a living so I've been thru lots. Never has one made me so ****** off as this one.

Jan 12, 2012 8:06 PM in response to myc5

I have to disagree with you there. I'm not a computer programmer, but a computer tech. (MCSE) Switching to a mac has been nothing but "JOYOUS" lol. But it does have its faults just like windows......ok maybe not as bad as windows...in my own opinion.


Anyway, I've posted a few times on this topic. I am still having the same issue, but not as frequent. For example, my imac has been on for the past week. Bluetooth keyboard and magic mouse and has come on from sleep without a flaw. But a month ago, it would happen every day like clock work. But I still am unable to figure out what is the cause.


My fix has been to shut down my mac before I go to bed. Kind of *****, but not sure what else to do. I put a call in to apple. They ran me through the regular troubleshooting steps and of course I could not reproduce the issue. They gave me a ticket number and told me to call back when it happens again.....I'll re-post when that happens.

Jan 14, 2012 3:05 PM in response to alanfromcamas

I'm having a similar issue, except that my iMac (2010 27" i5 model) will not only not wake up from Bluetooth accessories (keyboard, trackpad, wireless third party keypad), but it also won't wake from USB (Wacom tablet always plugged in, both USB keyboard and mouse plugged in after the wake issue is discovered).


Everything worked fine with all the USB and Bluetooth accessories in their current state until this morning, too. No idea what could possibly have caused this.

iMac with Lion not waking after overnight sleep

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