[Nut-upsuser] Gentoo Ultra USB UPS

Jonathan Dion dion.jonathan at gmail.com
Tue Aug 1 13:35:35 UTC 2006


Hello,

I'm sorry, I didn't think to a little detail :

On 8/1/06, Barry Fawthrop <barry at ttienterprises.org> wrote:
> /lib/nut/newhidups -DD -u root -x generic -x vendorid=09df auto
> Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.3)
>
> Fatal error: 'generic' 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.
>

Yes, -x generic don't exist in newhidups in version 2.0.3 (not in
version 2.0.4 neither). You need to get the trunk version.

I you don't have svn installed, install it then run :
svn co svn://svn.debian.org/nut/trunk

go to the trunk directory
then use (I suppose you are on debian, right ? if not (gentoo I
presume), replace in the next command to have the good flags for
gentoo)
./configure            --prefix=/ \
            --sysconfdir=/etc/nut \
            --mandir=/usr/share/man \
            --libdir=/usr/lib \
            --includedir=/usr/include \
            --without-ssl \
            --with-cgi \
            --with-statepath=/var/run/nut \
            --with-altpidpath=/var/run/nut \
            --with-drvpath=/lib/nut \
            --with-cgipath=/usr/lib/cgi-bin/nut \
            --with-pidpath=/var/run/nut \
            --datadir=/usr/share/nut \
            --with-user=nut
and then
make usb

then run drivers/newhidups -DD -u root -x generic -x vendorid=09df auto

I'm sorry I forgot this detail (I work on the trunk version...)
>
>
> Thanks
> Barry
>

Courage !

Jonathan Dion



More information about the Nut-upsuser mailing list