You are not logged in.
Upon booting and being presented with the tty login screen, my USB devices do not work for a minute or two. This is most obvious with my mouse and keyboard not accepting input (i.e. need to wait for the devices to work before I can login), though I assume it is the same for all USB devices.
Interestingly the devices work prior to booting into Arch (i.e. selecting BIOS/bootloader options), and the lights on the devices also indicate they are being powered until they actually start accepting input. From the dmesg log (https://pastebin.com/Yv3uz4Zg) it appears that my keyboard and mouse are detected quite early, but there are several USB failures and retries until they begin to work at [ 89.269325]. How would I go about troubleshooting this issue?
Last edited by sairuiu (2021-04-08 00:14:27)
Offline
This device here doesn't respond and blocks the bus:
[ 35.994990] usb 3-13: device descriptor read/64, error -110
[ 36.220084] usb 3-13: new full-speed USB device number 8 using xhci_hcd
[ 51.625157] usb 3-13: device descriptor read/64, error -110
[ 67.179845] usb 3-13: device descriptor read/64, error -110
[ 67.286535] usb usb3-port13: attempt power cycle
[ 67.929443] usb 3-13: new full-speed USB device number 9 using xhci_hcd
[ 73.027312] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 78.358973] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 78.565483] usb 3-13: device not accepting address 9, error -62
[ 78.688732] usb 3-13: new full-speed USB device number 10 using xhci_hcd
[ 83.690923] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 89.023178] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 89.229788] usb 3-13: device not accepting address 10, error -62
[ 89.229876] usb usb3-port13: unable to enumerate USB device
lsusb -tv
cat /sys/bus/usb/devices/usb3/3-13/id* # make sure the numbers match the current troublemaker in your dmesg
Offline
The IDs shown here
$ cat /sys/bus/usb/devices/usb3/3-3/id*
0142
0853
Match the device shown here
$ lsusb -tv
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 3: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
ID 0853:0142 Topre Corporation
|__ Port 3: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
ID 0853:0142 Topre Corporation
|__ Port 3: Dev 2, If 2, Class=Human Interface Device, Driver=usbhid, 12M
ID 0853:0142 Topre Corporation
|__ Port 4: Dev 3, If 2, Class=Human Interface Device, Driver=usbhid, 12M
ID 256c:006e
|__ Port 4: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
ID 256c:006e
|__ Port 4: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M
ID 256c:006e
|__ Port 6: Dev 4, If 0, Class=Audio, Driver=snd-usb-audio, 12M
ID 041e:3232 Creative Technology, Ltd Sound Blaster Premium HD [SBX]
|__ Port 6: Dev 4, If 1, Class=Audio, Driver=snd-usb-audio, 12M
ID 041e:3232 Creative Technology, Ltd Sound Blaster Premium HD [SBX]
|__ Port 6: Dev 4, If 2, Class=Audio, Driver=snd-usb-audio, 12M
ID 041e:3232 Creative Technology, Ltd Sound Blaster Premium HD [SBX]
|__ Port 6: Dev 4, If 3, Class=Audio, Driver=snd-usb-audio, 12M
ID 041e:3232 Creative Technology, Ltd Sound Blaster Premium HD [SBX]
|__ Port 6: Dev 4, If 4, Class=Audio, Driver=snd-usb-audio, 12M
ID 041e:3232 Creative Technology, Ltd Sound Blaster Premium HD [SBX]
|__ Port 6: Dev 4, If 5, Class=Human Interface Device, Driver=usbhid, 12M
ID 041e:3232 Creative Technology, Ltd Sound Blaster Premium HD [SBX]
|__ Port 9: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 12M
ID 1038:1710 SteelSeries ApS
|__ Port 9: Dev 5, If 2, Class=Human Interface Device, Driver=usbhid, 12M
ID 1038:1710 SteelSeries ApS
|__ Port 9: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 12M
ID 1038:1710 SteelSeries ApS
|__ Port 10: Dev 12, If 2, Class=Audio, Driver=snd-usb-audio, 480M
ID 046d:082d Logitech, Inc. HD Pro Webcam C920
|__ Port 10: Dev 12, If 0, Class=Video, Driver=uvcvideo, 480M
ID 046d:082d Logitech, Inc. HD Pro Webcam C920
|__ Port 10: Dev 12, If 3, Class=Audio, Driver=snd-usb-audio, 480M
ID 046d:082d Logitech, Inc. HD Pro Webcam C920
|__ Port 10: Dev 12, If 1, Class=Video, Driver=uvcvideo, 480M
ID 046d:082d Logitech, Inc. HD Pro Webcam C920
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
ID 8087:8000 Intel Corp. Integrated Rate Matching Hub
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
ID 8087:8008 Intel Corp. Integrated Rate Matching Hub
Everything functions as intended at the moment (since I'm already logged in and the devices have started working). Though `/sys/bus/usb/devices/usb3/3-13` does not seem to exist despite showing up in the dmesg log of my current session:
$ dmesg | grep "3-13\|enumerate"
[ 4.923037] usb 3-13: new full-speed USB device number 7 using xhci_hcd
[ 20.499761] usb 3-13: device descriptor read/64, error -110
[ 36.073093] usb 3-13: device descriptor read/64, error -110
[ 36.303064] usb 3-13: new full-speed USB device number 8 using xhci_hcd
[ 51.859757] usb 3-13: device descriptor read/64, error -110
[ 67.432996] usb 3-13: device descriptor read/64, error -110
[ 68.182842] usb 3-13: new full-speed USB device number 9 using xhci_hcd
[ 78.822347] usb 3-13: device not accepting address 9, error -62
[ 78.945678] usb 3-13: new full-speed USB device number 10 using xhci_hcd
[ 89.488769] usb 3-13: device not accepting address 10, error -62
[ 89.488788] usb usb3-port13: unable to enumerate USB device
$ ls -l /sys/bus/usb/devices/usb3/ | grep "3-"
drwxr-xr-x 18 root root 0 4月 7 17:59 3-0:1.0
drwxr-xr-x 8 root root 0 4月 7 17:54 3-10
drwxr-xr-x 8 root root 0 4月 7 17:59 3-3
drwxr-xr-x 7 root root 0 4月 7 17:59 3-4
drwxr-xr-x 10 root root 0 4月 7 17:59 3-6
drwxr-xr-x 7 root root 0 4月 7 17:59 3-9
Does this indicate one of my USB devices might be failing? I may test booting without certain devices connected next time I get the opportunity to see if I can isolate the offending device if so.
Offline
"3-3" is worthless.
Does this indicate one of my USB devices might be failing?
Yup. Or at least it doesn't respond.
Do you have a parallel windows installation?
Offline
I don't, but I think that's enough information to investigate/troubleshoot. I'll post back if I learn anything new or figure out a solution. Thanks for the help.
Offline
After some investigation, I discovered that the offending device was a PCIe network card that I was using for bluetooth (my bluetooth had stopped working not too long ago). Removing the device resolved the issue.
Offline