<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
&nbsp; Hi,<br>
<br>
Arjen de Korte wrote:
<blockquote cite="mid:20100911214300.14302x72a8ytechs@mail.de-korte.org"
 type="cite">
  <pre wrap="">Citeren Greg Oliver <a class="moz-txt-link-rfc2396E" href="mailto:oliver.greg@gmail.com">&lt;oliver.greg@gmail.com&gt;</a>:

  </pre>
  <blockquote type="cite">
    <pre wrap="">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. ? */
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Thanks for the patch. I've included it in the development version.

  </pre>
</blockquote>
To support the Tripplite OmniVS1000, I think the following should be
added too:<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; /* e.g. TrippLite OMNIVS1000 */<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { USB_DEVICE(TRIPPLITE_VENDORID, 0x1009), battery_scale_0dot1 },<br>
<br>
<br>
battery.charge: 100<br>
battery.runtime: 5760<br>
battery.type: PbAc<br>
battery.voltage.nominal: 12.0<br>
driver.name: usbhid-ups<br>
driver.parameter.pollfreq: 30<br>
driver.parameter.pollinterval: 2<br>
driver.parameter.port: auto<br>
driver.version: 2.4.1<br>
driver.version.data: TrippLite HID 0.4<br>
driver.version.internal: 0.34<br>
input.voltage.nominal: 120<br>
output.frequency.nominal: 60<br>
output.voltage.nominal: 120<br>
ups.beeper.status: enabled<br>
ups.delay.shutdown: 20<br>
ups.mfr: Tripp Lite <br>
ups.model: TRIPP LITE UPS <br>
ups.power.nominal: 1000<br>
ups.productid: 1009<br>
ups.serial: FW-2473 A <br>
ups.status: OL<br>
ups.timer.shutdown: 65535<br>
ups.vendorid: 09ae<br>
ups.watchdog.status: 0<br>
<br>
<br>
<blockquote cite="mid:20100911214300.14302x72a8ytechs@mail.de-korte.org"
 type="cite">
  <pre wrap=""></pre>
  <blockquote type="cite">
    <pre wrap="">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
    </pre>
  </blockquote>
  <pre wrap=""><!---->
This is not needed. These rules are generated automatically by 'make  
dist' once we release a new version.

  </pre>
  <blockquote type="cite">
    <pre wrap="">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..
    </pre>
  </blockquote>
  <pre wrap=""><!---->
This is probably due to an incorrect mapping in the tripplite-hid  
subdriver. I have my doubts about this, so for the moment I have  
commented it out. Most likely the UPS is just wanting to tell you that  
the inverter is not being used, instead of a missing battery.

Best regards, Arjen
  </pre>
</blockquote>
<br>
Best regards,<br>
Rafael<br>
</body>
</html>