<html>
<body>
<font size=3>Peter,<br>
I understand that the real functionality should be elsewhere
than the driver. But the commands for the serial interface allow for
sending parameters to the UPS, ie S<n>R<m>, S<n>,
T<n>, so I just wanted to be able to do that as well. This would
then make the driver issue all the commands that are possible.<br><br>
Jon<br><br>
At 13:15 1/02/2007, Peter Selinger wrote:<br>
<blockquote type=cite class=cite cite="">Jon Gough wrote:<br>
> <br>
> Carlos,<br>
> I have implemented that and it works.<br>
> <br>
> What I want to do is run the
T<n> command to have it test for a <br>
> different length of time than the standard 10 secs. If I can get
this <br>
> to work then I can send other commands to setup the UPS correctly,
ie <br>
> wait 10 mins after loss of power before shutting servers down, but
<br>
> make sure there is 2 mins of power left to allow for shut down to
occur.<br><br>
I don't think that kind of functionality belongs in the driver. The<br>
driver should limit itself to reading information and sending
commands<br>
to the UPS. Decisions about when and how to shut down should be left<br>
to upsmon, which does it uniformly for all drivers.<br><br>
-- Peter</font></blockquote>
<BR><BR>
<TABLE width=400><HR>
<P style="FONT: 9pt/11pt verdana"><a href="http://www.avast.com">avast! Antivirus</a>: Outbound message clean.
<P style="FONT: 8pt/11pt verdana">Virus Database (VPS): 000709-1, 31/01/2007<BR>Tested on: 1/02/2007 1:41:57 PM<BR><FONT color=gray>avast! is copyright (c) 2000-2007 ALWIL Software.</FONT></P>
<TBODY></TBODY></TABLE>
<BR>
</body>
<br>
</html>