-
-
Notifications
You must be signed in to change notification settings - Fork 370
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
Persistent usbhid-ups[7209]: nut_libusb_get_report: Input/Output Error #2854
Comments
Looking at logs, you seem to be running NUT v2.8.0 variant. Can you please try recent versions, or master-branch builds? Maybe @desertwitch can help about that, as it seems you're running UNRAID... |
I get more errors on 2.8.2 Mar 19 00:44:56 cloud usbhid-ups[6819]: #012Reconnecting. If you saw "nut_libusb_get_interrupt: Input/Output Error" or similar message in the log above, try setting "pollonly" flag in "ups.conf" options section for this driver! |
Using on latest (nut-2.8.2-x86_64-7master.ssl31) gives the same errors |
And did you set |
What syntax would I use to add that to the ups.conf |
Reading man pages and other docs generally helps :) In the section for the device config, add |
Then no, it doesnt work |
Nevermind, it was not saving the flag because a setting needed to be changed, now it appears to be working |
Spoke too soon Mar 19 19:03:29 cloud usbhid-ups[270750]: nut_libusb_get_report: Input/Output Error |
Can you also add I wonder if this is related to fixes in master after 2.8.2, like #2604 (so the error is not so much of communications as of interpreting the data as usable). |
Of course now that debugging is is on I dont get the error |
The log is just this repeating now
|
Ok, it finally errored
|
Aha, thanks. So the message is not all too benign - the driver reconnects afterwards.
Seeing how you have a CPS device, check these Wiki pages:
Notably, you may benefit from a more frequent USB polling so the UPS controller does not fall asleep. Also checked, this does not seem to be what #2604 fixed after all, I think... |
Unfortunately changing the polling interval didnt seem to help, unless I dont have a concept of what is should be. I tried 0.2, 0.5 and 1 second |
IIRC drivers' default is 30 sec, so reduced values around 5-10 sec should be good for CPS... assuming that is the issue leading to reconnects. |
NUT persistently output 'usbhid-ups[7209]: nut_libusb_get_report: Input/Output Error' though it appears to be running fine.
nut-debug-20250318181700.zip
The text was updated successfully, but these errors were encountered: