lsusb(8)
๐ lsusb(8) ๐ Linux USB Utilities โจ
๐ NAME
lsusb - list USB devices
๐ฆ SYNOPSIS
lsusb [ options ]
๐ DESCRIPTION
okay so lsusb is the utility you use to look at the USB buses in your system and all the devices plugged into them ๐โจ it's giving detective energy. It uses udev's hardware database to match the vendor ID and the product ID to a full human-readable name, so you get actual names instead of just random hex ๐
๐ธ OPTIONS
-v,--verboseโ main character mode ๐ tellslsusbto be verbose and show detailed info about each device. This includes the configuration descriptors for the device's current speed. Class descriptors get shown too, when they're available, for USB device classes like hub, audio, HID, communications, and chipcard. You can use it with the-toption ๐ซถ-s [[bus]:][devnum]โ only show devices on a specific bus and/or devnum. Both IDs are in decimal, and you can skip either one ๐-d [vendor]:[product]โ only show devices matching a specific vendor and product ID. Both IDs are in hexadecimal ๐ฅ-D deviceโ okay this one's a little different ๐ it skips scanning the/dev/bus/usbdirectory and only shows info about the device whose device file you give it. That file should look something like/dev/bus/usb/001/001. This option shows detailed info like-vdoes, and you must be root to use it ๐-t,--treeโ dumps the physical USB device hierarchy as a tree ๐ณ and you can crank up the verbosity by using-vtwice ๐ง-V,--versionโ prints the version info to standard output, then exits successfully โจ
๐ฎ RETURN VALUE
if the device you asked for isn't found, you get a non-zero exit code ๐ญ
๐ซง SEE ALSO
lspci(8), usbview(8). ๐
๐ AUTHOR
Thomas Sailer, <sailer@ife.ee.ethz.ch>. the OG ๐
bestie that's the whole lsusb(8) page ๐ usbutils, 11 February 2019, lsusb(8) ๐ stay curious and go touch some grass (or your USB ports) ๐ฆ
๐ฆ where this page comes from
- alpine 3.22: usbutils-doc 018-r0 ยท GPL-2.0-or-later
- alpine 3.23: usbutils-doc 019-r0 ยท GPL-2.0-or-later
- alpine 3.24: usbutils-doc 019-r0 ยท GPL-2.0-or-later
- arch rolling: usbutils 019-1
- arch rolling: usbutils 020-1 ยท GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.1-or-later AND MIT
- centos-stream 10: usbutils 018-1.el10 ยท GPL-2.0-or-later
- debian trixie: usbutils 1:018-2 ยท GPL-2.0-only OR GPL-3.0-only
- fedora 43: usbutils 018-4.fc43 ยท GPL-2.0-or-later
- fedora 44: usbutils 019-2.fc44 ยท GPL-2.0-or-later
- nixos 26.05: usbutils 019
- nixpkgs unstable: usbutils 019
- ubuntu questing: usbutils 1:018-2 ยท GPL-2.0-only OR GPL-3.0-only
- ubuntu resolute: usbutils 1:019-1 ยท GPL-2.0-only OR GPL-3.0-only
- ubuntu stonking: usbutils 1:019-1 ยท GPL-2.0-only OR GPL-3.0-only
- ๐ the page's license: GPL-2.0-only
- Copyright (c) 1999 Thomas Sailer <sailer@ife.ee.ethz.ch>
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms