adb repeatably crashes xhci
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
android-platform-system-core (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
android-platform-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Using "adb" - the android debugger - causes a repeatable USB crash. Its usually about 5 minutes after starting the "adb" server process.
The result is that all USB devices become disconnected (mouse / keyboard etc)
It is possible to recover the USB system by logging in over network and running the following
```
for port in $(lspci | grep USB | cut -d' ' -f1); do
echo -n "0000:${port}"| sudo tee /sys/bus/
sleep 5;
echo -n "0000:${port}" | sudo tee /sys/bus/
sleep 5;
done
```
The following messages are visible in dmesg
```
[ 1085.204580] xhci_hcd 0000:04:00.0: ERROR unknown event type 15
[ 1090.107297] xhci_hcd 0000:04:00.0: xHCI host not responding to stop endpoint command.
[ 1090.107307] xhci_hcd 0000:04:00.0: USBSTS: 0x00000000
[ 1090.107329] xhci_hcd 0000:04:00.0: xHCI host controller not responding, assume dead
[ 1090.107364] xhci_hcd 0000:04:00.0: HC died; cleaning up
[ 1090.107414] usb 3-2: USB disconnect, device number 2
[ 1090.107421] usb 3-2.1: USB disconnect, device number 3
[ 1090.107623] usb 4-2: USB disconnect, device number 2
[ 1090.107629] usb 4-2.4: USB disconnect, device number 3
[ 1090.347554] usb 3-2.2: USB disconnect, device number 4
[ 1090.395581] usb 3-2.4: USB disconnect, device number 5
[ 1090.395584] usb 3-2.4.1: USB disconnect, device number 13
[ 1090.395986] usb 3-2.4.2: USB disconnect, device number 7
[ 1090.487742] usb 3-2.4.3: USB disconnect, device number 8
```
Here is lsusb -t -v
```
/: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
|__ Port 2: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
ID 0bda:0411 Realtek Semiconductor Corp. Hub
|__ Port 4: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
ID 0bda:0411 Realtek Semiconductor Corp. Hub
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 2: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
|__ Port 1: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
ID 046d:c31c Logitech, Inc. Keyboard K120
|__ Port 1: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
ID 046d:c31c Logitech, Inc. Keyboard K120
|__ Port 2: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M
ID 046d:082d Logitech, Inc. HD Pro Webcam C920
|__ Port 2: Dev 4, If 3, Class=Audio, Driver=
ID 046d:082d Logitech, Inc. HD Pro Webcam C920
|__ Port 2: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M
ID 046d:082d Logitech, Inc. HD Pro Webcam C920
|__ Port 2: Dev 4, If 2, Class=Audio, Driver=
ID 046d:082d Logitech, Inc. HD Pro Webcam C920
|__ Port 4: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
|__ Port 2: Dev 7, If 2, Class=Human Interface Device, Driver=usbhid, 12M
ID 046d:c52b Logitech, Inc. Unifying Receiver
|__ Port 2: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 12M
ID 046d:c52b Logitech, Inc. Unifying Receiver
|__ Port 2: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 12M
ID 046d:c52b Logitech, Inc. Unifying Receiver
|__ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid, 12M
ID 0b0e:0305 GN Netcom Jabra EVOLVE Link MS
|__ Port 3: Dev 8, If 1, Class=Audio, Driver=
ID 0b0e:0305 GN Netcom Jabra EVOLVE Link MS
|__ Port 3: Dev 8, If 2, Class=Audio, Driver=
ID 0b0e:0305 GN Netcom Jabra EVOLVE Link MS
|__ Port 3: Dev 8, If 0, Class=Audio, Driver=
ID 0b0e:0305 GN Netcom Jabra EVOLVE Link MS
|__ Port 1: Dev 9, If 4, Class=Vendor Specific Class, Driver=usbfs, 480M
ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy A5 (MTP)
|__ Port 1: Dev 9, If 2, Class=CDC Data, Driver=cdc_acm, 480M
ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy A5 (MTP)
|__ Port 1: Dev 9, If 0, Class=Imaging, Driver=usbfs, 480M
ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy A5 (MTP)
|__ Port 1: Dev 9, If 3, Class=Vendor Specific Class, Driver=, 480M
ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy A5 (MTP)
|__ Port 1: Dev 9, If 1, Class=Communica
ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy A5 (MTP)
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 7: Dev 2, If 0, Class=Vendor Specific Class, Driver=btusb, 12M
ID 0b05:180a ASUSTek Computer, Inc. Broadcom BCM20702 Single-Chip Bluetooth 4.0 + LE
|__ Port 7: Dev 2, If 1, Class=Vendor Specific Class, Driver=btusb, 12M
ID 0b05:180a ASUSTek Computer, Inc. Broadcom BCM20702 Single-Chip Bluetooth 4.0 + LE
|__ Port 7: Dev 2, If 2, Class=Vendor Specific Class, Driver=btusb, 12M
ID 0b05:180a ASUSTek Computer, Inc. Broadcom BCM20702 Single-Chip Bluetooth 4.0 + LE
|__ Port 7: Dev 2, If 3, Class=Application Specific Interface, Driver=, 12M
ID 0b05:180a ASUSTek Computer, Inc. Broadcom BCM20702 Single-Chip Bluetooth 4.0 + LE
|__ Port 13: Dev 3, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M
ID 1b1c:1c00 Corsair Controller for Corsair Link
```
This happens repeatably, and only with adb.
affects: | ubuntu → android-platform-system-core (Ubuntu) |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1988634/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]