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-8.3 platform.

Package Information

USB Utils Dependencies



Required Runtime


User Notes:

Installation of USB Utils

Install USB Utils by running the following commands:

./configure --prefix=/usr --datadir=/usr/share/hwdata &&

This package does not come with a test suite.

Now, as the root user:

make install

To install the usb.ids data file, using Wget-1.19.5, run, as the root user:

install -dm755 /usr/share/hwdata/ &&
wget -O /usr/share/hwdata/usb.ids

The script displays information in a more easily readable form than lsusb. To find the options, use -h. One form of use recommended by the developer is -ciu.

Configuring USB Utils

The usb.ids data file is constantly being updated. For System V based systems, get a current version of this file, using Wget-1.19.5, periodically run, as the root user:

wget -O /usr/share/hwdata/usb.ids

You may wish to add an entry to root's (or any other user who has write privilege to /usr/share/hwdata) crontab to automatically update the usb.ids file periodically.

For systemd based systems, execute the following commands, as the root user, to create a systemd timer to update it weekly on Sundays at 3:00 A.M. (local time):

cat > /lib/systemd/system/update-usbids.service << "EOF" &&
Description=Update usb.ids file

ExecStart=/usr/bin/wget -O /usr/share/hwdata/usb.ids
cat > /lib/systemd/system/update-usbids.timer << "EOF" &&
Description=Update usb.ids file weekly

OnCalendar=Sun 03:00:00

systemctl enable update-usbids.timer


Installed Programs: lsusb,, usb-devices, and usbhid-dump
Installed Libraries: None
Installed Directories: None

Short Descriptions


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 friendly form.


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 2018-09-22 16:32:07 -0700