9.17. usbutils-019

9.17.1. 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.

Approximate build time: less than 0.1 SBU
Required disk space: 1.9 MB

USB Utils Dependencies

Required

Section 9.16, “libusb-1.0.29”

Recommended

9.17.2. Installation of USB Utils

Prepare USB Utils by running the following command:

meson setup build         \
      --prefix=/usr       \
      --buildtype=release

Compile the package:

ninja -C build

This package does not come with a test suite.

Install the package:

ninja -C build install

For the usb.ids data file, install the Section 9.14, “Hwdata-0.403” package.

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 lsusb.py -ciu.

9.17.3. Contents

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

Short Descriptions

lsusb

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

lsusb.py

displays information about all USB buses in the system and all devices connected to them in reasonable human friendly form

usb-devices

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

usbhid-dump

is used to dump report descriptors and streams from HID (human interface device) interfaces of USB devices