Go to file
Greg Kroah-Hartman 54dcbfc0e8 lsusb.c: change TODO into a fixme in do_dualspeed()
It's not broken, just something else we could be displaying if someone
wants to add support for it.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-16 17:02:07 +01:00
.github ci/codeql: use filter-sarif to filter meson-private 2024-11-16 10:33:09 +00:00
ccan Remove commented out code in usbreset.c and list.h and container_of.h 2024-11-16 16:09:35 +01:00
LICENSES LICENSES: add CC0 and MIT licenses 2024-10-01 19:57:13 +02:00
man man: move manual pages in designated sub-folder 2024-09-30 20:00:30 +02:00
usbhid-dump ci: add codespell action, fix all typos 2024-10-16 16:57:34 +01:00
.clang-format clang-format: bump column limit to 120 2024-10-16 17:29:29 +02:00
.codespellignore ci: add codespell action, fix all typos 2024-10-16 16:57:34 +01:00
.editorconfig editorconfig: make the line length 120 2024-10-01 16:43:37 +02:00
.gitignore Update .gitignore files 2024-09-19 18:04:23 +01:00
autogen.sh autogen.sh: use valid email for 2024 copyright 2024-09-18 22:09:08 +01:00
build-dev.ini ci: add SPDX copyright/licence identifiers 2024-09-23 20:42:30 +01:00
desc-defs.c lsusb: const annotate most data, re-enable -Wdiscarded-qualifiers 2024-09-24 10:46:56 +01:00
desc-defs.h rename "GPL-2.0+" to "GPL-2.0-or-later" 2021-02-22 14:25:02 +01:00
desc-dump.c ci: add codespell action, fix all typos 2024-10-16 16:57:34 +01:00
desc-dump.h rename "GPL-2.0+" to "GPL-2.0-or-later" 2021-02-22 14:25:02 +01:00
justfile justfile: add some more targets 2024-10-02 08:42:41 +02:00
lsusb-t.c lsusb-t: fix memory leak 2024-10-01 20:08:38 +02:00
lsusb.c lsusb.c: change TODO into a fixme in do_dualspeed() 2024-11-16 17:02:07 +01:00
lsusb.h rename "GPL-2.0+" to "GPL-2.0-or-later" 2021-02-22 14:25:02 +01:00
lsusb.py lsusb.py: add usb.ids path for Debian 2024-10-25 21:33:21 +02:00
meson.build ci: add clang permutation, for 64bit only 2024-10-16 17:31:11 +02:00
names.c lsusb: drop the genericstrtable hash tables 2024-10-01 13:44:56 +01:00
names.h lsusb: add fallback names for 'lsusb -v' output 2023-10-30 12:26:33 +01:00
NEWS usbutils 018 release 2024-10-22 11:33:33 +02:00
README.md README.md: add the linux-usb mailing list to the README. 2024-09-24 14:50:54 +02:00
sysfs.c sysfs.c: fix an theoretical issue with snprintf() 2024-10-22 11:17:18 +02:00
sysfs.h lsusb: make internal API const-aware 2024-09-24 10:46:56 +01:00
usb-devices usb-devices: Fix usb-devices with busybox 2024-09-05 08:46:52 +02:00
usb-spec.h ci: add codespell action, fix all typos 2024-10-16 16:57:34 +01:00
usbmisc.c meson: always include config.h first, use -include 2024-09-18 23:15:10 +01:00
usbmisc.h rename "GPL-2.0+" to "GPL-2.0-or-later" 2021-02-22 14:25:02 +01:00
usbreset.c Remove commented out code in usbreset.c and list.h and container_of.h 2024-11-16 16:09:35 +01:00
usbutils.spdx usbutils 018 release 2024-10-22 11:33:33 +02:00

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 and libudev, be sure that libraries are 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

Source location

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

Contributing

If you have patches or suggestions, you can submit them either via email to the maintainer or to the linux-usb mailing list or via a pull request.

Please note that commits must include a Signed-off-by trailer, indicating that you comply with the Developer Certificate of Origin v1.1.

In addition, when adding new files or contributing to existing ones, ensure that the SPDX tags SPDX-FileCopyrightText and SPDX-License-Identifier are available and are kept up-to date. You can learn more and do that via reuse-tool.