I have a number of USB ports on my computer, some USB 2 and some USB 3. I want to plug a device into a USB 3 port. Unfortunately, they're all black so I can't use the usual "USB 3.0 ports are blue" rule of thumb.

This is a Linux box, so is there any way to know if I've plugged the device into a USB 3 port, maybe using some command line utility or by inspecting some kernel messages?

  • You can open up the device and check which ports are connected to which headers. you can also just look at the physical plug itself. – Ramhound Jul 10 '14 at 15:06

You can determine the USB version by running lsusb

  • 12M = 12MBit/s = USB1
  • 480M = 480MBit/s = USB2
  • 5000M = 5000MBit/s = USB3.0 aka USB3.1 gen. 1
  • 10000M = 10000MBit/s = USB3.1 gen. 2

Try using something like:

lsusb -D /dev/bus/usb/002/005

The USB 2.00/3.00 corresponds to USB 2.0 / 3.0

Perhaps even try using lsusb -t

The first conversion chart will help you determine the USB version.

Take a look at THIS link for more examples.

|improve this answer|||||
  • if lsusb is not found this is the Centos/red hat package you need : usbutils – SvennD Jul 9 '19 at 9:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.