usbutils
From Gentoo Wiki
usbutils is a collection various utilities for querying the the Universal Serial Bus (USB). The most prominent utility included is lsusb, a hardware detection tool for system resources connected to the Universal Serial Bus.
Installation
USE flags
USE flags for sys-apps/usbutils USB enumeration utilities
python
|
Add optional support/bindings for the Python language |
Emerge
root #
emerge --ask sys-apps/usbutils
lsusb detects the devices based on an ID database provided by sys-apps/hwids which will be installed as a dependency of usbutils.
Usage
Invocation
user $
qlist usbutils | grep bin/
/usr/bin/usb-devices /usr/bin/lsusb /usr/bin/usbhid-dump
user $
lsusb -h
Usage: lsusb [options]... 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, --tree Dump the physical USB device hierarchy as a tree -V, --version Show version of program -h, --help Show usage and help
See also
- Hardware detection — lists and describes utilities used to detect and provide information on hardware.
- Lshw — a small tool that provides detailed information on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 or EFI (IA-64) systems and on some PowerPC machines (PowerMac G4 is known to work).
- Pciutils — contains various utilities dealing with the PCI bus (primarily lspci).