Lsusb

From ZoneMinder Wiki
Jump to navigationJump to search

usage:

lsusb [-v] [-x] [-p <procpath>] [-s [<bus>:][<devnum>]] [-d [<vendor>]:[<device>]]

OPTIONS:

      -v     Tells lsusb to be verbose and display detailed information about all devices.  You must be root for this to work.
      -vv    Tells lsusb to be very verbose and display even more information (actually everything the PCI device is able to tell).  You must  be  root
             for this to work.
      -s [[bus]:][devnum]
             Show only devices in specified bus and/or devnum.  Both ID’s are given in hexadecimal and may be omitted.
      -d vendor:[product]
             Show  only  devices  with the specified vendor and product ID.  Both ID’s are given in hexadecimal; the product ID may be omitted, but the
             vendor ID must be given.
      -p procpath
             Use another path instead of /proc/bus/usb.
      -D device
             Do not scan the /proc/bus/usb directory, instead display only information about the device whose device file is given.   The  device  file
             should be something like /proc/bus/usb/001/001.  This option displays detailed information; you must be root to do this.
      -t     Tells lsusb to dump the physical USB device hierarchy as a tree.
      -x     This option is reserved for future use.
      -V, --version
             Print  version information on standard output, then exit successfully.