salut Jean,<br><br><div class="gmail_quote">2009/5/8 Jean Delvare <span dir="ltr"><<a href="mailto:khali@linux-fr.org">khali@linux-fr.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>
<br>
I use an APC Back-UPS RS 800, overall my experience with NUT is very<br>
good but there is one feature I am missing: the ability to ask the UPS<br>
for a battery test. upscmd -l shows the following commands available:<br>
<br>
$ upscmd -l rs800<br>
Instant commands supported on UPS [rs800]:<br>
<br>
beeper.disable - Disable the UPS beeper<br>
beeper.enable - Enable the UPS beeper<br>
beeper.mute - Temporarily mute the UPS beeper<br>
beeper.off - Obsolete (use beeper.disable or beeper.mute)<br>
beeper.on - Obsolete (use beeper.enable)<br>
load.off - Turn off the load immediately<br>
load.off.delay - Turn off the load with a delay (seconds)<br>
shutdown.reboot - Shut down the load briefly while rebooting the UPS<br>
shutdown.stop - Stop a shutdown in progress<br>
test.panel.start - Start testing the UPS panel<br>
test.panel.stop - Stop a UPS panel test<br>
$<br>
<br>
As you can see, it is possible to test the front panel, and that works<br>
OK, but no test.battery.start/stop. I would like to know if other APC<br>
Back-UPS RS users see the same problem. If the feature is missing from<br>
the driver, I would like to know why, as well as offer my help to<br>
implement it. I don't know the NUT code at all, but I can help with<br>
testing.<br>
<br>
I know the hardware supports it because the Windows software that APC<br>
ships does implement it, and it worked OK last time I tried (several<br>
months ago.)<br>
</blockquote><div><br>once more, I don't have much APC knowledges, and we still lack an APC maintainer for NUT.<br>so you're somehow on your own.<br>but, I've found a few info (I guess you're running apcsmart):<br>
- from apcsmart.h, <br> { "test.battery.start", 0, APC_CMD_BTESTTOGGLE },<br> { "test.battery.stop", 0, APC_CMD_BTESTTOGGLE },<br><br>with APC_CMD_BTESTTOGGLE = 'W'<br>
<br>from there, you can snif on windows for the command, or... well I don't know.<br><br>cheers,<br>Arnaud<br></div></div>-- <br>Linux / Unix Expert R&D - Eaton - <a href="http://www.eaton.com/mgeops">http://www.eaton.com/mgeops</a><br>
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://www.debian.org">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a><br>
<br>