![Forrest logo](/images/logo.png)
lsusb
lsusb is a command line tool used in Unix-like operating systems to list USB devices connected to the system. It stands for "list USB". When executed, it provides information about the USB devices connected to the computer, including their vendor ID (VID), product ID (PID), device speed, and description.
The output of lsusb includes details such as the bus number, device number, and device class. It also provides information about the USB controllers and hubs present on the system. Additionally, lsusb can display details like device interface associations and manufacturer names.
Users can gather specific information about a particular device by providing additional options. For instance, lsusb -v offers verbose output, giving a more detailed description of each USB device, including the supported USB version, number of configurations, and various endpoints.
lsusb is a handy tool for diagnosing USB connectivity issues, identifying connected devices, and checking if the system recognizes a specific USB device. It is frequently used by system administrators, developers, and individuals troubleshooting USB-related problems.
List of commands for lsusb:
-
lsusb:tldr:39970 lsusb: List verbose information about USB devices.$ lsusb --verbosetry on your machineexplain this command
-
lsusb:tldr:594ee lsusb: List the USB hierarchy as a tree.$ lsusb -ttry on your machineexplain this command
-
lsusb:tldr:99b68 lsusb: List detailed information about a USB device.$ lsusb -D ${device}try on your machineexplain this command
-
lsusb:tldr:9e3d0 lsusb: List devices with a specified vendor and product ID only.$ lsusb -d ${vendor}:${product}try on your machineexplain this command
-
lsusb:tldr:c90c8 lsusb: List all the USB devices available.$ lsusbtry on your machineexplain this command