[Nut-upsuser] TrippLite SMART1000LCD

Greg Oliver oliver.greg at gmail.com
Sat Sep 11 15:48:50 UTC 2010


These patches allow this device to function in nut..

diff --git a/trunk/drivers/tripplite-hid.c b/new/drivers/tripplite-hid.c
index c36da98..dddd13c 100644
--- a/trunk/drivers/tripplite-hid.c
+++ b/new/drivers/tripplite-hid.c
@@ -71,6 +71,8 @@ static usb_device_id_t tripplite_usb_device_table[] = {
       { USB_DEVICE(TRIPPLITE_VENDORID, 0x2005), battery_scale_0dot1 },
       /* e.g. TrippLite OMNI900LCD */
       { USB_DEVICE(TRIPPLITE_VENDORID, 0x2007), battery_scale_0dot1 },
+       /* e.g. TrippLite Smart1000LCD */
+       { USB_DEVICE(TRIPPLITE_VENDORID, 0x2009), battery_scale_0dot1 },
       /* e.g. TrippLite smart2200RMXL2U */
       { USB_DEVICE(TRIPPLITE_VENDORID, 0x3012), battery_scale_1dot0 },
       /* e.g. ? */

diff --git a/src/nut/nut-2.4.3/scripts/udev/52-nut-usbups.rules
b/etc/udev/rules.d/52-nut-usbups.rules
index c8f0437..fbb03df 100644
--- a/src/nut/nut-2.4.3/scripts/udev/52-nut-usbups.rules
+++ b/etc/udev/rules.d/52-nut-usbups.rules
@@ -92,6 +92,8 @@ ATTR{idVendor}=="09ae", ATTR{idProduct}=="1008",
MODE="664", GROUP="nut"
 ATTR{idVendor}=="09ae", ATTR{idProduct}=="2005", MODE="664", GROUP="nut"
 #  e.g. TrippLite OMNI900LCD  - usbhid-ups
 ATTR{idVendor}=="09ae", ATTR{idProduct}=="2007", MODE="664", GROUP="nut"
+#  e.g. TrippLite SMART1000LCD  - usbhid-ups
+ATTR{idVendor}=="09ae", ATTR{idProduct}=="2009", MODE="664", GROUP="nut"
 #  e.g. TrippLite smart2200RMXL2U  - usbhid-ups
 ATTR{idVendor}=="09ae", ATTR{idProduct}=="3012", MODE="664", GROUP="nut"
 #  e.g. ?  - usbhid-ups

Everything *works*, but the only  thing is it thinks there is no
battery installed even though it can get the values from it..  Maybe
the battery_scale is different for this one.  I'll play with it more
later..

root at backend-0:/etc/nut# upsc tripplite
battery.charge: 100
battery.runtime: 5760
battery.type: PbAc
battery.voltage: 13.5
battery.voltage.nominal: 12.0
device.mfr: Tripp Lite
device.model: TRIPP LITE UPS
device.serial: FW-2473 A
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.4.3
driver.version.data: TrippLite HID 0.4
driver.version.internal: 0.34
input.frequency: 59.7
input.voltage: 114.3
input.voltage.nominal: 120
output.frequency.nominal: 60
output.voltage.nominal: 120
=====
ups.alarm: No battery installed!
=====
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.mfr: Tripp Lite
ups.model: TRIPP LITE UPS
ups.power.nominal: 1000
ups.productid: 2009
ups.serial: FW-2473 A
ups.status: ALARM OL
ups.timer.reboot: 65535
ups.timer.shutdown: 65535
ups.vendorid: 09ae
ups.watchdog.status: 0

Thanks

-Greg



More information about the Nut-upsuser mailing list