summaryrefslogtreecommitdiff
path: root/README.md
blob: d933fa54012d436b1d746243c96e7dcd84c071f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!---
SPDX-License-Identifier: GPL-2.0+
Copyright (c) 2018 Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-->
# 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