lsusb命令

lsusb命令用于查看USB设备的详细信息

List USB devices
  -v, --verbose
      Increase verbosity (show descriptors)
  -s [[bus]:][devnum]
      Show only devices with specified device and/or
      bus numbers (in decimal)
  -d vendor:[product]
      Show only devices with the specified vendor and
      product ID numbers (in hexadecimal)
  -D device
      Selects which device lsusb will examine
  -t
      Dump the physical USB device hierarchy as a tree
  -V, --version
      Show version of program

v:显示USB设备的详细信息
s:显示指定的总线和(或)设备号的设备
d:显示指定厂商和产品编号的设备
t:以树状结构显示无理USB设备的层次
V:显示命令的版本信息

# lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 001 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub

Bus 001:usb主控制器
Device 001:usb设备号
ID 1d6b:0001:usb设备ID(由芯片制造商设置,可以唯一表示该设备)

原文地址:https://www.cnblogs.com/zhangxuechao/p/11709789.html