What Islsusb?

It will work on desktops, servers, and other common Linux-running hardware like Raspberry Pi’s, etc.

you could get into the complete but smalllsusbmanual by issuing

at a Terminal command prompt.

Tux mascot jumping from Windows to Linux.

Note that theUSB gear IDhas two parts.

Of interest here is that such equipment IDs can be entered into your favorite search engine.

In both cases, this would produce reliable search results.

Article image

Also, note that devices listed in lsusb are not necessarily always hardware/physical devices.

USB 1.1 versus USB 2.0 and USB 3.0.

Note that here thebuspart of the option is optional.

Partial lsusb manual page

So how can you search for just a Product ID without searching for a vendor?

you could usegrep:

Note that using a Product ID with the option-s(i.e.

Uselsusb -vto see all detailed information for all connected devices and hubs (including software devices).

First lsusb run without any options

Note that the output will likely scroll for several pages, especially on modern or non-hardware-emulated systems.

Wrapping up

In this article we reviewed how to use thelsusbtool in Linux.

lsusb output on VirtualBox

lsusb -s and -d options and grepping for the USB Device ID

Incorrect usage of the -s option gives unexpected lsusb output

MaxPower grep using sudo lsusb in verbose mode