You are not logged in.
Pages: 1
I've got an HTPC that suffered a power surge through a USB device. The port is now broken and I'm getting constant messages in my logs about it:
Mar 03 15:06:37 htpc kernel: usb usb8-port2: attempt power cycle
Mar 03 15:06:38 htpc kernel: usb 8-2: new low-speed USB device number 6 using xhci_hcd
Mar 03 15:06:38 htpc kernel: usb 8-2: Device not responding to setup address.
Mar 03 15:06:38 htpc kernel: usb 8-2: Device not responding to setup address.
Mar 03 15:06:38 htpc kernel: usb 8-2: device not accepting address 6, error -71
Mar 03 15:06:38 htpc kernel: usb 8-2: new low-speed USB device number 7 using xhci_hcd
Mar 03 15:06:38 htpc kernel: usb 8-2: Device not responding to setup address.
Mar 03 15:06:39 htpc kernel: usb 8-2: Device not responding to setup address.
Mar 03 15:06:39 htpc kernel: usb 8-2: device not accepting address 7, error -71
Mar 03 15:06:39 htpc kernel: usb usb8-port2: unable to enumerate USB device
Mar 03 15:06:39 htpc kernel: usb 8-2: new low-speed USB device number 8 using xhci_hcd
Mar 03 15:06:39 htpc kernel: usb 8-2: device descriptor read/64, error -71
Mar 03 15:06:40 htpc kernel: usb 8-2: device descriptor read/64, error -71
Mar 03 15:06:40 htpc kernel: usb 8-2: new low-speed USB device number 9 using xhci_hcd
Mar 03 15:06:41 htpc kernel: usb 8-2: device descriptor read/64, error -71
Mar 03 15:06:41 htpc kernel: usb 8-2: device descriptor read/64, error -71
Mar 03 15:06:41 htpc kernel: usb usb8-port2: attempt power cycle
Mar 03 15:06:42 htpc kernel: usb 8-2: new low-speed USB device number 10 using xhci_hcd
Mar 03 15:06:42 htpc kernel: usb 8-2: Device not responding to setup address.
Mar 03 15:06:42 htpc kernel: usb 8-2: Device not responding to setup address.
Mar 03 15:06:42 htpc kernel: usb 8-2: device not accepting address 10, error -71
Mar 03 15:06:42 htpc kernel: usb 8-2: new low-speed USB device number 11 using xhci_hcd
Mar 03 15:06:42 htpc kernel: usb 8-2: Device not responding to setup address.
Mar 03 15:06:42 htpc kernel: usb 8-2: Device not responding to setup address.
Mar 03 15:06:43 htpc kernel: usb 8-2: device not accepting address 11, error -71
Mar 03 15:06:43 htpc kernel: usb usb8-port2: unable to enumerate USB device
Mar 03 15:06:43 htpc kernel: usb 8-2: new low-speed USB device number 12 using xhci_hcd
Mar 03 15:06:43 htpc kernel: usb 8-2: device descriptor read/64, error -71
Mar 03 15:06:44 htpc kernel: usb 8-2: device descriptor read/64, error -71
Mar 03 15:06:44 htpc kernel: usb 8-2: new low-speed USB device number 13 using xhci_hcd
Mar 03 15:06:44 htpc kernel: usb 8-2: device descriptor read/64, error -71
Mar 03 15:06:45 htpc kernel: usb 8-2: device descriptor read/64, error -71
Mar 03 15:06:45 htpc kernel: usb usb8-port2: attempt power cycle
Mar 03 15:06:45 htpc kernel: usb 8-2: new low-speed USB device number 14 using xhci_hcd
Mar 03 15:06:45 htpc kernel: usb 8-2: Device not responding to setup address.
Mar 03 15:06:46 htpc kernel: usb 8-2: Device not responding to setup address.
Mar 03 15:06:46 htpc kernel: usb 8-2: device not accepting address 14, error -71
Mar 03 15:06:46 htpc kernel: usb 8-2: new low-speed USB device number 15 using xhci_hcd
Mar 03 15:06:46 htpc kernel: usb 8-2: Device not responding to setup address.
Mar 03 15:06:46 htpc kernel: usb 8-2: Device not responding to setup address.
Mar 03 15:06:47 htpc kernel: usb 8-2: device not accepting address 15, error -71
Mar 03 15:06:47 htpc kernel: usb usb8-port2: unable to enumerate USB device
Mar 03 15:06:47 htpc kernel: usb 8-2: new low-speed USB device number 16 using xhci_hcd
Mar 03 15:06:47 htpc kernel: usb 8-2: device descriptor read/64, error -71
Mar 03 15:06:48 htpc kernel: usb 8-2: device descriptor read/64, error -71
Mar 03 15:06:48 htpc kernel: usb 8-2: new low-speed USB device number 17 using xhci_hcd
Mar 03 15:06:48 htpc kernel: usb 8-2: device descriptor read/64, error -71
This just keeps going on an on.
I'd like to disable to the port but it doesn't seem to be listed here:
> ls /sys/bus/usb/devices/
1-0:1.0 3-0:1.0 5-0:1.0 7-0:1.0 7-4:1.0 8-0:1.0 9-1 9-2 usb1 usb3 usb5 usb7 usb9
2-0:1.0 4-0:1.0 6-0:1.0 7-4 7-4:1.1 9-0:1.0 9-1:1.0 9-2:1.0 usb2 usb4 usb6 usb8
Is there any way to disable the port or, if not, stop those lines from logging?
Last edited by elParaguayo (2024-03-03 18:15:58)
Offline
I guess it should be below usb8?
/sys/bus/usb/devices/usb8/*/usb8-port2/disable
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Perfect. That's great progress.
> cd /sys/bus/usb/devices/usb8/8-0\:1.0/usb8-port2
> echo 1 > disable
Stopped the log messages.
Is there any way to make that persist across boots?
Offline
Is there any way to make that persist across boots?
Many. The easiest way I can think of is to create a single shot systemd service
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Thanks, that'll work. I was trying a udev rule but failing dismally!
Will mark this as solved now too.
Offline
I had a similar experience across 2 rear USB-2 ports. Fortunately, the BIOS settings allowed them to be disabled via checkbox, and the error messages disappeared. But not all BIOS are equal, I know. Good luck.
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn
Offline
Pages: 1