[Nut-upsuser] howto setup BNT-1500AP on gentoo
Charles Lepple
clepple at gmail.com
Tue Dec 12 04:03:38 CET 2006
On 12/11/06, Vitaly Oborsky <undersmoker at gmail.com> wrote:
> At start by a command/etc/init.d/upsdrv start gives out the following:
>
> * Starting UPS drivers ...
> Network UPS Tools - UPS driver controller 2.0.4
> Network UPS Tools - PowerCom and similars protocol UPS driver $
> Revision: 0.5 $ (2.0.4)
>
> data receiving error (-1 instead of 16 bytes)
Have you tried the default "Trust" protocol?
Are you sure that the serial cable is appropriate for sending commands
to the UPS (as opposed to contact-closure signalling)?
You could try running the driver as follows:
strace -o /tmp/powercom.log -f /lib/nut/powercom -a powercom -DDD
The logfile '/tmp/powercom.log' will help narrow down which code path
is returning '-1'.
Bear in mind that I do not know anything specific about this driver.
--
- Charles Lepple
More information about the Nut-upsuser
mailing list