You are not logged in.
I have a Dell Precision 7710 which has developed some hardware issue with the USB ports
Two of the four USB ports on the laptop stopped functioning recenty - since then I see the "kworker" process eat up 84% CPU even when idle.
The other two ports work fine, but I rarely use anything except a wireless mouse.
If I run
sudo modprobe -r xhci_pci
the CPU problem goes away, and my touchpad and keyboard still work fine.
However I am used to using the mouse and want to find a way to circumvent the bad USBs
My question is - how do I selectively disable/poweroff the USB ports one by one to see if I can isolate the bad ones?
I believe this should be possible by power management or blacklisting somehow?
Thanks in advance
Offline
This may or may not work for you:
run demsg and find the id of your specific usb device
May 23 19:44:46 kernel: usb 1-4.2: new high-speed USB device number 9 using ehci-pci
May 23 19:44:54 kernel: usb 1-4.2: New USB device found, idVendor=xxxx, idProduct=xxxx, bcdDevice= 0.01
May 23 19:44:54 kernel: usb 1-4.2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
May 23 19:44:54 kernel: usb 1-4.2: Product: AS2105
May 23 19:44:54 kernel: usb 1-4.2: Manufacturer: ASMedia
with "id" I mean the digit 1-4.2 in this example.
Then try to unbind your usb port:
echo '1-4.2' | sudo tee /sys/bus/usb/drivers/usb/unbind
Offline