[Bug 268502] Re: Bluetooth doesn't work (hci_cmd_task: hci0 command tx timeout)

Adrian adrian.grebin at gmail.com
Fri Aug 21 20:37:02 BST 2009


I am running jaunty 9.04  2.6.28-15 with bluez 4.42 and still having issues.
tryied with several kernel ranging from 2.6.27-11 , 2.6.28-11 and 2.6.29.6 with bluez 4.32 and bluez 4.42 having the same results.
Sometimes the dongle is well recognized and can pair, and transfer files, some other times not.
restarting bluetooth (/etc/init.d/bluetooth restart) removing btusb, starting bluetooth again and then insterting the module again seems to work but again, just sometimes.

I've read that there is an actual fix, it seems to be a btusb issue, how
can i go back to the previous driver, just by recompiling manuall
another kernel?

The configuration that i have now is:
root at redemption:~# uname -a 
Linux redemption 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009 i686 GNU/Linux
root at redemption:~# lsusb |grep -i blue
dBus 008 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
root at redemption:~# dpkg -l |grep blue
ii  blueman                                    1.10-1~ppa3j                                               A Graphical bluetooth manager
ii  bluetooth                                  4.42-2                                                     Bluetooth support
ii  bluez                                      4.42-2                                                     Bluetooth tools and daemons
ii  bluez-alsa                                 4.42-2                                                     Bluetooth ALSA support
ii  bluez-audio                                4.42-2                                                     Transitional package
ii  bluez-cups                                 4.42-2                                                     Bluetooth printer driver for CUPS
rc  bluez-gnome                                1.8-0ubuntu5                                               Bluetooth utilities for GNOME
ii  bluez-gstreamer                            4.42-2                                                     Bluetooth GStreamer support
ii  bluez-utils                                4.42-2                                                     Transitional package
ii  gnome-bluetooth                            0.11.0-0ubuntu4                                            GNOME Bluetooth tools.
ii  libbluetooth3                              4.42-2                                                     Library to use the BlueZ Linux Bluetooth stack

Typical message:
root at redemption:~# hciconfig hci0 up
Can't init device hci0: Connection timed out (110)

- After stopping bluetoog (/etc/init.d/bluetooth stop)
- rmmod btusb
- modprobe btusb
I get this:

root at redemption:~# hciconfig dev
hci0:	Type: USB
	BD Address: 00:1F:81:00:02:50 ACL MTU: 1021:4 SCO MTU: 180:1
	UP RUNNING 
	RX bytes:407 acl:0 sco:0 events:18 errors:0
	TX bytes:318 acl:0 sco:0 commands:19 errors:2

root at redemption:~# hcitool inq
Inquiring ...
Inquiry failed.: Connection timed out
- and some syslog errors:
Aug 21 16:34:07 redemption bluetoothd[6915]: bridge pan0 created
Aug 21 16:34:07 redemption bluetoothd[6915]: HCI dev 0 registered
Aug 21 16:34:07 redemption bluetoothd[6915]: HCI dev 0 up
Aug 21 16:34:07 redemption bluetoothd[6915]: Starting security manager 0
Aug 21 16:34:12 redemption bluetoothd[6915]: Can't read class of adapter on /org/bluez/6915/hci0: Connection timed out (110)
Aug 21 16:34:12 redemption kernel: [ 2849.585162] hci_cmd_task: hci0 command tx timeout
Aug 21 16:34:17 redemption bluetoothd[6915]: Sending getting name command failed: Connection timed out (110)
Aug 21 16:34:17 redemption kernel: [ 2854.588101] hci_cmd_task: hci0 command tx timeout
Aug 21 16:34:19 redemption kernel: [ 2855.987346] hci_cmd_task: hci0 command tx timeout
Aug 21 16:34:22 redemption bluetoothd[6915]: Can't read class of device on hci0: Connection timed out (110)

Any help would be appreciated.


thanks.

-- 
Bluetooth doesn't work (hci_cmd_task: hci0 command tx timeout)
https://bugs.launchpad.net/bugs/268502
You received this bug notification because you are a member of
Bluetooth, which is subscribed to bluez in ubuntu.



More information about the Ubuntu-bluetooth mailing list