Introduction to USB Utils
The USB Utils package contains an
utility 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.6
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
make install &&
mv -v /usr/sbin/update-usbids.sh /usr/sbin/update-usbids
--disable-zlib: This stops USB Utils from installing a compressed
usb.ids alongside the uncompressed
Configuring USB Utils
usb.ids data file is constantly
being updated. To get a current version of this file, 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, update-usbids, usb-devices, and
is an utility for displaying information about all USB
buses in the system and all devices connected to them.
downloads the current version of the USB ID list.
Requires Lynx-2.8.8rel.2 or Wget-1.16.
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 2014-11-22 18:32:08 +0000