commit | 1a19bf5d8e5fcd2519d1423ef44ba39a407fe4d4 | [log] [tgz] |
---|---|---|
author | Ruslan Kabatsayev <b7.10110111@gmail.com> | Tue Nov 10 10:15:35 2020 +0300 |
committer | Ruslan Kabatsayev <b7.10110111@gmail.com> | Mon Feb 22 22:22:31 2021 +0300 |
tree | 76686a495c78ff30e794f674786fcc995d36ea4b | |
parent | 993a9817d5bec161ceeab77062685de58e54c5f7 [diff] |
Fix formatting of interface descriptors to match /sys/kernel/debug/usb/devices Interface and number of endpoints are formatted as decimals in /sys/kernel/debug/usb/devices, while their formatting in dedicated files under /sys/bus/usb/devices/ is in hexadecimal without 0x prefix. This patch ensures the correct conversion for both. Signed-off-by: Ruslan Kabatsayev <b7.10110111@gmail.com>
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
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