<br><br><div class="gmail_quote">On Mon, Feb 14, 2011 at 5:58 AM, Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Feb 14, 2011, at 12:05 AM, Rory Jaffe wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I used the package that Ubuntu 10.10 provides. Here's the package info:<br>
<br>
rory@ubuntunas:~$ apt-cache showpkg nut<br>
Package: nut<br>
Versions:<br>
2.4.3-1ubuntu5 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_maverick_main_binary-amd64_Packages) (/var/lib/dpkg/status)<br>
</blockquote>
<br></div>
Ah, I think I see the problem. We added the USB IDs for the (new) SMART1000LCD to usbhid-ups after NUT 2.4.3 was released.<br>
<br>
You should be able to get basic functionality by adding the following two lines to the middle of /lib/udev/rules.d/52-nut-usbups.rules:<br>
<br>
# e.g. TrippLite Smart1000LCD - usbhid-ups<br>
ATTR{idVendor}=="09ae", ATTR{idProduct}=="2009", MODE="664", GROUP="@RUN_AS_GROUP@"<br>
<br>
Note that you will need to replace the @RUN_AS_GROUP@ with the actual group that appears on the other lines in that file. It's probably "nut" or "ups", but I haven't tried 10.10 yet.<br>
<br>
The easiest way to get udev to reload this is to unplug the USB cable of the UPS, and plug it back in.<br>
<br>
It does appear that the reported battery voltage might be off by a factor of 10. That should already be fixed in NUT 2.6.0 and later. The "low battery" signal is generated internally by the UPS, and should not be affected.<br>
<br>
Feel free to post the output of "upsc" once the driver starts.<div><div></div><div class="h5"><br><br></div></div></blockquote><div><br></div><div>Thanks for your help! It really got this fixed quickly. Yes, the battery reads a bit high. Is there something I can edit to fix that? Thx </div>
<div><br></div><div>rory@ubuntunas:~$ upsc Tripp-Lite</div><div>battery.charge: 100</div><div>battery.runtime: 1984</div><div>battery.type: PbAc</div><div>battery.voltage: 135.0</div><div>battery.voltage.nominal: 12.0</div>
<div>device.mfr: Tripp Lite</div><div>device.model: TRIPP LITE UPS</div><div>device.serial: FW-2473 A</div><div>device.type: ups</div><div><a href="http://driver.name">driver.name</a>: usbhid-ups</div><div>driver.parameter.pollfreq: 30</div>
<div>driver.parameter.pollinterval: 2</div><div>driver.parameter.port: auto</div><div>driver.parameter.productid: 2009</div><div>driver.parameter.vendorid: 09ae</div><div>driver.version: 2.4.3</div><div>driver.version.data: TrippLite HID 0.4</div>
<div>driver.version.internal: 0.34</div><div>input.frequency: 59.6</div><div>input.voltage: 118.8</div><div>input.voltage.nominal: 120</div><div>output.frequency.nominal: 60</div><div>output.voltage.nominal: 120</div><div>
ups.alarm: No battery installed!</div><div>ups.beeper.status: enabled</div><div>ups.delay.shutdown: 20</div><div>ups.mfr: Tripp Lite</div><div>ups.model: TRIPP LITE UPS</div><div>ups.power.nominal: 1000</div><div>ups.productid: 2009</div>
<div>ups.serial: FW-2473 A</div><div>ups.status: ALARM OL</div><div>ups.timer.reboot: 65535</div><div>ups.timer.shutdown: 65535</div><div>ups.vendorid: 09ae</div><div>ups.watchdog.status: 0</div><div>rory@ubuntunas:~$</div>
<div> </div></div>