On Friday, November 8th, 2024 at 8:15 PM, American Citizen 
<[email protected]> wrote:

> I have a Hewlett Packard Z420 workstation. About a week ago, the USB
> ports stopped working. Tonight I identified that it is the USB 3.0 ports
> that are not working, the USB 2.0 is still working just fine.
> 
> Has anyone had experience troubleshooting USB 3.0 ports under linux?
> 
> - Randall


Based on your description of the problem the OS is irrelevant. Most of the 
troubleshooting at this stage is pure hardware. 

If you want, you can use the following commands to see if the USB3 host 
controller is detected by Linux and if any devices are detected.
To see a brief list of all USB devices, including host controllers:
$ lsusb

To see what happens when a device is inserted, unplug all devices from your 
USB3 slots and then run the following command (as root):
$ dmesg -w

The -w argument tells dmesg to print the log and any new messages as they 
occur. Once you have that running you can plug in a USB device and it should 
immediately start printing messages related to the device you inserted. 

You can also automate this to only give you the difference, here's a rough 
example.
dmesg > dmesg-before.log
# insert the device
dmesg > dmesg-after.log
diff dmesg-before.log dmesg-after.log

Either way, when running into USB problems I always step away from the OS. It's 
much better to start with a "golden device" such as a mouse or keyboard that 
you know works and diagnose with that. 
-Ben 

Reply via email to