Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple USB-capable drivers: add ways to tune USB HID config, report, descriptor indexes and in/out endpoints #2331

Merged
merged 1 commit into from
Mar 2, 2024

Conversation

jimklimov
Copy link
Member

Closes: #2149

Note that this PR only adds support for setting these tunables, but does not revise all of libusb-related codebase that values are not hard-coded but are in fact used from the usb_communication_subdriver_t structure.

A worthy follow-up could be nut-scanner automated discovery of useful interface numbers (e.g. by size).

@AppVeyorBot
Copy link

@jimklimov jimklimov force-pushed the issue-2149 branch 2 times, most recently from a5d666b to d9523b8 Compare March 1, 2024 11:17
@AppVeyorBot
Copy link

@AppVeyorBot
Copy link

…, descriptor indexes and in/out endpoints [networkupstools#2149]

Signed-off-by: Jim Klimov <[email protected]>
@AppVeyorBot
Copy link

@jimklimov jimklimov merged commit 34c8a56 into networkupstools:master Mar 2, 2024
9 of 13 checks passed
@jimklimov jimklimov deleted the issue-2149 branch March 2, 2024 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement USB non-zero interface numbers Most UPSes serve USB interactions on interface 0 which is default. Recent "composite devices" differ USB
Projects
None yet
2 participants