commit | f7cb6bcf153df115fc43cfba4ececf29eb29ade7 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Aug 25 14:36:24 2022 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Aug 25 14:36:24 2022 +0200 |
tree | 09952d2d5abf9a6153e013e5a945c8268c402fa7 | |
parent | 77b93c9afaba7edc950861b54259a94733b3274c [diff] |
lsusb: fix up Midi Device specification devices The DescriptorSubtype should be checking for 0x02, not 0x01, in order to display (GENERAL) or (Invalid) as per the USB specification for USB MIDI devices. Reported-by: symdeb Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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