lsusb(1)
List all USB devices connected to the system with their vendor and product IDs.
Synopsis
lsusb [OPTION]...Description
lsusb displays information about USB buses and devices connected to the system. It shows the device tree hierarchy, vendor names, product names, and device IDs in a human-readable format. The output is based on the USB device database, typically located at /usr/share/misc/usb.ids.
Without options, lsusb shows a summary of all USB devices. More detailed information can be obtained by combining flags to display specific device details, kernel drivers, or raw descriptor data.
Common options
| Flag | What it does |
|---|---|
-v | verbose mode; print detailed information about each device including configurations and endpoints |
-s [[bus]:[dev]] | show only devices with specified bus and/or device numbers, e.g., -s 001:002 |
-d vendor:[product] | show only devices with specified vendor and optional product ID in hex, e.g., -d 0951: |
-D device | show detailed info for a specific device file, e.g., -D /dev/bus/usb/001/002 |
-t | display devices in a tree-like hierarchical format showing parent-child relationships |
-e | show how each device is used by active kernel drivers |
-V | print lsusb version and exit |
-h | display help message |
Examples
list all USB devices in a simple one-line format with vendor, product, and IDs
lsusbdisplay detailed verbose output including all USB descriptors, configurations, and endpoints for all devices
lsusb -vshow USB devices in a tree hierarchy showing how they connect through USB hubs
lsusb -tshow only Kingston USB drives with vendor ID 0951 and product ID 1666
lsusb -d 0951:1666display the device on bus 001 with address 005
lsusb -s 001:005show detailed information for a specific USB device using its device file path
lsusb -D /dev/bus/usb/001/002 -vlist all USB devices and show which kernel drivers are actively using each device
lsusb -esearch USB device list for a specific manufacturer like Logitech peripherals
lsusb | grep -i logitech