[Nut-upsuser] TrippLite/Compiling on FreeBSD

Charles Sprickman spork at bway.net
Mon Sep 26 21:04:50 UTC 2005


I wanted to see if there's any chance that NUT will support a few new 
TrippLite UPSes that we just bought:

Sep  9 01:42:25 miko /kernel: uhid0: TRIPP LITE TRIPP LITE OMNIVS1500XL, 
rev 1.1

I grabbed the devel sources via cvs, but am having trouble building it 
when I enable the "newhidups" driver:

gmake[1]: Leaving directory `/usr/local/src/nut/common'
gmake[1]: Entering directory `/usr/local/src/nut/drivers'
gcc -I../include -O -Wall -Wsign-compare   -c -o mge-hid.o mge-hid.c
In file included from newhidups.h:32,
                  from mge-hid.c:25:
libusb.h:35: usb.h: No such file or directory
In file included from libusb.h:36,
                  from newhidups.h:32,
                  from mge-hid.c:25:
libhid.h:35: usb.h: No such file or directory
gmake[1]: *** [mge-hid.o] Error 1
gmake[1]: Leaving directory `/usr/local/src/nut/drivers'
gmake: *** [build] Error 1

I've tried adding "-I/usr/include/dev/usb" to the Makefile (the only place 
I see a usb.h file), but same results.

Any ideas?  Should I even bother trying to get this model to work?



Charles Sprickman
Bway.net - New York's Best Internet - www.bway.net
spork at bway.net - 212.655.9344

More information about the Nut-upsuser mailing list