On 14.3.2019 14.38, Georg Chini wrote:
Hello, I have a problem with multiple USB2 devices. After purchasing a new motherboard, some USB2 devices (specifically audio devices and bluetooth dongles) do no longer work when connected to a hub, even if they are the only device on the hub. They do work when they are directly connected to an USB (2.0 or 3.0) port of the machine. The error I am getting with the hub in between is "Not enough bandwidth for new device state". Here are example kernel messages for a bluetooth dongle: Mar 14 08:12:33 mini kernel: usb 1-4.1: new full-speed USB device number 15 using xhci_hcd Mar 14 08:12:33 mini kernel: usb 1-4.1: New USB device found, idVendor=0a12, idProduct=0001, bcdDevice=31.64 Mar 14 08:12:33 mini kernel: usb 1-4.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Mar 14 08:12:33 mini kernel: usb 1-4.1: Not enough bandwidth for new device state. I have only one single USB controller: 00:15.0 USB controller: Intel Corporation Atom Processor C3000 Series USB 3.0 xHCI Controller (rev 11) I am using kernel 5.0. lsusb output: Bus 002 Device 004: ID 05e3:0617 Genesys Logic, Inc. Bus 002 Device 003: ID 05e3:0617 Genesys Logic, Inc. Bus 002 Device 002: ID 05e3:0617 Genesys Logic, Inc. Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 013: ID 05e3:0610 Genesys Logic, Inc. 4-port hub Bus 001 Device 011: ID 05e3:0610 Genesys Logic, Inc. 4-port hub Bus 001 Device 012: ID 046d:c52b Logitech, Inc. Unifying Receiver Bus 001 Device 010: ID 05e3:0608 Genesys Logic, Inc. Hub Bus 001 Device 008: ID 046d:0994 Logitech, Inc. QuickCam Orbit/Sphere AF Bus 001 Device 016: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) Bus 001 Device 005: ID 05e3:0610 Genesys Logic, Inc. 4-port hub Bus 001 Device 007: ID 05e3:0610 Genesys Logic, Inc. 4-port hub Bus 001 Device 009: ID 0557:2419 ATEN International Co., Ltd Bus 001 Device 006: ID 0557:7000 ATEN International Co., Ltd Hub Bus 001 Device 004: ID 05e3:0610 Genesys Logic, Inc. 4-port hub Bus 001 Device 003: ID 0d8c:0102 C-Media Electronics, Inc. CM106 Like Sound Device Bus 001 Device 002: ID 0b0e:0348 GN Netcom Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub The C-Media sound device is directly connected to the machine and is working. The BT dongle is on a hub and does not work. If I connect the C-Media device to a hub, it will also produce the "not enough bandwidth" error. Can anybody help me to debug this problem further?
Logs and traces could help, also lsusb -v output. logs: mount -t debugfs none /sys/kernel/debug echo -n 'module xhci_hcd =p' > /sys/kernel/debug/dynamic_debug/control echo -n 'module usbcore =p' >/sys/kernel/debug/dynamic_debug/control <connect failing usb devices> send output of dmesg traces: mount -t debugfs none /sys/kernel/debug echo 81920 > /sys/kernel/debug/tracing/buffer_size_kb echo 1 > /sys/kernel/debug/tracing/events/xhci-hcd/enable <connect failing device> send content of /sys/kernel/debug/tracing/trace -Mathias