← 返回命令列表

Linux command

lsusb 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Example

lsusb

Example

lsusb -t

Example

sudo lsusb -v

Example

sudo lsusb -v -s 001:002

Example

lsusb -d 1234:5678

说明

lsusb displays information about USB buses in the system and devices connected to them. It uses udev's hardware database to provide human-readable vendor and product names.

参数

-v, --verbose
Display detailed device information including configuration and class descriptors
-s [bus:]devnum
Show only devices on specified bus and/or device number (decimal)
-d vendor:product
Show only devices with specified vendor/product ID (hexadecimal)
-D _device_
Display information about a specific device file (e.g., /dev/bus/usb/001/002)
-t, --tree
Display USB device hierarchy as tree
-V, --version
Display version information

FAQ

What is the lsusb command used for?

lsusb displays information about USB buses in the system and devices connected to them. It uses udev's hardware database to provide human-readable vendor and product names.

How do I run a basic lsusb example?

Run `lsusb` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -v, --verbose do in lsusb?

Display detailed device information including configuration and class descriptors