[Nut-upsuser] suse linux and nut
Marc Collin
collinm at laboiteaprog.com
Fri Aug 25 21:40:23 UTC 2006
hi
i bought a ultra ULT31502 ups
someone seem able to run this ups with nut
just see Dean thread on:
http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=770423&Tab=11&NoMapp=0
i use suse 10.1, i installed nut
the ups is connected directely to my computer with an usb cable
lsusb return
Bus 001 Device 004: ID 0d9f:0001 Powercom Co., Ltd
with lsmod, i can see
usbhid 43296 0
/etc/ups/ups.conf
i tried powercom and newhidups
driver = newhidups
port = /dev/hiddev0
desc = "Local UPS"
/etc/ups/upsd.conf
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACCEPT localhost
REJECT all
/etc/ups/upsmon.conf
MONITOR myups at localhost 1 upsmaster okeefe master
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h now"
NOTIFYCMD /usr/lib/powersave/powersave-notify
POLLFREQ 5
POLLFREQALERT 5
DEADTIME 15
POWERDOWNFLAG /etc/killpower
NOTIFYFLAG ONLINE SYSLOG
NOTIFYFLAG COMMOK SYSLOG
NOTIFYFLAG SHUTDOWN SYSLOG
NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC
NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC
NOTIFYFLAG FSD SYSLOG+WALL+EXEC
NOTIFYFLAG NOCOMM SYSLOG+WALL+EXEC
NOTIFYFLAG COMMBAD SYSLOG+WALL+EXEC
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 5
/etc/ups/upsd.users
[upsmaster]
password = okeefe
allowfrom = localhost
upsmon master
[upsslave]
password = okeefe
allowfrom = localhost
upsmon slave
i tried:
/usr/lib/ups/driver/powercom -DD -u root -x vendorid=0d9f /dev/hiddev0
and i get:
Network UPS Tools - PowerCom and similars protocol UPS driver $ Revision: 0.5
$ (2.0.3)
Fatal error: 'vendorid' is not a valid variable name for this driver.
with
/usr/lib/ups/driver/newhidups -DD -u root -x vendorid=0d9f /dev/hiddev0
Trying to match device
Device does not match - skipping
No appropriate HID device found
No matching USB/HID UPS found
if i start directely nut i get: for powercom and newhidups driver
Starting NUT UPS drivers failed
any idea?
thanks
More information about the Nut-upsuser
mailing list