Add usb_resetter documentation for unreliable USB UPS interfaces (Linux, Python)#1887
Conversation
|
Thanks for the contribution, much appreciated. I think it is worth noting (maybe in the document too) that With current NUT releases (2.8.0+), this single service for all the drivers you have as one bundle should be no more. Instead, Also, I suppose after the |
Indeed, I'll have another PR for the README file
I have looked at drop-in files, but i don't know how to limit to one instance of a
No, the script's task is only to reset devices / controllers. |
Just name its directory for the expected instance (NDE with NUT v2.8.0+ will create some drop-ins), e.g. /etc/systemd/system/nut-driver@myups.service.d/dropin.conf |
Reformatted line widths and code examples, incorporated PR discussion notes
Some more formatting/wording fixes
|
As a curious data point, similar issue (and also with Innotech chips) was addressed for Solaris/illumos earlier, see https://github.com/networkupstools/nut/blob/master/docs/solaris-usb.txt#L233 and https://github.com/networkupstools/nut/blob/master/scripts/Solaris/reset-ups-usb-solaris.sh.sample |
|
Thanks! |
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
This PR adds documentation for a workaround solution for unreliable USB interfaces, as stated in #1688
I use this on a couple of UPS for months now, without any major issue.
General points
Described the changes in the PR submission or a separate issue, e.g.
known published or discovered protocols, applicable hardware (expected
compatible and actually tested/developed against), limitations, etc.
There may be multiple commits in the PR, aligned and commented with
a functional change. Notably, coding style changes better belong in a
separate PR, but certainly in a dedicated commit to simplify reviews
of "real" changes in the other commits. Similarly for typo fixes in
comments or text documents.
General documentation updates
[N/A] Updated
docs/acknowledgements.txt(for vendor-backed device support)[N/A] Added or updated manual page information in
docs/man/*.txtfilesand corresponding recipe lists in
docs/man/Makefile.amfor new pages[N/A] Passed
make spellcheck, updated spell-checking dictionary in thedocs/nut.dictfile if needed (did not remove any words -- themakerule printout in case of changes suggests how to maintain it).