bug with my broadcom bluetooth usb dongle

Bug #133690 reported by Fabien Lusseau
52
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bluez-utils (Ubuntu)
Fix Released
Medium
Bluetooth
gnome-bluetooth (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: bluez-utils

My broadcom usb dongle doesn't work without a:

sudo hciconfig hci0 reset

I think this problem appear with other dongles (for exemple: http://gentoo-wiki.com/HARDWARE_Dell_Inspiron_640m#Bluetooth)

it will be good to add at end of the bluetooth init script

a command like:

sleep 1 && hciconfig hci0 reset

by default.

Revision history for this message
Fabien Lusseau (fabien-beosfrance) wrote :

I have tested to add just (in the /etc/init.d/bluetooth):

hciconfig hci0 reset

before "exit 0"

And it work directly at boot.

I have added my lsusb -v of my broadcom usb bluetooth dongle in attachment.

Revision history for this message
Jackflap (deriziotis) wrote :

Confirmed on Ubuntu 7.10. bluez-utils 3.19 with both the following usb bluetooth adapters:

Edimax EB-DGC2
Trust BT120

My dmesg displays the following messages whenever I move the mouse before running hciconfig hci0 reset:

[ 169.162683] hci_acldata_packet: hci0 ACL packet for unknown connection handle 42
[ 169.173697] hci_acldata_packet: hci0 ACL packet for unknown connection handle 42
[ 169.185666] hci_acldata_packet: hci0 ACL packet for unknown connection handle 42

After I run hciconcig hci0 reset, the connection re-establishes.

I can also run the following instead of hciconfig hci0 reset:

sudo hciconfig hci0 down
sudo hciconfig hci0 up

and it also fixes the problem.

Changed in bluez-utils:
assignee: nobody → bluetooth
status: New → Confirmed
Changed in gnome-bluetooth:
status: New → Confirmed
Revision history for this message
Jackflap (deriziotis) wrote :

I've just reproduced this problem in Fedora. So the problem is definitely upstream. Will post an email to bluez-users since Launchpad seems to be dead when it comes to bluetooth development

Revision history for this message
Dani Alonso (dalonso) wrote :

Confirmed in hardy, too.

Revision history for this message
Bart de Koning (bratdaking) wrote :

Confirmed, using Hardy and a MSI BToes 2.0 EDR Micro Dongle.
After startup hcitool scan reports:
Device is not available: No such device
and hcitool dev is empty

sudo /etc/init.d/bluetooth restart
starts the device, however hcitool scan gives:

Scanning ...
Inquiry failed: Connection timed out

The command:
sudo hciconfig hci0 reset
makes it working perfectly (for connecting my phone at least), however after each reboot I have to restart bluetooth and reset hciconfig manually again. I will try out the above mentioned patch and report whether it was successful or not.

Revision history for this message
Bart de Koning (bratdaking) wrote :

Adding sleep 1 && hciconfig hci0 reset or only the last part in /etc/init.d/bluetooth did not entirely fix the problem. It still does not recognize my dongle at startup, and still needs a manual restart of the script, but obviously I do not have to reset hciconfig anymore.

Revision history for this message
Stani (stani) wrote :

@Bart de Koning:
I also have the MSI BToes 2.0 EDR Micro Dongle. Adding this to /etc/init.d/bluetooth fixes it for me:

(sleep 5 && hciconfig hci0 reset) &

Revision history for this message
Borahshadow (codyregister) wrote :

@Bart de Koning and stani
I have the mogodapter (micro adapter with same lsusb reported ID as yours) this makes it work thanks.

Revision history for this message
Borahshadow (codyregister) wrote :

Oh scratch that it appears to work at first but does not actually work with my BT mouse. :(

Revision history for this message
Borahshadow (codyregister) wrote :

Sorry to spam this bug report but it will work with my mouse if I run sudo hidd --connect=XX:XX:XX:XX:XX:XX everytime I use it. Auto connecting like what works with my other dongle is what does not work.

Revision history for this message
Michael Terry (mterry) wrote :

I have the same problem with a bluetooth mouse, and hciconfig hci0 reset fixes it. Oddly enough, even without that workaround, hard-resetting my laptop (by removing its battery, say) makes the mouse work fine next boot... -- even after I first do a normal boot so the mouse isn't working. If I then hard-reset, it starts working again. Something the init.d shutdown code is doing?

Revision history for this message
Jef Allbright (jef-jefallbright) wrote :

Same problem with Broadcom USB Bluetooth in my Vaio TZ330e with Hardy.

While the adapter is always found, unable to discover any remote devices.

"sudo hciconfig hcio0 reset" makes it work.

Revision history for this message
mwolf5 (markus-wolf) wrote :

Hi @ll,

using the MSI BToes 2.0 EDR Micro Dongle the command "sudo hciconfig hci0 reset or down/up" is required in order to get the legacy Apple Wireless Keyboard and the Apple Wireless Mighty Mouse runnning.

Revision history for this message
mwolf5 (markus-wolf) wrote :

Sorry, just forgot to mention that I am using Ubuntu Hardy - Kernel Linux 2.26.24-19-generic.

Thanks and cheers,
Markus

Revision history for this message
pierrelux (pierrelucbacon) wrote :

This problem is still under hardy. I have to run this command after each cold boot or when I restart from suspend.
The hardware involved in my case is Macbook Pro Penryn with the wireless Mighty Mouse from Apple.

Revision history for this message
LaMs (sylvain-lamontagne) wrote :

I also have this problem on a Dell Latitude D630 using a Dell BT Keyboard and a Dell BT Mouse.
Doing "sudo hciconfig hci0 down" and "sudo hciconfig hci0 up" made them work properly, but I also think that the problem should be fix at the bottom.

Lams

Revision history for this message
kikvors (kikvors) wrote :

same problem and resolution with a vaio SZ 750/N running Intrepid Ibex.

Revision history for this message
ronaldv (rwv) wrote :

I have something similar on intrepid with my sitecom dongle (CN-521v2 001) connecting to a wireless apple keyboard. When I reboot the dongle doesnt connect with the keybouard properly unless I turn the power supply off after shutting down. Alternatively, removing the dongle from the usb slot also does the trick and the bluetooth connection with my keyboard is automatically reestablished after that.

Obviously the dongle is left in some state after shutting down that is different from powering up. and that doesnt recover properly. Remember the power stays on the usb port even when shutting down (unless you also turn the power supply off).

Thought it would be useful to share this .....

Revision history for this message
Michael Rooney (mrooney) wrote :

Setting importances to Medium as it seems to potentially affect a large number, although it has a fairly straightforward workaround.

Changed in bluez-utils:
importance: Undecided → Medium
Changed in gnome-bluetooth:
importance: Undecided → Medium
Revision history for this message
gatopeich (gatoguan-os) wrote :

Same problem with tiny Belking Bluetooth-USB adapter device 050d:016a.

Revision history for this message
maximi89 (maximi89) wrote :

What about the kernels?
i believe this is fixed in 2.6.30-rc6 kernels...

i have a ISSC Dongle, this works very well, i´m using Debian Unstable 2.6.30-rc6

Revision history for this message
Data (ubuntuaddress) wrote :

Can anyone confirm this is fixed?

Changed in gnome-bluetooth (Ubuntu):
status: Confirmed → Incomplete
Changed in bluez-utils (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Steffen Krumbholz (skrumbholz) wrote :

I've checked the issue with Karmic-beta Live-CD. The problem seems to be fixed.

I've used an Anycom USB-500 Bluetooth 2.1 Dongle and a Bluetooth Mouse on an ASUS EeePC 900A. Therefore I was not able to check file transfer. But pairing was no problem at all after booting into the live environment.

Chipset: Broadcom BCM2046B1
BT-Device: 0a5c:2157 Broadcom Corp.

Should I attach some logs/files?

Revision history for this message
Leif Gruenwoldt (leifer) wrote :

Success! Thanks for the headsup AlfredSK.

My Logitech Cordless MediaBoard Pro keyboard and bluetooth dongle paired and are working in Ubuntu 9.10 Karmic-beta Live-CD. I am typing this from my MediaBoard :)

$ lsusb | grep Bluetooth
Bus 004 Device 003: ID 22b8:0850 Motorola PCS Bluetooth Device

Revision history for this message
Bart de Koning (bratdaking) wrote :

Fixed for me in Karmic too. My Bluetooth USB dongle is working without any additional commands!

$ lsusb | grep Bluetooth
Bus 004 Device 003: ID 0a5c:2039 Broadcom Corp. Bluetooth Device

Thanks!
Btw also thanks for all the improvements: eg. I can now control my computer with my phone! Why I need it, I do not know, but it is funny!

So I guess this bug can be closed...

Revision history for this message
Data (ubuntuaddress) wrote :

Closing bug due to above comments

Changed in bluez-utils (Ubuntu):
status: Incomplete → Fix Released
Changed in gnome-bluetooth (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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