[Nut-upsuser] howto setup BNT-1500AP on gentoo

Arjen de Korte nut+users at de-korte.org
Tue Dec 12 09:25:39 CET 2006

>> data receiving error (-1 instead of 16 bytes)


> The logfile '/tmp/powercom.log' will help narrow down which code path
> is returning '-1'.

Looking at the sources, it is quite obvious where this error occurs (in
upsdrv_updateinfo). Sending a command to the UPS apparently is not a
problem, but the '-1' indicates that the UPS is not responding at all
(most likely, ser_get_buf_len times out). I agree with Charles' remark to
checkout the cable.

Regards, Arjen
Eindhoven - The Netherlands
Key fingerprint - 66 4E 03 2C 9D B5 CB 9B  7A FE 7E C1 EE 88 BC 57

More information about the Nut-upsuser mailing list