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

Adding insufficient memory libusb error handling to reconnect UPS ins… #1422

Merged

Conversation

tdy91
Copy link
Contributor

@tdy91 tdy91 commented May 12, 2022

…tead of doing nothing.

For example, this error appears after 1 to 8 hours on an Eaton MGE 1500 UPS (0463:ffff) and
causes many "Can't retrieve Report 0a: Resource temporarily unavailable" errors, followed by a
passage of UPS in ups.tatus "OL OFF" (Online Off) which immediately cuts off computer power supply !!!
Trying to reconnect solves this prohibitive problem

…tead of doing nothing.

For example, this error appears after 1 to 8 hours on an Eaton MGE 1500 UPS (0463:ffff) and
causes many "Can't retrieve Report 0a: Resource temporarily unavailable" errors, followed by a
passage of UPS in ups.tatus "OL OFF" (Online Off) which immediately cuts off computer power supply !!!
Trying to reconnect solves this prohibitive problem
@jimklimov
Copy link
Member

Thanks! Looks reasonable, will wait for CI to confirm these symbols exist on all OSes it covers.

@jimklimov jimklimov added bug USB ready / gonna merge The PR is in final cycles leading to merge unless someone logs an objection before we hit the button labels May 12, 2022
@jimklimov jimklimov merged commit 770c6fb into networkupstools:master May 13, 2022
@tdy91 tdy91 deleted the usbhid-ups-libusb-1.0-error-fix branch May 17, 2022 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ready / gonna merge The PR is in final cycles leading to merge unless someone logs an objection before we hit the button USB
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants