Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Hardware - Troubleshooting and Discussion > Mac Notebooks > Bluetooth Preventing Sleep and Shutdown

Bluetooth Preventing Sleep and Shutdown
Thread Tools
Fresh-Faced Recruit
Join Date: Oct 2007
Status: Offline
Reply With Quote
Oct 22, 2007, 11:19 PM
 
I'm having a strange issue with Bluetooth on my MacBook Pro. Sometimes, if I for any reason lose the connection to a bluetooth device (move out of range, interference - anything), even momentarily, the following weird things happen:

1. I cannot shut off bluetooth power — If I hit "turn bluetooth off" the button greys out but Bluetooth is still labeled as being on. Bluetooth devices will not connect when bluetooth is in this "half-off" state.

2. The machine cannot be put to sleep. Selecting sleep from the menu does absolutely nothing, as does closing the lid.

3. The machine cannot be shut down. Selecting shut down simply leaves me at a blue screen with the spinning progress indicator forever.

I have a hard time reproducing this one. It does not occur if connections to bluetooth device are lost shortly after a restart. All I can say is that if the machine has been on for awhile and a connection to any bluetooth device is lost, all the above symptoms appear. I have not been able to find any process chugging CPU or hogging RAM during this weirdness. Also, the problem does not occur if I manually shut off the bluetooth power — only when device connections are lost while Bluetooth is active.

UPDATE: When this happened today, I decided to try something new. Bluetooth was stuck in the "half-off" state. I remembered that VMware Fusion allows you to reroute the Bluetooth Controller to the Virtual machine, which disables it entirely for the Mac OS. On a hunch, I launched Vmware and told it to use the Bluetooth host controller. What happened next was very weird: The machine immediately went to sleep. I was able to wake it up using the keyboard after a few seconds. It awoke normally, and I noticed that Bluetooth was now listed as disabled, and VMware was able to use the bluetooth controller. I proceeded to quit VMware. My bluetooth re-enabled fully on the mac OS side and I was able to disable and re-enable it without issues. Sleep and shutdown also now worked fine.

Now, although VMware seems able to fix the problem by sort of forcing the bluetooth system to reset, I have no reason to believe VMware is the culprit, as it installs no kernel extensions, and as far as I know, the only processes that run when VMware is not open are a few network processes of some sort, and nothing that appears to be related to Bluetooth. I can certainly try uninstalling Fusion (although i do use it regularly) if someone thinks it is likely to help.

So, it appears I can now temporarily fix the problem without doing a hard restart. This is an improvement, but the process is awkward and annoying. A solution would be greatly appreciated.
     
Fresh-Faced Recruit
Join Date: Nov 2007
Status: Offline
Reply With Quote
Nov 3, 2007, 04:29 PM
 
Hey, I think I may have solved a similar problem - let me know if this works for you.

Symptoms:
At home I use wireless kb + mouse (m) (both Apple). I put my mac in sleep mode (with bluetooth kb+m connected) and open it again at a new location without the kb + m at hand. The screen shows the icon for the disconnected bluetooth devices, then I try to turn off the bluetooth in the bluetooth panel bar.

I cannot shut off bluetooth power — If I hit "turn bluetooth off" the button greys out but Bluetooth is still labeled as being on. Bluetooth devices will not connect when bluetooth is in this "half-off" state.

The machine cannot be put to sleep. When I close the lid, the screen turns black (power on, fan running and all) and won't turn on again when opening lid.

I can only restart it but force shutting down (5 secs on power button) and then normal start op.

Possible solution?
Turning off the 'let bluetooth devices awake mac from sleep' option in system preferences. This has worked until now.
     
Professional Poster
Join Date: Mar 2004
Location: UK
Status: Offline
Reply With Quote
Nov 3, 2007, 05:11 PM
 
Bluetooth adaptors are typically connected on the USB bus. USB is notorious for causing sleep issues. As to what you can do about it, thats another issue. Does it make ay difference what the bluetooth device is? Same one every time? I would guess the bluetooth is failing to disconnect properly when it loses connection. If you can't find any bluetooth processes running, maybe you should look for something on the USB bus.

As a better temp fix than using VMware, there is probably a terminal command that will cut off the connection. Don't know if you can unload the extension while it stuck like that.
MacBook 2.0GHz CD; MacBook Pro 15" 2.4GHz Late '08; PowerMac G4 MDD Dual 1GHz; 3x Xserve G4 1GHz; Mac Mini 2GHz; Big pile of broken and working bits;
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:51 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2