Forrest logo
back to the lsusb tool

lsusb:tldr:c90c8

lsusb: List all the USB devices available.
$ lsusb
try on your machine

The "lsusb" command is used in Linux-based operating systems to list the USB devices connected to the system. It provides information about the USB devices connected to the computer, such as their vendor ID, product ID, device class, and more.

When you run the "lsusb" command, it retrieves the information from the USB subsystem in the Linux kernel and displays it in a human-readable format. This can be useful for troubleshooting USB device connectivity issues, verifying if a specific device is recognized by the system, or simply getting an overview of the USB devices connected to your computer.

Here is an example of the output you might see when running the "lsusb" command:

Bus 002 Device 002: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04f2:b53f Chicony Electronics Co., Ltd Integrated Camera
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

In this example, it shows five USB devices connected to the system, including a multi-flash reader, an integrated camera, and an integrated rate matching hub. The device IDs (the ID field) are also displayed, which can be helpful when searching for information about a specific USB device.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • how do I list my usb devices?
back to the lsusb tool