usbutils main repo

Clone this repo:
  1. 1a3f8b6 Merge pull request #118 from 10110111/master by Greg Kroah-Hartman · 3 months ago master
  2. d131266 Fix formatting of max endpoint packet size to match /sys/kernel/debug/usb/devices by Ruslan Kabatsayev · 6 months ago
  3. 9a8fef9 Fix formatting of endpoint type to match /sys/kernel/debug/usb/devices by Ruslan Kabatsayev · 6 months ago
  4. fa02764 Fix formatting of endpoint direction to match /sys/kernel/debug/usb/devices by Ruslan Kabatsayev · 6 months ago
  5. 1a19bf5 Fix formatting of interface descriptors to match /sys/kernel/debug/usb/devices by Ruslan Kabatsayev · 6 months ago

usbutils

This is a collection of USB tools for use on Linux and BSD systems to query what type of USB devices are connected to the system. This is to be run on a USB host (i.e. a machine you plug USB devices into), not on a USB device (i.e. a device you plug into a USB host.)

Building and installing

Note, usbutils depends on libusb, be sure that library is properly installed first.

To work with the “raw” repo, after cloning it just do:

./autogen.sh

Or if you like doing things “by hand” you can try the following:

Get the usbhid-dump git submodule:

git submodule init
git submodule update

Initialize autobuild with:

autoreconf --install --symlink

Configure the project with:

./configure

Build everything with:

make

Install it, if you really want to, with:

make install