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

  • -v

    Shows detailed information for each device.

  • -t

    Shows 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 ruta

    Examines the device given by its file under /dev/bus/usb.

  • -V

    Shows the version and exits.

Usage examples

  • lsusb

    Lists the connected USB devices.

  • lsusb -t

    Shows the hierarchy of hubs and devices.

  • lsusb -d 046d:

    Shows only the devices from the vendor with that ID.

  • sudo lsusb -s 001:003 -v

    Shows 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.

Related commands