USB hub only works in USB2 ports

Bug #1983787 reported by James Lanham
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-signed-hwe-5.15 (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have an IOGear GUS404 USB hub/switch (https://www.iogear.com/product/GUS404/), which works only when plugged into a USB2.0 port. When plugged into a USB3.0 port, none of the attached peripherals work. The attached peripherals are:

1) Corsair Vengeance K70 RGB Keyboard (https://www.corsair.com/us/en/Categories/Products/Gaming-Keyboards/Vengeance%C2%AE-K70-RGB-%28Limited-Edition%29-Mechanical-Gaming-Keyboard-%E2%80%94-CHERRY%C2%AE-MX-Brown/p/CH-9000093-NA)

2) Logitech G9x Mouse (https://www.newegg.com/logitech-g9x/p/N82E16826104261)

3) Logitech C922 Webcam (https://www.bestbuy.com/site/logitech-c922-pro-stream-1080-webcam-for-hd-video-streaming-black/5579380.p?skuId=5579380)

Ubuntu release:
~$ lsb_release -rd
Description: Ubuntu 20.04.4 LTS
Release: 20.04

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.15.0-43-generic 5.15.0-43.46~20.04.1
ProcVersionSignature: Ubuntu 5.15.0-43.46~20.04.1-generic 5.15.39
Uname: Linux 5.15.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.24
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: MATE
Date: Sun Aug 7 15:57:21 2022
InstallationDate: Installed on 2022-06-11 (57 days ago)
InstallationMedia: Ubuntu-MATE 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
ProcEnviron:
 LANGUAGE=en_US
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: linux-signed-hwe-5.15
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
James Lanham (jwlanham5) wrote :
Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :

Can you boot into an older kernel and see if it works right there? Also, it might be interesting if you could plug in your hub into a USB 3 port, try to use it, unplug it, then run "sudo dmesg > dmesg.txt" in a terminal and attach the dmesg.txt file generated by doing this. That will give us info about what the kernel does when you plug the hub in.

Revision history for this message
James Lanham (jwlanham5) wrote :

Agreed that loading an older kernel might give some interesting info, but it might not be until later this week that I can re-image my machine and get that to you. In the meantime, here is the dmesg info, and my observations:

At 219.322795, I disconnect from the USB2 port, plug into USB3 at 220.959698, and an interesting error appears at 224.531221:
[ 224.531221] usb 8-2.2: Not enough bandwidth for new device state.
[ 224.531226] usb 8-2.2: can't set config #1, error -28

This is just after it tries to load the mouse, but the same error appears when it detects the keybaord as well.
I did some experimenting, and it turns out if I ONLY plug the webcam into the hub, then it works fine in both port types. But if I ONLY plug in a standard plain office keyboard, then it again works only in USB2 ports. It's as if USB3 ports don't like non 'high-speed' devices plugged into the hub.

Here is the log from when I only have the plain office keybaord plugged into the hub -> USB2:
[ 921.131359] usb 1-5.2: new low-speed USB device number 19 using ehci-pci
[ 921.378603] usb 1-5.2: New USB device found, idVendor=03f0, idProduct=034a, bcdDevice= 1.21
[ 921.378610] usb 1-5.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 921.378612] usb 1-5.2: Product: HP Elite USB Keyboard
[ 921.378614] usb 1-5.2: Manufacturer: Chicony
[ 921.387895] input: Chicony HP Elite USB Keyboard as /devices/pci0000:00/0000:00:12.2/usb1/1-5/1-5.2/1-5.2:1.0/0003:03F0:034A.000E/input/input39
[ 921.447589] hid-generic 0003:03F0:034A.000E: input,hidraw0: USB HID v1.10 Keyboard [Chicony HP Elite USB Keyboard] on usb-0000:00:12.2-5.2/input0
[ 921.454660] input: Chicony HP Elite USB Keyboard System Control as /devices/pci0000:00/0000:00:12.2/usb1/1-5/1-5.2/1-5.2:1.1/0003:03F0:034A.000F/input/input40
[ 921.511524] input: Chicony HP Elite USB Keyboard Consumer Control as /devices/pci0000:00/0000:00:12.2/usb1/1-5/1-5.2/1-5.2:1.1/0003:03F0:034A.000F/input/input41
[ 921.511621] hid-generic 0003:03F0:034A.000F: input,hidraw1: USB HID v1.10 Device [Chicony HP Elite USB Keyboard] on usb-0000:00:12.2-5.2/input1

And the same for USB3:
[ 892.290826] usb 8-2.2: new low-speed USB device number 10 using xhci_hcd
[ 892.554392] usb 8-2.2: New USB device found, idVendor=03f0, idProduct=034a, bcdDevice= 1.21
[ 892.554397] usb 8-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 892.554400] usb 8-2.2: Product: HP Elite USB Keyboard
[ 892.554401] usb 8-2.2: Manufacturer: Chicony
[ 892.554542] usb 8-2.2: Not enough bandwidth for new device state.
[ 892.554548] usb 8-2.2: can't set config #1, error -28

I'll include what you requested as dmesg.txt, but everything, including my experimenting with multiple unplugs/replugs, is in dmesg-full.txt

Revision history for this message
James Lanham (jwlanham5) wrote :

Here is the full dmesg log during my fooling around.

Revision history for this message
James Lanham (jwlanham5) wrote :

I booted into kernel 5.13.0-051300-generic and see no change in behavior.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.