Hi,<br><br>[I've cc'ed back upsuser for info]<br><br>This problem is solved in 2.0.4-pre2.<br><br><div><span class="gmail_quote">2006/7/26, Axel Bergerhoff &lt;<a href="mailto:axelbergerhoff@compuserve.com">axelbergerhoff@compuserve.com
</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello Arnaud,<br><br>Works! Great! Thanks!</blockquote><div><br>yipee ;-) <br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Made two tests:<br>#1<br>11:02:21&nbsp;&nbsp;unplug power cord<br>11:02:29&nbsp;&nbsp;mge-shut -DDDDD -x ondelay=30 -DDDDD -k /dev/ttyS1
<br>11:03:11&nbsp;&nbsp;outlets -&gt; OFF<br>11:03:37&nbsp;&nbsp;UPS -&gt; OFF<br>11:04:10&nbsp;&nbsp;replugged<br>11:04:22&nbsp;&nbsp;outlets -&gt; ON<br><br>#2<br>11:10:20&nbsp;&nbsp;unplug power cord<br>11:10:23&nbsp;&nbsp;mge-shut -DDDDD -x ondelay=30 -DDDDD -k /dev/ttyS1<br>11:11:04&nbsp;&nbsp;outlets -&gt; OFF
<br>11:11:26&nbsp;&nbsp;UPS -&gt; OFF<br>11:18:05&nbsp;&nbsp;replugged<br>11:18:16&nbsp;&nbsp;outlets -&gt; ON<br><br><br>Now this success leaves me a bit confused about the meaning of &quot;ondelay&quot;<br>and with a few questions:<br>- Does the setting of &quot;ondelay&quot; still correlate with man mge-shut(8) from
<br>&nbsp;&nbsp;Dec 16 2005?</blockquote><div><br>no, and that's due to a lack of feature in mge-shut (exponent management).<br>Check this for an explanation:<br><a href="https://alioth.debian.org/tracker/index.php?func=detail&amp;aid=302073&amp;group_id=30602&amp;atid=411544">
https://alioth.debian.org/tracker/index.php?func=detail&amp;aid=302073&amp;group_id=30602&amp;atid=411544</a><br></div><br>As told before, I'm putting about all my effort in 2.2, and for this case, in mge-shut rewritte...
<br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">- Is there a way to set the time between return of mains (&quot;replug&quot;) and<br>
&nbsp;&nbsp;powering on of the main outlet? Or do I need to use outlets 1 and 2 (didn't<br>&nbsp;&nbsp;test them upto know)?</blockquote><div><br>no, you need either need to play with:<br>- ondelay (knowing that the UPS will power up after ondelay - offdelay). In the present case, offdelay is 20 sec, and ondelay is 30 sec, the UPS powers up ~ 10 sec after the power restoration).
<br>- outlets. Check:<br><a href="http://lists.alioth.debian.org/pipermail/nut-upsuser/2006-July/001267.html">http://lists.alioth.debian.org/pipermail/nut-upsuser/2006-July/001267.html</a><br><a href="http://lists.alioth.debian.org/pipermail/nut-upsuser/2006-July/001271.html">
http://lists.alioth.debian.org/pipermail/nut-upsuser/2006-July/001271.html</a><br></div><br>Note that the last allows finer startup sequences...<br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
- When do you expect nut-2.0.4 becoming final?</blockquote><div><br>by friday. I was just waiting to solve your case, and to finish another task to get a bit of time.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks again,</blockquote><div><br>thanks for your patience, and for choosing MGE ;-) <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Axel<br><br>&gt; Hi Axel,<br>&gt;<br>&gt; I've forgotten to ask you to test 2.0.4-pre2 with the following (still with<br>&gt; nut stopped, and no load on ups output):<br>&gt; - compile nut as usual,<br>&gt; - unplug the UPS power cord,
<br>&gt; - then call:<br>&gt; drivers/mge-shut -DDDDD -x ondelay=30 -DDDDD -k /dev/ttyS1<br>&gt; - the ups will stop 20 sec later. When the UPS is off, plug back the power<br>&gt; cord, and the ups will restart.<br>&gt;<br>
&gt; Thanks to tell me if it works or not as I'm waiting to release the final<br>&gt; 2.0.4. If it doesn't work, please send me the mge-shut output.<br>...</blockquote></div><br clear="all">Arnaud<br>-- <br>Linux / Unix Expert - MGE UPS SYSTEMS - R&amp;D Dpt
<br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://people.debian.org/~aquette/">http://people.debian.org/~aquette/
</a><br>OpenSource Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a>