Ubuntu 13.04, USB3-HUB7-81X, and xhci_hcd errors

I am having problems with Ubuntu 13.04 and a USB3-HUB7-81X Plugable USB hub. When I plug it in, I get strange behavior reported in dmesg:

[33915.450431] usb 4-2.1: new SuperSpeed USB device number 3 using xhci_hcd
[33915.465702] usb 4-2.1: Parent hub missing LPM exit latency info. Power management will be impacted.
[33915.467828] usb 4-2.1: New USB device found, idVendor=2109, idProduct=0812
[33915.467838] usb 4-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[33915.467845] usb 4-2.1: Product: USB3.0 Hub
[33915.467851] usb 4-2.1: Manufacturer: VIA Labs, Inc.
[33915.469315] hub 4-2.1:1.0: USB hub found
[33915.469725] hub 4-2.1:1.0: 4 ports detected
[33940.735937] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command
[33992.915435] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command
[34041.411920] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command
[34041.702922] usb 4-2.1: reset SuperSpeed USB device number 3 using xhci_hcd
[34041.717705] usb 4-2.1: Parent hub missing LPM exit latency info. Power management will be impacted.
[34041.718110] xhci_hcd 0000:04:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff880409e041c0
[34068.883252] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command
[34113.728951] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command
[34141.304238] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command
[34168.659459] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command
[34343.915883] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command
[34382.955458] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command
[34448.406637] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command
[34495.023808] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command
[34523.494808] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command
[34551.125999] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command
[34655.204935] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command

And that’s with nothing plugged into the hub:

$ lsusb -t
2-1.2.1:1.0: No such file or directory
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
|__ Port 2: Dev 2, If 0, Class=hub, Driver=hub/4p, 5000M
|__ Port 1: Dev 3, If 0, Class=hub, Driver=hub/4p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
|__ Port 2: Dev 2, If 0, Class=hub, Driver=hub/4p, 480M
|__ Port 1: Dev 3, If 0, Class=hub, Driver=hub/4p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/8p, 480M
|__ Port 2: Dev 3, If 0, Class=hub, Driver=hub/7p, 480M
|__ Port 1: Dev 9, If 0, Class=vend., Driver=, 480M
|__ Port 1: Dev 9, If 1, Class=vend., Driver=usbfs, 480M
|__ Port 2: Dev 5, If 0, Class=stor., Driver=usb-storage, 480M
|__ Port 5: Dev 6, If 0, Class=HID, Driver=usbhid, 1.5M
|__ Port 5: Dev 6, If 1, Class=HID, Driver=usbhid, 1.5M
|__ Port 7: Dev 7, If 0, Class=HID, Driver=usbhid, 1.5M
|__ Port 5: Dev 4, If 0, Class=‘bInterfaceClass 0xe0 not yet handled’, Driver=btusb, 12M
|__ Port 5: Dev 4, If 1, Class=‘bInterfaceClass 0xe0 not yet handled’, Driver=btusb, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/6p, 480M

If I try putting things on the hub, I get more frequent resets, leading to glitches in whatever USB devices I have plugged into the hub (e.g., lost keystrokes if I have a keyboard plugged in).

Any suggestions?

Thanks!

Hello,

Thank you for contacting Plugable support! I’d be more than happy to assist you with this issue with your hub.

First take a look here:

http://plugable.com/2013/06/07/troubl…

Specifically at the sections on “Ensure the hub operates in “Self-Powered” Mode” and “For issues specific to ports 1-4, apply firmware version 8581”.

The hub might not be in self powered mode which can cause strange issues, also the firmware might need to be updated from a Windows environment.

For further questions please email us at support@plugable.com

Thanks again for contacting Plugable support and best wishes!

Joshua Henry
Plugable Technologies

“Ensure the hub operates in “Self-Powered” Mode” had all been done prior to my posting here.

With regards to “For issues specific to ports 1-4, apply firmware version 8581”, as wrote earlier, “that’s with nothing plugged into the hub”. This means that there is nothing plugged into ports 1-4. Yet, just with upstream plugged into the notebook (Dell XPS 15, L502X), I get the errors noted.

Hello,

If possible I would still try to see if the firmware is out of date if you have access to a Windows machine.

For further questions please email us at support@plugable.com

Thanks again for contacting Plugable support and best wishes!

Joshua Henry
Plugable Technologies

I have applied the update using a Windows machine. The symptoms are unchanged.

Here is a fresh set of log statements:

Oct 4 16:39:49 xps-l502x kernel: [39200.437002] usb 3-2: new high-speed USB device number 6 using xhci_hcd
Oct 4 16:39:49 xps-l502x kernel: [39200.455401] usb 3-2: New USB device found, idVendor=2109, idProduct=2812
Oct 4 16:39:49 xps-l502x kernel: [39200.455411] usb 3-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
Oct 4 16:39:49 xps-l502x kernel: [39200.455417] usb 3-2: Product: USB2.0 Hub
Oct 4 16:39:49 xps-l502x kernel: [39200.456448] hub 3-2:1.0: USB hub found
Oct 4 16:39:49 xps-l502x kernel: [39200.456820] hub 3-2:1.0: 4 ports detected
Oct 4 16:39:49 xps-l502x kernel: [39200.577271] usb 4-2: new SuperSpeed USB device number 6 using xhci_hcd
Oct 4 16:39:49 xps-l502x kernel: [39200.594857] usb 4-2: Parent hub missing LPM exit latency info. Power management will be impacted.
Oct 4 16:39:49 xps-l502x kernel: [39200.597602] usb 4-2: New USB device found, idVendor=2109, idProduct=0812
Oct 4 16:39:49 xps-l502x kernel: [39200.597613] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Oct 4 16:39:49 xps-l502x kernel: [39200.597619] usb 4-2: Product: USB3.0 Hub
Oct 4 16:39:49 xps-l502x kernel: [39200.597624] usb 4-2: Manufacturer: VIA Labs, Inc.
Oct 4 16:39:49 xps-l502x kernel: [39200.598660] hub 4-2:1.0: USB hub found
Oct 4 16:39:49 xps-l502x kernel: [39200.599026] hub 4-2:1.0: 4 ports detected
Oct 4 16:39:49 xps-l502x kernel: [39200.749192] usb 3-2.1: new high-speed USB device number 7 using xhci_hcd
Oct 4 16:39:49 xps-l502x kernel: [39200.767245] usb 3-2.1: New USB device found, idVendor=2109, idProduct=2812
Oct 4 16:39:49 xps-l502x kernel: [39200.767260] usb 3-2.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
Oct 4 16:39:49 xps-l502x kernel: [39200.767269] usb 3-2.1: Product: USB2.0 Hub
Oct 4 16:39:49 xps-l502x kernel: [39200.768219] hub 3-2.1:1.0: USB hub found
Oct 4 16:39:49 xps-l502x kernel: [39200.768859] hub 3-2.1:1.0: 4 ports detected
Oct 4 16:39:49 xps-l502x kernel: [39201.078673] usb 4-2.1: new SuperSpeed USB device number 7 using xhci_hcd
Oct 4 16:39:49 xps-l502x kernel: [39201.094423] usb 4-2.1: Parent hub missing LPM exit latency info. Power management will be impacted.
Oct 4 16:39:49 xps-l502x kernel: [39201.096670] usb 4-2.1: New USB device found, idVendor=2109, idProduct=0812
Oct 4 16:39:49 xps-l502x kernel: [39201.096676] usb 4-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Oct 4 16:39:49 xps-l502x kernel: [39201.096679] usb 4-2.1: Product: USB3.0 Hub
Oct 4 16:39:49 xps-l502x kernel: [39201.096681] usb 4-2.1: Manufacturer: VIA Labs, Inc.
Oct 4 16:39:49 xps-l502x kernel: [39201.097787] hub 4-2.1:1.0: USB hub found
Oct 4 16:39:49 xps-l502x kernel: [39201.098142] hub 4-2.1:1.0: 4 ports detected
Oct 4 16:40:13 xps-l502x kernel: [39224.761182] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command
Oct 4 16:41:15 xps-l502x kernel: [39287.185289] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command
Oct 4 16:41:43 xps-l502x kernel: [39315.300384] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command
Oct 4 16:42:35 xps-l502x kernel: [39366.928043] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command
Oct 4 16:43:30 xps-l502x kernel: [39421.814636] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command
Oct 4 16:44:24 xps-l502x kernel: [39475.573472] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command
Oct 4 16:45:17 xps-l502x kernel: [39528.500700] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command
Oct 4 16:45:17 xps-l502x kernel: [39528.922848] usb 4-2.1: reset SuperSpeed USB device number 7 using xhci_hcd
Oct 4 16:45:17 xps-l502x kernel: [39528.938269] usb 4-2.1: Parent hub missing LPM exit latency info. Power management will be impacted.
Oct 4 16:45:17 xps-l502x kernel: [39528.938638] xhci_hcd 0000:04:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8802c3f048c0
Oct 4 16:45:44 xps-l502x kernel: [39556.219828] xhci_hcd 0000:04:00.0: Timeout while waiting for stop endpoint command

and a fresh USB tree:

$ lsusb -t
2-1.2.1:1.0: No such file or directory
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
|__ Port 2: Dev 6, If 0, Class=hub, Driver=hub/4p, 5000M
|__ Port 1: Dev 7, If 0, Class=hub, Driver=hub/4p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
|__ Port 2: Dev 6, If 0, Class=hub, Driver=hub/4p, 480M
|__ Port 1: Dev 7, If 0, Class=hub, Driver=hub/4p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/8p, 480M
|__ Port 2: Dev 3, If 0, Class=hub, Driver=hub/7p, 480M
|__ Port 1: Dev 9, If 0, Class=vend., Driver=, 480M
|__ Port 1: Dev 9, If 1, Class=vend., Driver=usbfs, 480M
|__ Port 2: Dev 5, If 0, Class=stor., Driver=usb-storage, 480M
|__ Port 5: Dev 6, If 0, Class=HID, Driver=usbhid, 1.5M
|__ Port 5: Dev 6, If 1, Class=HID, Driver=usbhid, 1.5M
|__ Port 7: Dev 7, If 0, Class=HID, Driver=usbhid, 1.5M
|__ Port 5: Dev 4, If 0, Class=‘bInterfaceClass 0xe0 not yet handled’, Driver=btusb, 12M
|__ Port 5: Dev 4, If 1, Class=‘bInterfaceClass 0xe0 not yet handled’, Driver=btusb, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/6p, 480M

Note that the error messages occur on either of the two USB 3.0 ports available on this L502X.

Hello,

  1. Can you try the hub on a USB 2.0 port and see if these errors occur?
  2. What USB 3.0 controller chipset does your computer have?

Thanks again for contacting Plugable support and best wishes!

Joshua Henry
Plugable Technologies

> Can you try the hub on a USB 2.0 port and see if these errors occur?

I get different errors:

xps-l502x kernel: [5843.997300] hub 2-1:1.0: connect-debounce failed, port 2 disabled

(one message about every 3-4 seconds)

> What USB 3.0 controller chipset does your computer have?

I can tell you that lspci -v reports the following USB entries:

00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05) (prog-if 20 [EHCI])
Subsystem: Dell Device 04b6
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at f1c0a000 (32-bit, non-prefetchable) [size=1]
Capabilities:
Kernel driver in use: ehci-pci

00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05) (prog-if 20 [EHCI])
Subsystem: Dell Device 04b6
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at f1c09000 (32-bit, non-prefetchable) [size=1]
Capabilities:
Kernel driver in use: ehci-pci

04:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04) (prog-if 30 [XHCI])
Subsystem: Dell Device 050e
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at f1a00000 (64-bit, non-prefetchable) [size=8]
Capabilities:
Kernel driver in use: xhci_hcd

[/size][/size][/size]

Hello,

It is possible the issue has to do with the selective suspend timeout length for the system’s host controller.

Try entering in the terminal:

echo -1 >/sys/module/usbcore/parameters/autosuspend

Thanks again for contacting Plugable support and best wishes!

Joshua Henry
Plugable Technologies

No effect; the same error messages appear, including a reset of the hub.

Hello,

Please contact us by email at support@plugable.com and reference “Question #39189” so we can further assist you.

Thanks again for contacting Plugable support and best wishes!

Joshua Henry
Plugable Technologies