[Nut-upsuser] suse linux and nut

Peter Selinger selinger at mathstat.dal.ca
Sat Aug 26 03:34:57 UTC 2006


Marc Collin wrote:
> 
> Le vendredi 25 ao=C3=BBt 2006 21:51, vous avez =C3=A9crit=C2=A0:
> > Marc,
> >
> > interesting, actually, we have seen this device before; see the posts
> > by Barry Fawthrop around August 1. It is a HID device, but it does not
> > follow the USB HID standard for power devices. So decoding it might be
> > tricky.
> >
> > I am attaching a patch that adds a rudimentary subdriver for this
> > device. It should be sufficient to drop the "-x generic", attach the
> > driver to the device, and observe some variables with upsc.
> >
> > Apply the patch to the SVN version (don't forget to re-run
> > ./configure). See if the driver works, and try to run upsd and to read
> > the values of the variables with upsc. If this works, please observe
> > how the values of the variables change in response to events (loss of
> > power, on battery, low battery, battery charging, battery full, etc).
> > If successful, this will give clues as to how to interpret the
> > different variables. The "low battery" condition is especially
> > important, as it is used by upsmon.
> >
> > -- Peter
> 
> hi
> 
> ====== ups.conf ======
> [myups]
>        driver = powercom
>        port = /dev/hiddev0
>        desc = "Ultra ULT31502"

As mentioned before, you should not use the "powercom" driver. It is
for serial. 

You should use "newhidups". -- Peter

P.S. please reply to the mailing list, not to me personally. Thanks!




More information about the Nut-upsuser mailing list