[Bug 402930] [NEW] Bluetooth is disabled after coming back from sleep

Oded Arbel oded at geek.co.il
Wed Jul 22 09:59:13 BST 2009

Public bug reported:

I'm using Karmic with gnome-bluetooth 2.27.5-1ubuntu1 on a Thinkpad T61 with a builtin broadcom bluetooth adapter:
$ lsusb
Bus 003 Device 008: ID 0a5c:2110 Broadcom Corp. Bluetooth Controller

The problem is that after waking from sleep, the hardware bluetooth led
is on, but the gnome-bluetooth icon has a red X and I cannot connect to
any device: when I open the context menu it shows no devices and all
entries are disabled except "preferences" and the top 2 that read
"Bluetooth: On" and "Turn off bluetooth".

Choosing "turn off bluetooth" has no effect. When I open the preferences
dialog, it has only the text "Bluetooth is disabled" and a large button
labeled "Turn on bluetooth" (yes, the opposite of the menu). Clicking
the button makes the button disabled but otherwise has no effect - if I
close the preferences dialog and open it again, it reverts back to the
same status.

Syslog shows nothing interesting when I do this, nor does dmesg. Grepping dmesg though gives me these:
$ dmesg | grep blue
[ 7597.840073] <6>bluetoothd[6362]: segfault at 7f658eccb4 ip 00007f658e9d6b79 sp 00007fffb89558b0 error 4 in libc-2.9.so[7f658e95f000+166000]
[ 8291.984110] <6>bluetoothd[10580]: segfault at 7fa791e9a4 ip 00007fa791ba5b79 sp 00007fff1b3d1b60 error 4 in libc-2.9.so[7fa791b2e000+166000]

I think the time stamps are from when I woke the computer.

lastly bluetoothd is not currently running.

I can often workaround the issue by toggling the kill radio switch off
and then on again (either through the hardware toggle or using the
Thinkpad's Fn+F5 shortcut). When I do that, bluetoothd comes back up and
everything goes back to normal.

I opened the ticket on gnome-bluetooth as it is obviously behaving badly
(the applet menu and pref dialog disagreeing on the bluetooth state and
failing to work), but quite likely the underlying problem is in bluez's
bluetoothd or the driver.

** Affects: gnome-bluetooth (Ubuntu)
     Importance: Undecided
         Status: New

Bluetooth is disabled after coming back from sleep
You received this bug notification because you are a member of
Bluetooth, which is subscribed to gnome-bluetooth in ubuntu.

More information about the Ubuntu-bluetooth mailing list