Bluetooth: hci0 link tx timeout with Intel Corporation Wireless 7260
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-firmware (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
reported upstream as well : https:/
Starting with Ubuntu 16.04 (no problem in 15.10) the bluetoth stack crashes several times a day:
May 20 11:54:59 thinktank kernel: [ 6274.939039] Bluetooth: hci0 link tx timeout
May 20 11:54:59 thinktank kernel: [ 6274.939046] Bluetooth: hci0 killing stalled connection 7c:6d:62:f1:ef:b1
May 20 11:55:01 thinktank kernel: [ 6276.942116] Bluetooth: hci0 command 0x041f tx timeout
May 20 11:55:03 thinktank kernel: [ 6278.946094] Bluetooth: hci0 command 0x0406 tx timeout
I have an Apple Keyboard and Apple Magicmouse connected and the entire stack is down after seeing the above crash. These are the devices:
input: Apple Wireless Keyboard as /devices/
apple 0005:05AC:
input: ... mouse as /devices/
1.0/bluetooth/
magicmouse 0005:05AC:
No input or re-pairing is possible after those timeout messages. Reloading the kernel firmware modules doesn't help either:
modprobe -r btusb
modprobe btusb
The only way to bring the bluetooth stack up again is to toggle to standby (S3) and wake up the system again. In this case there firmware is reloaded and everything back to life:
May 20 10:10:35 thinktank kernel: [ 10.017143] Bluetooth: hci0: read Intel version: 370710018002030d00
May 20 10:10:35 thinktank kernel: [ 10.019069] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-
May 20 10:10:35 thinktank kernel: [ 10.160231] Bluetooth: hci0: Intel Bluetooth firmware patch completed and activated
May 20 10:10:35 thinktank systemd[1]: Starting Bluetooth service...
May 20 10:10:36 thinktank bluetoothd[1147]: Bluetooth daemon 5.37
May 20 10:10:36 thinktank systemd[1]: Reached target Bluetooth.
May 20 10:10:36 thinktank kernel: [ 11.412940] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
May 20 10:10:36 thinktank kernel: [ 11.412943] Bluetooth: BNEP filters: protocol multicast
May 20 10:10:36 thinktank kernel: [ 11.412948] Bluetooth: BNEP socket layer initialized
May 20 10:10:36 thinktank bluetoothd[1147]: Bluetooth management interface 1.10 initialized
Since the problem did not occur with Ubuntu 15.10 I traced the issue down to the changed firmware files:
/lib/firmware/
of package linux-firmware
Bad:
$ sha1sum ibt-hw-
b697de26b72804a
Filesize : 25631
origin:
2016-02-03 linux-firmware: Update firmware patch for Intel Bluetooth 7260 (B3/B4)
http://
Good (included in Ubuntu 15.10):
$ sha1sum ibt-hw-
19f01d6469f30a9
Filesize : 25117
origin:
2015-09-24 linux-firmware: Update firmware patch for Intel Bluetooth 7260 (B3/B4)
http://
The numbers in the file name do not correspond to version numbers: Therefore sha1sum and filesize given to distinguish.
According to
http://
I may file a bug upstream.
kernel: 4.4.0-22-generic
Bluetooth Device:
$ lsusb -d 8087:07dc
Bus 002 Device 004: ID 8087:07dc Intel Corp.
$ lspci -v
03:00.0 Network controller: Intel Corporation Wireless 7260 (rev 83)
Subsystem: Intel Corporation Dual Band Wireless-AC 7260
Switching off USB Autosuspend for Bluettooth devices also didn't help:
BTUSB_DEV=
BTUSB_BINDING=
cut -f 1 -d : |
sed -e 's,Bus ,,' -e 's, Device ,/,' |
xargs -I {} udevadm info -q path -n /dev/bus/usb/{} |
xargs basename)"
echo "Disabling autosuspend for Bluetooth USB Mouse: $BTUSB_BINDING (old value: $(cat /sys/bus/
echo -1 | sudo tee "/sys/bus/
description: | updated |
Changed in linux-firmware (Ubuntu): | |
status: | Fix Committed → Confirmed |
status: | Confirmed → Fix Released |
fixed upstream see: /bugzilla. kernel. org/show_ bug.cgi? id=120161# c2 git.kernel. org/cgit/ linux/kernel/ git/firmware/ linux-firmware. git/commit/ ?id=e45d3860987 a68a4c317e7b6e6 2bb81ffde8a93b
https:/
or more specific:
http://