[Nut-upsuser] Tripp light driver?
Jeff Knerr
knerr at cs.swarthmore.edu
Mon Nov 27 18:07:02 CET 2006
>> I am wondering if anyone gotten nut to work with a Tripp Light Smart Pro
>> 2U Rack/Towers (SMART2200RMXL2U). If so which driver did you use, or
>> what driver do you think I should try?
Hi Ricky. With help from Charles Lepple, I was able to get nut to work
with my SMART2200RMXL2U. I haven't put it into production yet, but it
appears to work and should do what I need it to (just shut things down
if the power is out and the ups battery is running low).
You need to use the development version -- that's got the stuff Charles
added to get my SMART2200RMXL2U to work. I'll include some of my notes
below, but I haven't worked on this in weeks, so they're not complete
and may even be wrong! :)
jeff
- i'm running debian sarge with a 2.6.8-3-686 kernel
- ups is connected to usb port of server
$ svn co svn://svn.debian.org/nut/trunk
...
Checked out revision 539.
$ cd trunk/
$ ./configure --prefix=/usr/local/stow/nut-2.1-dev-538 --with-user=nut
(you don't have to use stow -- i use it for stuff in /usr/local)
$ make
$ make usb
$ make snmp
$ sudo make install
$ sudo make install-conf
$ sudo make install-usb
$ sudo make install-snmp
$ cd /usr/local/stow
$ sudo stow nut-2.1-dev-538/
(again, you don't have to use stow -- it just makes links to /usr/local/bin, lib, etc)
- made /var/state/ups dir to be 700 and nut:nut
- set up ups.conf:
[tripplite]
driver = tripplite_usb
port = /dev/ups
productid = 0001
desc = "black ups on lower shelf"
- set up upsd.conf:
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACCEPT localhost
REJECT all
- make sure permissions are correct on device files:
(this is one part i'm not sure about!)
lrwxrwxrwx 1 root root 11 Oct 16 15:10 /dev/ups -> usb/hiddev0
crw-rw---- 1 nut nut 180, 96 Oct 16 15:10 /dev/usb/hiddev0
-rw-rw-r-- 1 root nut 52 Oct 16 15:10 /proc/bus/usb/002/002
i think i did this with the following in /etc/udev/rules.d/local.rules:
BUS="usb", SYSFS{idVendor}="09ae", SYSFS{manufacturer}=="TRIPP LITE", SYSFS{product}=="TRIPP LITE SMART2200RMXL2U ", SYMLINK+="ups", MODE="0660", OWNER="nut", GROUP="nut"
- now start it up:
$ sudo upsdrvctl -DDDD start
Network UPS Tools - UPS driver controller 2.1.0
Starting UPS: tripplite
exec: /usr/local/stow/nut-2.1-dev-538/bin/tripplite_usb -a tripplite
Network UPS Tools - Tripp Lite OMNIVS and SMARTPRO driver 0.7 (2.1.0)
Warning: This is an experimental driver.
Some features may not function correctly.
Detected a UPS: TRIPP LITE/TRIPP LITE SMART2200RMXL2U
Using SMARTPRO protocol (3003)
Attached to Tripp Lite SMART2200RMXL2U
$ sudo upsd
$ upsc tripplite at localhost
battery.test.status: Battery OK
battery.voltage: 54.40
battery.voltage.nominal: 48
driver.name: tripplite_usb
...
...
More information about the Nut-upsuser
mailing list