Bluetooth drivers prevent system from sleeping in Mavericks - what's going on!?

Just installed Mavericks. My iMac 27" no longer engages the screensaver or puts the monitor to sleep as specified in preferences as a result. When I enter pmset -g assertions in Terminal, I get the following:



10/22/13, 11:03:40 PM PD

Assertion status system-wide:

BackgroundTask 0

PreventDiskIdle 0

ApplePushServiceTask 0

UserIsActive 1

PreventUserIdleDisplaySleep 0

InteractivePushServiceTask 0

PreventSystemSleep 0

ExternalMedia 1

PreventUserIdleSystemSleep 0

NetworkClientActive 0

Listed by owning process:

pid 16(powerd): [0x0000000900000131] 00:19:12 ExternalMedia named: "com.apple.powermanagement.externalmediamounted"

pid 49(hidd): [0x0000000a00000194] 00:15:51 UserIsActive named: "com.apple.iohideventsystem.queue.tickle"

Timeout will fire in 1170 secs Action=TimeoutActionRelease

Kernel Assertions: 0x10c=USB,BT-HID,MAGICWAKE

id=500 level=255 0x4=USB mod=10/22/13, 10:53 PM description=EHC2 owner=AppleUSBEHCI

id=503 level=255 0x8=BT-HID mod=12/31/69, 4:00 PM description=com.apple.driver.IOBluetoothHIDDriver owner=BNBTrackpadDevice

id=504 level=255 0x8=BT-HID mod=12/31/69, 4:00 PM description=com.apple.driver.IOBluetoothHIDDriver owner=AppleBluetoothHIDKeyboard

id=505 level=255 0x100=MAGICWAKE mod=12/31/69, 4:00 PM description=en1 owner=en1



I'm not terribly concerned with "ExternalMedia" as that always appeared in Mountain Lion as well but never actually prevented my system from putting the monitor to sleep. My concern is with the "UserIsActive" item as it appears to refer to "MAGICWAKE" (a google search only shows an app that I do not have installed and sheds no light on what it means in this context) and points directly to my keyboard and trackpad. Oddly, turning "Allow Bluetooth devices to wake this computer" in the Bluetooth advanced preferences does not change this, nor does rebooting. The countdown that appears here is always in the 1160 to 1195 range. I'm completly stumped...

iMac (27-inch Mid 2011), OS X Mavericks (10.9)

Posted on Oct 22, 2013 11:10 PM

Reply
150 replies

Nov 1, 2013 4:59 PM in response to targus

>>Does anyone here know a lot about safemode? Can you confirm that it doesn't load the same caches?...


Safe mode clears some caches.


Starting up into Safe Mode does several things:

  • It forces a directory check of the startup volume. You may see a progress bar on the screen during this check, and the computer may take longer than usual to complete its startup.
  • It loads only required kernel extensions (some of the items in /System/Library/Extensions).
  • Mac OS X v10.5.6 or later: A Safe Boot deletes the dynamic loader shared cache at (/var/db/dyld/). A cache with issues may cause a blue screen on startup, particularly after a Software Update. Restarting normally recreates this cache.
  • It disables all fonts other than those in /System/Library/Fonts (Mac OS X v10.4 or later).
  • It moves to the Trash all font caches normally stored in /Library/Caches/com.apple.ATS/(uid)/ , where (uid) is a user ID number such as 501 (Mac OS X v10.4 or later).
  • It disables all startup items and login items (Mac OS X v10.4 or later).
  • In Mac OS X v10.3.9 or earlier, Safe Mode runs only Apple-installed startup items (such items may be installed either in /Library/StartupItems or in /System/Library/StartupItems; these are different than user-selected account login items).

Taken together, these changes can help resolve software or directory issues that may exist on the startup volume.

Nov 2, 2013 12:20 AM in response to angmoh88

angmoh88:


When you say you "reset" your bluetooth devices, do you just mean you powered them down and turned them back on (as part of the battery changing process) or are you talking about actually making the computer "forget" them and restarting the connection from scratch? I turned my keyboard and trackpad off and on (disconnected them), but nothing changed in my terminal readout.

Nov 2, 2013 1:15 AM in response to targus

targus wrote:


angmoh88:


When you say you "reset" your bluetooth devices, do you just mean you powered them down and turned them back on (as part of the battery changing process) or are you talking about actually making the computer "forget" them and restarting the connection from scratch? I turned my keyboard and trackpad off and on (disconnected them), but nothing changed in my terminal readout.


As I replaced the batteries, I took them out completely. So effectively I see that as hard-reset of the keyboard & trackpad.

Nov 3, 2013 3:40 AM in response to terriblewithcomputers

Similar problem on Macbook Pro, when Maverick went to sleep after lid is closed for a day or so, it might wake up when the lid is open after clicking the track pad, it might not. When it does wake up, put in password, then it went dark again almost immediately and I had to press and hold the power button to shut it off and boot back up and Problem persisted...


I uncheck to Wakeup for Network Access in the Energy Saver, will report if the problem goes away, or not.

Nov 4, 2013 7:41 AM in response to targus

Same problem here. Early 2011 15' MBP taking 2 minutes to sleep, even when there's almost nothing but the Finder running. Way more than the 5/6 secs it took ML.

Here's the log for what it's worth:


4/11/13, 12:33:11 PM GMT

Assertion status system-wide:

BackgroundTask 0

PreventDiskIdle 0

ApplePushServiceTask 0

UserIsActive 1

PreventUserIdleDisplaySleep 0

InteractivePushServiceTask 0

PreventSystemSleep 0

ExternalMedia 0

PreventUserIdleSystemSleep 0

NetworkClientActive 0

Listed by owning process:

pid 51(hidd): [0x0000000a0000050d] 00:05:12 UserIsActive named: "com.apple.iohideventsystem.queue.tickle"

Timeout will fire in 288 secs Action=TimeoutActionRelease

Kernel Assertions: 0x104=USB,MAGICWAKE

id=501 level=255 0x4=USB mod=4/11/13, 12:36 PM description=EHC1 owner=AppleUSBEHCI

id=503 level=255 0x100=MAGICWAKE mod=4/11/13, 12:41 PM description=en0 owner=en0

Nov 5, 2013 2:38 PM in response to targus

Same problem here. I've got a Mid-2012 15" MBP, with 8GB Ram and a 256GB Vertex4 SSD.


I'm getting longer-than-normal sleeps than I was on ML, and did a brand new install of Mavericks.


Also getting the same magicwake error.


Assertion status system-wide:

BackgroundTask 0

PreventDiskIdle 0

ApplePushServiceTask 0

UserIsActive 1

PreventUserIdleDisplaySleep 0

InteractivePushServiceTask 0

PreventSystemSleep 0

ExternalMedia 0

PreventUserIdleSystemSleep 0

NetworkClientActive 0

Listed by owning process:

pid 63(hidd): [0x0000000a0000016a] 19:44:20 UserIsActive named: "com.apple.iohideventsystem.queue.tickle"

Timeout will fire in 562 secs Action=TimeoutActionRelease

Kernel Assertions: 0x100=MAGICWAKE

id=504 level=255 0x100=MAGICWAKE mod=11/5/13, 5:33 PM description=en1 owner=en1.


ALSO, still getting long shutdowns, and the whole ACWAKE problem still exists. Computer comes out of sleep when unplugged or plugged into power. All kinds of annoying for no reason.

Subbing to this tread in hopes of a fix for SOMETHING.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Bluetooth drivers prevent system from sleeping in Mavericks - what's going on!?

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