WIP: RFC: Hotplug implementation (combined improvements for testing) #836
No reviewers
Labels
No labels
3rdparty
Android
API
Author does not respond
bsd
bug
build system/CI
ci-virtual-device
CMake
Contributions Welcome
Core
dependencies
device-specific
documentation
don't_merge
duplicate
enhancement
Example
Haiku
hidraw
hotplug
info required
invalid
libusb
macOS
Misc
Not an issue
question
Release
Test
Test GUI
Windows
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-libusb/hidapi!836
Loading…
Reference in a new issue
No description provided.
Delete branch "connection-callback-2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is a combined branch for testing all the hotplug improvements made recently by various AI agents together. It collects the current improvements to
connection-callbackonconnection-callback-2, withmasteras the comparison target, alongside the original draft PR #674. The existing PRs remain open for individual review.The combined branch includes the current tips of all seven open PRs targeting
connection-callback:connection-callback-2includes the complete integration history from9fdce4186c17c6d81b20a6595029ca38409844ac, the updated libusb PR #825, and the latestmasterat852cc68b8e0e4c7eba0815ef992951cd8b75c55b. Codex verified that every current PR tip listed above andmasterare ancestors of the combined branch.The
libusb/hidapi_libusb.hconflict was resolved in #825 by mergingmasterand preserving both the hotplug error-serialization documentation and the timeout declarations from #832. The updated libusb branch was then merged into this combined branch; no conflict remains withmaster.Validation of the updated combined tree (
932e5ac):HotplugAPI_hidrawandHotplugAPI_libusbpassed; four device-backed tests self-skipped because the required virtual devices are unavailable locally.HotplugAPI_winapi; two device-backed tests self-skipped because the virtual HID driver is not installed locally.The updated PR commits trigger fresh CI. The test setup and platform requirements are documented in
src/tests/README.md.Related to #674 and #238 (hotplug support), #785 (Windows error handling), #791 and #792 (callback device-list contract), #793 (enumeration callback return values), and #794 (macOS self-join deadlock).
Builds on the existing work from #708 (libusb error reporting), #790 (hotplug contract), and #815 (virtual-device test harness). Related follow-ups remain #828 (Linux monitor recovery) and #829 (custom libusb thread-model compatibility).
Also includes the latest merged
masterwork from #831 (pkg-config generation), #832 (libusb timeouts), and #834 (API usage contract).Generated by Codex (GPT-6 Astra).
Assisted-by: codex:gpt-6-astra
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.