lsusb
Linux · System · reference only
What it does
Lists the connected USB devices and the buses they belong to.
Syntax
lsusb [opciones]
Options and parameters
-vShows detailed information for each device.
-tShows the devices as a tree, with speeds and drivers.
-s [bus]:[dispositivo]Shows only the device with that bus and number.
-d [fabricante]:[modelo]Shows only the devices with those IDs.
-D rutaExamines the device given by its file under /dev/bus/usb.
-VShows the version and exits.
Usage examples
lsusbLists the connected USB devices.
lsusb -tShows the hierarchy of hubs and devices.
lsusb -d 046d:Shows only the devices from the vendor with that ID.
sudo lsusb -s 001:003 -vShows the full details of device 3 on bus 1.
Notes and common mistakes
- It belongs to the usbutils package.
- Each line shows Bus, Device, the vendor:product ID and the name.