My mouse and keyboard (connected to a USB hub) stopped working, fortunately i am using laptop so i was able to do something. HUB reconnecting & peripherals reconnecting not helped.
Kernel: 5.8.18-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0
$ lsusb -t
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/9p, 480M
|__ Port 4: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 4: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
|__ Port 5: Dev 99, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 8: Dev 83, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 8: Dev 83, If 1, Class=Human Interface Device, Driver=usbhid, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
$ sudo dmesg
[66830.783459] usb 2-5: USB disconnect, device number 94
[66842.603963] usb 2-5-port1: attempt power cycle
[66843.175049] usb 2-5: new high-speed USB device number 99 using xhci_hcd
[66843.321275] usb 2-5: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=92.24
[66843.321280] usb 2-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[66843.321283] usb 2-5: Product: USB2.0 Hub
[66843.321285] usb 2-5: Manufacturer: GenesysLogic
[66843.322331] hub 2-5:1.0: USB hub found
[66843.322720] hub 2-5:1.0: 4 ports detected
[66843.325974] usb 2-1: USB disconnect, device number 19
[66843.501770] usb 2-2: USB disconnect, device number 100
[66843.605088] usb 2-5.1: new low-speed USB device number 101 using xhci_hcd
[66859.101580] usb 2-5.1: device descriptor read/64, error -110
[66874.674835] usb 2-5.1: device descriptor read/64, error -110
[66874.854794] usb 2-5.1: new low-speed USB device number 102 using xhci_hcd
[66890.247947] usb 2-5.1: device descriptor read/64, error -110
[66905.821242] usb 2-5.1: device descriptor read/64, error -110
[66905.928072] usb 2-5-port1: attempt power cycle
[66906.521190] usb 2-5.1: new low-speed USB device number 103 using xhci_hcd
[66911.721127] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[66917.054388] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[66917.261094] usb 2-5.1: device not accepting address 103, error -62
[66917.334404] usb 2-5.1: new low-speed USB device number 104 using xhci_hcd
[66922.387751] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[66927.724316] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[66927.930961] usb 2-5.1: device not accepting address 104, error -62
[66927.931273] usb 2-5-port1: unable to enumerate USB device
[66928.004536] usb 2-5.2: new full-speed USB device number 105 using xhci_hcd
[66943.367476] usb 2-5.2: device descriptor read/64, error -110
[66958.944065] usb 2-5.2: device descriptor read/64, error -110
[66959.127372] usb 2-5.2: new full-speed USB device number 106 using xhci_hcd
[66974.513924] usb 2-5.2: device descriptor read/64, error -110
[66990.090505] usb 2-5.2: device descriptor read/64, error -110
[66990.197458] usb 2-5-port2: attempt power cycle
[66990.793748] usb 2-5.2: new full-speed USB device number 107 using xhci_hcd
[66995.987069] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[67001.320352] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[67001.526992] usb 2-5.2: device not accepting address 107, error -62
[67001.600291] usb 2-5.2: new full-speed USB device number 108 using xhci_hcd
[67006.653629] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[67011.990301] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[67012.196881] usb 2-5.2: device not accepting address 108, error -62
[67012.197247] usb 2-5-port2: unable to enumerate USB device
$ ls /sys/bus/pci/drivers/ -A1
8250_lpss
8250_mid
ahci
dw_dmac_pci
ehci-pci
hsw_uncore
i801_smbus
i915
intel_scu
iosf_mbi_pci
iwlwifi
lpc_ich
mei_me
nouveau
nvme
pcieport
pci-stub
r8169
sdv_gpio
serial
shpchp
snd_hda_intel
xen-platform-pci
xhci_hcd
# echo -n “0000:00:13.0” | tee /sys/bus/pci/drivers/xhci_hcd/unbind
0000:00:13.0tee: /sys/bus/pci/drivers/xhci_hcd/unbind: No such device
# ls /sys/bus/pci/drivers/xhci_hcd
0000:00:14.0 bind module new_id remove_id uevent unbind
Why i ran that echo command?
Because i have found some instructions how to reset usb “subsystem”:
echo -n “0000:00:13.0” | tee /sys/bus/pci/drivers/ohci_hcd/bind
The address is the address of the device. The ‘ohci_hcd’ is from the ‘lsusb -t’ command. There are two terms to use at the end of the statement:
bind – enable the Root Hub unbind – disable the Root Hub
The same Root Hub could be disabled with the following command:
echo -n “0000:00:13.0” | tee /sys/bus/pci/drivers/ohci_hcd/unbind
After reboot, it works again, so i am asking how to prevent that or if that happen again, which commands to run to discover cause or even fix it? Thank You