-
-
Notifications
You must be signed in to change notification settings - Fork 362
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
apc_modbus: "upsdrvctl start" fails #2732
Comments
Can you please run with more debug, and ideally the driver program itself? What system do you run it on? There may be a problem of unexpected APC I wonder if it's a duplicate of #2289 et al, or a separate issue?.. |
results in:
|
Strange, it does not even seem to try finding the device. Also it tries to run as Try running via Also, just in case - are you sure your model/firmware version should talk modbus and not USB HID or some other protocol? |
sudo and all the other options give the same result the output of
usb-hid driver works but doesnt give all the values |
So i've just been able to update the firmware on the device and now the output is different:
returns:
|
Hm, so it seems the driver indeed is not compatible with all firmwares out there, to the point of not even detecting them as a device (or the firmware not representing itself as a device visible to the OS)? From my reading, your FW version changed quite significantly - from 06.0 to 18.0, right?
Now this issue is unfortunately known with some devices, although not fully understood yet, tracked in #2289 / #2609 - and after the firmware update, your case seems to have become a duplicate of those. FWIW, there is a fair amount of log notes in those issues (especially the latter) jotted down while I was reading through code and log dumps. One question from those still stands:
|
Also, which computer is this build of NUT running on - a Raspberry, or some other platform? (Trying to check if this is something specific to ARM versions of Linux distributions/headers, etc.) |
The FW changed fron 06.0 to 18.0, right correct. The Device does not appear as a serial device as far as i can tell. NUT is running on Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-51-generic x86_64). |
Well, it is good to know that the problem is not ARM-specific, at least -- thanks! I don't think switching distros would help at the moment, the problem has to be between new codebases in apc_modbus driver and the fork of libmodbus, as explored in those issues... |
Hi,
i compiled nut with the modbus support (https://github.com/networkupstools/nut/wiki/APC-UPS-with-Modbus-protocol) and copied the apc_modbus driver into "/lib/nut/" but "upsdrvctl start" now fails:
my ups.conf:
The text was updated successfully, but these errors were encountered: