[Nut-upsdev] [Nut-upsuser] Plexus UPS 1000V - megatec_usb

Jason Pearce jason at pearce.org.uk
Fri Dec 28 18:59:27 UTC 2007


Carlos Rodrigues wrote:
> On Dec 28, 2007 1:23 PM, Carlos Rodrigues <cefrodrigues at mail.telepac.pt> wrote:
>   
>> [snip] Either way, I'll know
>> what's needed, if an option to interpret the "OFF" bit the other way
>> around, or just ignore it.
>>     
>
> I've just commited a workaround for this in the development trunk.
> Just add "ignoreoff" to your "ups.conf" and it should do the trick.
>
> If you prefer to keep using NUT 2.2.1, just apply the patch attached
> to this message and rebuild it.
>
>   
Hi,

Thanks,

I have recompiled with the patched megatec.c and have added ignoreoff to 
my ups.conf

However, I now receive this error :

 /usr/local/ups/bin/megatec_usb -a plexus
Network UPS Tools 2.2.1 - Megatec protocol driver 1.5.9 [megatec_usb]
Carlos Rodrigues (c) 2003-2007

Serial-over-USB transport layer for Megatec protocol driver [megatec_usb]
Andrey Lelikov (c) 2006, Alexander Gordeev (c) 2006-2007, Jon Gough (c) 2007


Fatal error: 'ignoreoff' is not a valid flag for this driver.

Look in the man page or call this driver with -h for a list of
valid variable names and flags.

 more /usr/local/ups/etc/ups.conf
[plexus]
#driver=megatec_usb
driver=megatec_usb
port=/dev/hiddev0
desc="Plexus 1000VA Pro UPS"
ignoreoff

Regards,

Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20071228/62ede098/attachment-0001.htm 


More information about the Nut-upsdev mailing list