1
0
Fork 0
mirror of https://github.com/libusb/libusb.git synced 2025-12-05 22:47:23 +00:00
A cross-platform library to access USB devices
Find a file
Logan Gallois 9ceaa526fe windows: fix bus number assignment for root hub device
Adjusts bus number incrementation when an existing root hub device is
found with a matching session. This prevents duplicate bus number
assignments in the device list.

Closes #1698
2025-11-10 09:55:12 +01:00
.github CI(linux): ASan/UBSan + hardening; staged install (DESTDIR); bounded BOS fuzzer smoke inside linux job 2025-10-01 00:18:17 +02:00
.private Replace all http://libusb.info/ with https 2024-01-19 21:53:20 +01:00
android Add API support for LIBUSB_SPEED_SUPER_PLUS_X2 20Gbps USB 3.2 gen 2x2 2024-05-07 19:44:28 +02:00
doc core: Refactor initialization and how the default context is handled 2021-06-02 22:53:59 -06:00
examples Fixed clang-tidy readability-math-missing-parentheses warnings 2025-08-28 20:27:28 +02:00
libusb windows: fix bus number assignment for root hub device 2025-11-10 09:55:12 +01:00
msvc windows: Fix Compilation with Microsoft Visual Studio 2026 2025-09-18 10:18:50 +02:00
tests tests/fuzz: BOS device‑cap parsers fuzzer (USB 2.0 ext, SS dev‑cap, Container ID) + minimal corpus seed 2025-10-01 00:16:34 +02:00
Xcode darwin: Add new windows_hotplug files to Xcode project 2025-08-28 20:34:34 +02:00
.clang-tidy Updated .clang-tidy config file to enable/disable some more warnings 2025-08-28 20:29:58 +02:00
.codespellrc Correct some spelling and add codespell config file 2024-01-20 12:09:35 +01:00
.gitattributes Windows: Remove support for WinCE and Visual Studio older than 2013 2020-01-20 18:02:19 -08:00
.gitignore windows: hotplug implementation 2025-08-26 21:46:43 +02:00
.travis.yml travis: Turn off Homebrew updates 2020-12-19 13:29:38 -08:00
appveyor.yml msvc: Rework msbuild files 2022-06-26 17:09:14 +02:00
AUTHORS libusb 1.0.29 2025-06-01 20:33:14 +02:00
autogen.sh autogen: Support being called from external build dir 2021-04-14 16:51:09 +02:00
bootstrap.sh autogen: Support being called from external build dir 2021-04-14 16:51:09 +02:00
ChangeLog libusb 1.0.29 2025-06-01 20:33:14 +02:00
configure.ac windows: hotplug implementation 2025-08-26 21:46:43 +02:00
COPYING Initial commit 2007-12-02 22:54:59 +00:00
HACKING Add HACKING file with hints on proper commits 2023-11-05 14:36:28 +01:00
INSTALL_WIN.txt msvc: Rework msbuild files 2022-06-26 17:09:14 +02:00
KEYS Add KEYS file for release files verification 2024-07-28 14:04:37 +02:00
libusb-1.0.pc.in Solaris backend 2016-07-24 20:00:00 -06:00
Makefile.am Makefiles: Remove target-specific variables 2020-04-09 12:30:57 -07:00
NEWS Replace all http://libusb.info/ with https 2024-01-19 21:53:20 +01:00
PORTING Misc: Revert all references to libusb/libusb.info 2014-01-08 23:51:01 +00:00
README chore: Remove broken or stale build badges from README 2025-05-16 00:35:38 +02:00
README.git Correct some spelling and add codespell config file 2024-01-20 12:09:35 +01:00
README.md Exchange README.md and README 2020-08-23 17:32:06 +02:00
TODO Updated TODO link 2016-07-24 20:02:31 -06:00

libusb

libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD, Haiku, Solaris userspace, and WebAssembly via WebUSB. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING).

libusb is abstracted internally in such a way that it can hopefully be ported to other operating systems. Please see the PORTING file for more information.

libusb homepage: https://libusb.info/

Developers will wish to consult the API documentation: http://api.libusb.info

Use the mailing list for questions, comments, etc: http://mailing-list.libusb.info

(Please use the mailing list rather than mailing developers directly)