Introduction to USB Utils
The USB Utils package contains
utilities used to display information about USB buses in the system
and the devices connected to them.
This package is known to build and work properly using an LFS-7.7
This package is known to build and work properly using the gcc-5
USB Utils Dependencies
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/usbutils
Installation of USB Utils
Install USB Utils by running the
sed -i '/^usbids/ s:usb.ids:hwdata/&:' lsusb.py &&
./configure --prefix=/usr --datadir=/usr/share/hwdata &&
This package does not come with a test suite.
Now, as the
The script lsusb.py
displays information in a more easily readable form than
lsusb. To find the
options, use lsusb.py
-h. One form of use recommended by the developer is
sed ... lsusb.py:
Instructs lsusb.py where to search
Configuring USB Utils
usb.ids data file is constantly
being updated. To get a current version of this file, using
Wget-1.16.3, run, as the
install -dm755 /usr/share/hwdata/ &&
wget http://www.linux-usb.org/usb.ids -O /usr/share/hwdata/usb.ids
You may wish to add an entry to
root's (or any other user who has write
crontab to automatically update the
usb.ids file periodically.
lsusb, lsusb.py, usb-devices, and
is a utility for displaying information about all USB
buses in the system and all devices connected to them,
but not in human friendly form.
displays information about all USB buses in the system
and all devices connected to them in reasonable human
is a shell script that displays details of USB buses and
devices connected to them. It is designed to be used if
/proc/bus/usb/devices is not available on your system.
is used to dump report descriptors and streams from HID
(human interface device) interfaces of USB devices.
Last updated on 2015-07-25 16:05:00 +0000