-
-
Notifications
You must be signed in to change notification settings - Fork 349
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
nut_libusb_get_interrupt: Connection timed out on debug #2644
Comments
@tormodvolden @jimklimov do you think it's related to how nut proccess libusb or I can test it with xusb if it related to libusb itself? I have also nut client on windows that read values from nut, also telegraf that read values and write to influxdbv2 for grafana dashboard. |
Is this causing a problem or is it just that you see the debug message in the log? You'll have to find out what the nut code tries to do, then what to expect from the device and libusb calls. If you have suspicions about a libusb issue, you must provide LIBUSB_DEBUG=4 logs to start. xusb can do some HID interrupt transfers, but I don't know if it fits with your device. |
Yes the problem upsrw commands not working for me , hovewer it write OK or Success #2643 |
|
Personally I am allergic to text being pasted as images :) There are so many great tools to efficiently search and process textual information. |
Sorry, got it, will post the log here.. |
|
Also tryed to add |
Please see #2616. |
Maybe bring that up in #2616, if you can't figure out how to enable this, the documentation is definitely not good enough. |
Did you already read docs/man/nut.conf.txt ? |
No just was reading #2616 |
seems |
The LIBUSB_DEBUG variable is mentioned in docs/man/nut_usb_addvars.txt but docs/man/nut.conf.txt explains more in general how to set variables correctly. |
So i added nut/docs/man/nut_usb_addvars.txt Line 136 in 1560afe
my bad was i added to and nut started OK, if wrong variable was set in ups.conf NUT will not start . and from both logs , no info about libusb debug :
|
What does docs/man/nut.conf.txt say about spaces? :) |
Using NUT plugin for Unraid
When debug is on have many interrupt transfers :
have a lot of
nut_libusb_get_interrupt: Connection timed out
in debug log andmaybe also affect on #2643
or its just closing connection every time for cycle of reading data?
From libusb/libusb#1548 (comment) by @tormodvolden (have issues with interrupt transfers )
Mostly looks like this :
The text was updated successfully, but these errors were encountered: