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 <<a href="mailto:axelbergerhoff@compuserve.com">axelbergerhoff@compuserve.com
</a>>:</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 unplug power cord<br>11:02:29 mge-shut -DDDDD -x ondelay=30 -DDDDD -k /dev/ttyS1
<br>11:03:11 outlets -> OFF<br>11:03:37 UPS -> OFF<br>11:04:10 replugged<br>11:04:22 outlets -> ON<br><br>#2<br>11:10:20 unplug power cord<br>11:10:23 mge-shut -DDDDD -x ondelay=30 -DDDDD -k /dev/ttyS1<br>11:11:04 outlets -> OFF
<br>11:11:26 UPS -> OFF<br>11:18:05 replugged<br>11:18:16 outlets -> ON<br><br><br>Now this success leaves me a bit confused about the meaning of "ondelay"<br>and with a few questions:<br>- Does the setting of "ondelay" still correlate with man mge-shut(8) from
<br> 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&aid=302073&group_id=30602&atid=411544">
https://alioth.debian.org/tracker/index.php?func=detail&aid=302073&group_id=30602&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 ("replug") and<br>
powering on of the main outlet? Or do I need to use outlets 1 and 2 (didn't<br> 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>> Hi Axel,<br>><br>> I've forgotten to ask you to test 2.0.4-pre2 with the following (still with<br>> nut stopped, and no load on ups output):<br>> - compile nut as usual,<br>> - unplug the UPS power cord,
<br>> - then call:<br>> drivers/mge-shut -DDDDD -x ondelay=30 -DDDDD -k /dev/ttyS1<br>> - the ups will stop 20 sec later. When the UPS is off, plug back the power<br>> cord, and the ups will restart.<br>><br>
> Thanks to tell me if it works or not as I'm waiting to release the final<br>> 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&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>