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

Leif Gruenwoldt leifer at gmail.com
Sun Apr 5 04:45:11 UTC 2009


@Dominique Meeùs

Thankyou!! ~7months later my bluetooth keyboard&mouse finnally works
with latest kernel + your work around.

@ Ian M. Stewart

You might be missing a step or two. For reference my complete steps are:

1. sudo /etc/init.d/bluetooth stop
2. <unplug your bluetooth dongle and plug it back in now>
3. sudo hciconfig hci0 up
4. hciconfig -a
5. sudo hcitool scan
6. sudo hidd --search 00:07:61:9D:87:66

(Yes i'm using hidd from bluez-compat to connect, I don't know how else
to connect)


For interest here's the full log:


$ lsusb | grep Blue
Bus 003 Device 004: ID 22b8:0850 Motorola PCS Bluetooth Device
leifer at leifer-desktop:~$ uname -a
Linux leifer-desktop 2.6.28-11-generic #40-Ubuntu SMP Fri Apr 3 17:39:51 UTC 2009 i686 GNU/Linux

leifer at leifer-desktop:~$ sudo /etc/init.d/bluetooth start
 * Starting bluetooth                                                    [ OK ] 
leifer at leifer-desktop:~$ hciconfig -a
hci0:	Type: USB
	BD Address: 00:0C:55:36:1E:56 ACL MTU: 377:10 SCO MTU: 16:0
	UP RUNNING 
	RX bytes:667 acl:0 sco:0 events:19 errors:0
	TX bytes:578 acl:0 sco:0 commands:21 errors:0
	Features: 0xff 0xfe 0x0d 0x38 0x08 0x08 0x00 0x00
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: 
	Link mode: SLAVE ACCEPT 
Can't read local name on hci0: Connection timed out (110)
leifer at leifer-desktop:~$ sudo hcitool scan
Scanning ...
Inquiry failed: Connection timed out


Ok lets try turning off bluetoothd.


$ sudo /etc/init.d/bluetooth stop
 * Stopping bluetooth                                                    [ OK ] 
leifer at leifer-desktop:~$ sudo hciconfig hci0 up
leifer at leifer-desktop:~$ hciconfig -a
hci0:	Type: USB
	BD Address: 00:0C:55:36:1E:56 ACL MTU: 377:10 SCO MTU: 16:0
	UP RUNNING 
	RX bytes:342 acl:0 sco:0 events:10 errors:0
	TX bytes:35 acl:0 sco:0 commands:10 errors:0
	Features: 0xff 0xfe 0x0d 0x38 0x08 0x08 0x00 0x00
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: 
	Link mode: SLAVE ACCEPT 
	Name: 'Broadcom BCM2035'
	Class: 0x000000
	Service Classes: Unspecified
	Device Class: Miscellaneous, 
	HCI Ver: 1.2 (0x2) HCI Rev: 0x0 LMP Ver: 1.2 (0x2) LMP Subver: 0x309
	Manufacturer: Broadcom Corporation (15)

leifer at leifer-desktop:~$ sudo hcitool scan
Scanning ...
	00:07:61:9D:87:66	Logitech Cordless MediaBoard Pro(TM)
leifer at leifer-desktop:~$ sudo hidd --search 00:07:61:9D:87:66
Searching ...
	Connecting to device 00:07:61:9D:87:66


Success!

-- 
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 Kernel
Bugs, which is subscribed to Linux.




More information about the kernel-bugs mailing list