-
-
Notifications
You must be signed in to change notification settings - Fork 365
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
Legrand "WHAD HE" should be supported but it doesn't work. #2038
Comments
Just in case - which NUT version are you running? Many systems still package 2.7.4, and fixes from 2018 would be part of 2.8.0 (or current master) codebase. |
I compiled from nut-2.8.0 |
a strace looks like this:
and as far as I can see, this is where it fails:
so it looks it can't talk at all with the bus and here's the driver before being forked:
|
Could it be that the UPS firmware (or HW it runs on) is slower than the driver expects? Can you try increasing the timeout (the last couple of "1" sec and "0" usec parameters to While at it, since you are building NUT, can you try using the current master branch as the base (especially useful if a PR would come out of this adventure)? At the very least, there were some improvements to make run-time debugging easier. If using an IDE like NetBeans is an option (can use GDB over SSH to run code on an appliance and an IDE on your workstation), you could even try stepping through the driver code directly. Otherwise, peppering interesting places in the code with One more idea is to check FS permissions for |
It is most definitely not attached to a Usb dongle, I will make some tests and write here if I find something.
--
--
--
|
by the way, having read all the thread of that guy from Legrand it looked like he said that the |
For a random shot, check if they talk Qx protocols? e.g. with IIRC the recommended start is to set the port to 1200 baud and echo |
I'll test the chatter! |
Hi, according to the Hardware compatibility list the Legrand
WHAD HE
series should be supported with 4 stars, but in reality it doesn't work. I've looked a bit and it appears that in 2018 a Legrand representative was about to release a specific driver for this series, but as far as I see it was not merged zykh#4The text was updated successfully, but these errors were encountered: