<br><br><div class="gmail_quote">On Mon, Feb 14, 2011 at 7:18 PM, Rory Jaffe <span dir="ltr"><<a href="mailto:rsjaffe@gmail.com">rsjaffe@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><br><div class="gmail_quote"><div class="im">On Mon, Feb 14, 2011 at 5:58 AM, Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com" target="_blank">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>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><br><br></div></div></blockquote><div><br></div></div></div></blockquote><div>In addition to the upsc output, here's some information on available commands, in case this is useful for someone...</div>
<div><div>rory@ubuntunas:~$ upsrw Tripp-Lite</div><div>[ups.delay.shutdown]</div><div>Interval to wait after shutdown with delay command (seconds)</div><div>Type: STRING</div><div>Value: 20</div><div><br></div><div>rory@ubuntunas:~$ upscmd -l Tripp-Lite</div>
<div>Instant commands supported on UPS [Tripp-Lite]:</div><div><br></div><div>beeper.disable - Disable the UPS beeper</div><div>beeper.enable - Enable the UPS beeper</div><div>beeper.mute - Temporarily mute the UPS beeper</div>
<div>beeper.off - Obsolete (use beeper.disable or beeper.mute)</div><div>beeper.on - Obsolete (use beeper.enable)</div><div>load.off - Turn off the load immediately</div><div>load.off.delay - Turn off the load with a delay (seconds)</div>
<div>reset.watchdog - Reset watchdog timer</div><div>shutdown.reboot - Shut down the load briefly while rebooting the UPS</div><div>shutdown.stop - Stop a shutdown in progress</div><div>test.battery.start.deep - Start a deep battery test</div>
<div>test.battery.start.quick - Start a quick battery test</div><div>test.battery.stop - Stop the battery test</div></div><div> </div></div>