Bluetooth Can't Connect to Devices After Suspend

Bug #788259 reported by Cerin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bluez (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: bluez

I'm running Ubuntu 10.04 on a Macbook 5.5. I was using the Macbook's builtin Bluetooth, which working fine, even with suspend. However, this recently got fried, so I was forced to start using a Targus USB Bluetooth adapter.

The adapter works fine after a fresh reboot. However, Bluetooth becomes unusable after suspend. Before suspend, I can use the "Bluetooth Preferences" dialog to detect and pair to bluetooth devices, but after suspend, it shows the devices I had previously paired with, but doesn't detect them or provide a way to reconnect. The only solution I've found is to remove the pairing, set my device back into pairing mode, and repair, which is very frustrating.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: bluetooth 4.60-0ubuntu8
Uname: Linux 2.6.32-020632-generic x86_64
NonfreeKernelModules: nvidia wl
Architecture: amd64
Date: Wed May 25 13:37:42 2011
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
InterestingModules: bnep btusb
MachineType: Apple Inc. MacBookPro5,5
PackageArchitecture: all
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-020632-generic root=UUID=b3f45a1c-0d35-43ce-bb7e-32400f29bd9e ro vga=792 splash quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: bluez
dmi.bios.date: 06/15/09
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP55.88Z.00AC.B03.0906151708
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-F2268AC8
dmi.board.vendor: Apple Inc.
dmi.chassis.asset.tag: Asset Tag#
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F2268AC8
dmi.modalias: dmi:bvnAppleInc.:bvrMBP55.88Z.00AC.B03.0906151708:bd06/15/09:svnAppleInc.:pnMacBookPro5,5:pvr1.0:rvnAppleInc.:rnMac-F2268AC8:rvr:cvnAppleInc.:ct10:cvrMac-F2268AC8:
dmi.product.name: MacBookPro5,5
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
hciconfig:
 hci0: Type: USB
  BD Address: 00:19:0E:09:17:4D ACL MTU: 1021:8 SCO MTU: 64:1
  UP RUNNING PSCAN
  RX bytes:6948 acl:23 sco:0 events:757 errors:0
  TX bytes:1346514 acl:1405 sco:0 commands:43 errors:0
rfkill:
 5: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no

Revision history for this message
Cerin (chrisspen) wrote :
Revision history for this message
Cerin (chrisspen) wrote :

$ lsmod | grep bt
btusb 12752 4

$ hciconfig
hci0: Type: USB
 BD Address: 00:19:0E:09:17:4D ACL MTU: 1021:8 SCO MTU: 64:1
 UP RUNNING PSCAN
 RX bytes:93601 acl:23 sco:0 events:13136 errors:0
 TX bytes:25436048 acl:26163 sco:0 commands:43 errors:0

Revision history for this message
Cerin (chrisspen) wrote :

Note, this appears to similar to the problem reported in https://bugs.launchpad.net/ubuntu/+source/gnome-bluetooth/+bug/591298

Based on the comments in that ticket, there appears to be a bug in bluetooth-applet that causes it to break after suspend.

The workaround is to add the following script to /etc/pm/sleep.d

#!/bin/bash
case "$1" in
    resume|thaw)
        killall bluetooth-applet
        nohup bluetooth-applet &
        ;;
esac

which kills and re-runs bluetooth-applet.

Revision history for this message
dino99 (9d9) wrote :

Closing that outdated report as EOL has been reached long time ago

Changed in bluez (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.