commit | 6809e0121ab662faf0e55fb77b8c78bc88d6083c | [log] [tgz] |
---|---|---|
author | Grant Grundler <grundler@chromium.org> | Mon Jun 21 17:53:06 2021 -0700 |
committer | Grant Grundler <grundler@chromium.org> | Tue Jul 27 22:09:16 2021 -0700 |
tree | d27786048cdf31e741e9cbea46c4e9949a024eed | |
parent | 8677fe891fcd31ac50ab450ea61e44b31dc017b9 [diff] |
lsusb: don't complain on EAGAIN Given the requested decriptors are optional, seems like lsusb should NOT use perror() to communicate why it can't get the descriptors in question (output is directed to stderr, not stdout). Further, if we were told to "come back later" (EGAIN), then it's really not an error. Only emit this output when user adds "-vv" to the command line. Signed-off-by: Grant Grundler <grundler@chromium.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