Bug 193821

Summary: USB Bluetooth stops working after "usb 2-7: reset full-speed USB device number 5 using xhci_hcd"
Product: Drivers Reporter: fiskare (mail)
Component: BluetoothAssignee: linux-bluetooth (linux-bluetooth)
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: Opensuse Tumbleweed 4.9.6-1-default #1 SMP PREEMPT x86_64 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg with 'echo "module btusb +mfp" > /sys/kernel/debug/dynamic_debug/control'

Description fiskare 2017-02-02 09:57:44 UTC
Created attachment 253871 [details]
dmesg with 'echo "module btusb +mfp" > /sys/kernel/debug/dynamic_debug/control'

Every time usb gets reset the bluetooth device stops working

dmesg:
[19352.497648] usb 2-7: reset full-speed USB device number 5 using xhci_hcd
[19357.757569] Bluetooth: hci0 command 0x0804 tx timeout

Most of the time i can reset and fix this with and bluetooth works till next usb reset.

# modprobe -r btusb && modprobe btusb

Sometimes this doesn't help (I get the same timeout again). Then this ususally helps:

# echo -n "0000:00:14.0" | tee /sys/bus/pci/drivers/xhci_hcd/unbind && sleep 2 &&  echo -n "0000:00:14.0" | tee /sys/bus/pci/drivers/xhci_hcd/bind"

Then bluetooth works again till the next usb reset. I don't know why the usb reset happens in the first place.

Hardware: Thinkpad T440s (Intel Core i5-4200U)


In the attached dmesg output the first reset with 'echo "module btusb +mfp" > /sys/kernel/debug/dynamic_debug/control' enabled happens at
[ 5507.237892] usb 2-7: reset full-speed USB device number 5 using xhci_hcd
Comment 1 fiskare 2017-02-02 10:01:45 UTC
I already reported the bug to bugzilla.suse.com, but I haven't got an answer in two weeks https://bugzilla.suse.com/show_bug.cgi?id=1020664