belkin-hid.c: auto-select interface 1 for Liebert PSI5 / PowerSure PST (10af:0002)#3349
Conversation
Compatibility note: this approach breaks NUT 2.8.0 (Debian bookworm stable)I tested the Root cause: dual use of
|
|
Thanks, good points. But why really care about 2.8.0 if it's old and set in stone 4 years ago or so? I think the assumption here is that NUT versioning follows proper SEMVER (MAJOR-MINOR-PATCH releases), then 2.8 feature set is a reasonable baseline to code a patch against. Alas, at the moment we're diverged from that, and whole X.Y.Z numbers are distinct releases. Hope we'll get back to truer semvers after some planned refactoring/hardening works are complete (a decade in the making)... |
|
So if this fix is confirmed working on master, it is good to be merged to master (eventually to be part of v2.8.5 release). @dcgrove : was this change only analyzed by Claude, or you actually built and tested the PR source branch with your UPS? |
…default USB ID 10af:0002 to usb_hid_rep_index=1 [networkupstools#3345] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…add debug-log about imposing non-default USB endpoint/index settings [networkupstools#2821] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
|
Per #3345 (comment) :
Aha, ok :) |
Aims to supplant PR #3345 by addressing the issue detailed there at the more proper location.
Fixes: #1252
Fixes: #1028
Not sure if really related to #3340 or a different issue (could simplify the config there though).