#721036 /usr/sbin/hciconfig: hciconfig always reports timeout

Package:
bluez
Source:
bluez
Description:
Bluetooth tools and daemons
Submitter:
atar
Date:
2015-05-28 22:00:04 UTC
Severity:
important
#721036#5
Date:
2013-08-27 15:19:10 UTC
From:
To:
The hciconfig cannot initialize my bluetooth antenna.

When I first insert my BT antenna into an USB slot on my machine, the dmesg command emits the following sentence four times:

'Bluetooth: hci0 command tx timeout'

any time I try to run one of the initializtion commands of hciconfig (e.g. hciconfig hci0 up | reset | etc.), the hciconfig says: 'Can't init device hci0: Connection timed out (110)'

#721036#10
Date:
2013-09-26 03:13:11 UTC
From:
To:
Hi,

2013/8/28 atar <atar.yosef@gmail.com>:

When this message occurs, any error in dmesg is displayed?

Could you get log of hcidump?

$ sudo apt-get install bluez-hcidump
$ hcidump
$ sudo hciconfig hci0 reset (other terminal)

If you have an error similar to the URL if you need a patch to the kernel.
http://www.spinics.net/lists/linux-bluetooth/msg31626.html

Best regards,
  Nobuhiro

#721036#15
Date:
2013-12-30 02:09:50 UTC
From:
To:
As for your request, here is the log of the 'hcidump' command either when
I execute the 'hciconfig hci0 up' or the 'hciconfig hci0 reset' commands:

In addition, when I've tried to execute the 'hcitool spinq BT-ADDRESS'
command, the system has been crashed. this means that the GUI was crashed,
a lot of error lines were displayed and the system has stopped responding.

Hope this info will help solve the problem.

Regards,

atar.

#721036#20
Date:
2013-12-30 02:03:36 UTC
From:
To:
As for your request, here is the log of the 'hcidump' command either when I execute the 'hciconfig hci0 up' or the 'hciconfig hci0 reset' commands:

In addition, when I've tried to execute the 'hcitool spinq BT-ADDRESS' command, the system has been crashed. this means that the GUI was crashed, a lot of error lines were displayed and the system has stopped responding.

Hope this info will help solve the problem.

Regards,

atar.

#721036#25
Date:
2015-05-28 21:56:06 UTC
From:
To:
Dear Maintainer,

maybe I have a similar problem.

   * What led up to the situation?
I switched on bluetooth mode both at my radio and my laptop.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
I successfully connected both, changed audio output to the radio and also
succeeded with this (the sound from the radio speakers was perfect).

   * What was the outcome of this action?
But then after some time playback stops.

   * What outcome did you expect instead?
Playback to continue.


Maybe this helps:
$ dmesg
[...]
[ 2187.024267] input: 40:EF:4C:16:2D:7A as /devices/virtual/input/input16
[ 2196.046653] Bluetooth: hci0 command 0x0c1a tx timeout
[ 2198.068714] Bluetooth: hci0 command 0x0402 tx timeout
[ 2230.733089] usb 1-1.5: USB disconnect, device number 3
[ 2230.942049] usb 1-1.5: new full-speed USB device number 6 using ehci-pci
[ 2231.034965] usb 1-1.5: No LPM exit latency info found, disabling LPM.
[ 2231.036773] usb 1-1.5: New USB device found, idVendor=8087, idProduct=0a2a
[ 2231.036777] usb 1-1.5: New USB device strings: Mfr=0, Product=0,
SerialNumber=0
[ 2231.055548] Bluetooth: hci0: read Intel version: 370810011002270d0d
[ 2231.055552] Bluetooth: hci0: Intel device is already patched. patch num: 0d
[ 2272.234899] Bluetooth: Failed to start inquiry: status 12
[ 2305.021110] Bluetooth: hci0 command 0x0402 tx timeout
[ 2355.311979] Bluetooth: hci0 command 0x200c tx timeout


$ hcidump
HCI sniffer - Bluetooth packet analyzer ver 5.23
device: hci0 snap_len: 1500 filter: 0xffffffffffffffff
[...]
    status 0x00
    LE Set Random Address (0x08|0x0005) ncmd 1
    status 0x00
    LE Set Scan Parameters (0x08|0x000b) ncmd 1
    status 0x00
    LE Set Scan Enable (0x08|0x000c) ncmd 2
    status 0x00
    LE Set Scan Enable (0x08|0x000c) ncmd 2
    status 0x00
    Inquiry (0x01|0x0001) status 0x00 ncmd 2
    bdaddr 40:EF:4C:16:2D:7A mode 1 clkoffset 0x7d6a class 0x240404 rssi -76
    Shortened local name: 'TechniSat'
    TX power level: 4
    Complete service classes: 0x111e 0x1108 0x110b 0x110d 0x110e
    bdaddr 40:EF:4C:16:2D:7A mode 1 clkoffset 0x7d69 class 0x240404 rssi -68
    Shortened local name: 'TechniSat'
    TX power level: 4
    Complete service classes: 0x111e 0x1108 0x110b 0x110d 0x110e
    bdaddr 40:EF:4C:16:2D:7A mode 1 clkoffset 0x7d6a class 0x240404 rssi -61
    Shortened local name: 'TechniSat'
    TX power level: 4
    Complete service classes: 0x111e 0x1108 0x110b 0x110d 0x110e
    status 0x00
^C