HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

lsusb — Display information about USB buses and devices connected to them. More information: <https://manned

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandbusescliinformationlsusbaboutusbdisplay
linux

Problem

How to use the lsusb command: Display information about USB buses and devices connected to them. More information: <https://manned.org/lsusb>.

Solution

lsusb — Display information about USB buses and devices connected to them. More information: <https://manned.org/lsusb>.

List all the USB devices available:
lsusb


List the USB hierarchy as a tree:
lsusb {{[-t|--tree]}}


List verbose information about USB devices:
sudo lsusb {{[-v|--verbose]}}


List detailed information about a USB device:
sudo lsusb {{[-v|--verbose]}} -s {{bus}}:{{device number}}


List devices with a specified vendor and product ID only:
lsusb -d {{vendor}}:{{product}}

Code Snippets

List all the USB devices available

lsusb

List the USB hierarchy as a tree

lsusb {{[-t|--tree]}}

List verbose information about USB devices

sudo lsusb {{[-v|--verbose]}}

List detailed information about a USB device

sudo lsusb {{[-v|--verbose]}} -s {{bus}}:{{device number}}

List devices with a specified vendor and product ID only

lsusb -d {{vendor}}:{{product}}

Context

tldr-pages: linux/lsusb

Revisions (0)

No revisions yet.