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.)
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
which will build everything and place the binaries into the build/
subdirectory.
usbutils uses meson to build, so if you wish to just build by hand you can do:
meson setup build
cd build/
meson compile
The source for usbutils can be found in many places, depending on the git hosting site you prefer. Here are the primary locations, in order of preference by the maintainer:
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git/
https://git.sr.ht/~gregkh/usbutils
https://github.com/gregkh/usbutils