<br><br><div class="gmail_quote">2012/10/19 Martin Loyer <span dir="ltr"><<a href="mailto:martin@martinloyer.fr" target="_blank">martin@martinloyer.fr</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div style="font-family:Verdana,Geneva,sans-serif">
<p>Dear all,</p><div><div class="h5">
<p> </p>
<blockquote type="cite" style="padding-left:5px;border-left:#1010ff 2px solid;margin-left:5px;width:100%">
<div class="gmail_quote">
<div>Ivo, we really need your implication to solve *your* issue!</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have an old ESV8 UPS down here, and I did code patching years ago to<br> support old model on nut.</blockquote>
is your ESV8 still working?</blockquote>
</div>
For sure :)<br> This UPS is strong! By now, it is 18 years old :O</blockquote>
<div><br>made to last until the end of time ;)<br>ah, good ol' MGE time.</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">But, I got some bad effect, like Debian bug you mentionned on your email.<br><br> Would be difficult for me to gain access to an ESV8+, but we can work<br>
 together to test.</blockquote>
even to me. all this goes back to MGE time, now defunct for 5 years.<br> the only things that survived is the Comet and E Series DX (see below)</blockquote>
</div>
I may have access to an old ESV8+. I gave one to a friend of mine, years ago.</blockquote>
<div><br>that would be nice</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I can make some test, but I need more information. Could you send me your<br> debug log?</blockquote>
I think I've found a Comet and a E Series DX (so speaking UTalk) at Eaton today.<br> this is the kind of things that becomes rare nowadays!<br><br> on the patch side, I'd also like to:<br> - add some more inter-char delay, since mge_command() only has 100 ms.<br>
 I've just checked again Utalk spec [1], and we should be at least 500<br> ms between commands.<br> the point here is that this inter-char delay is not satisfied with<br> commands that do not receive an answer (such as Z)</blockquote>

</div>
Interesting. If we are hearing too fast, it's not that good.</blockquote>
<div><br>we're *talking* too fast actually ;)</div>
<div> </div>
</div>
</blockquote>
</div></div><div class="gmail_quote">
<div>You're right ! ... I talked to fast ;)<br> </div>
</div><div class="im">
<blockquote type="cite" style="padding-left:5px;border-left:#1010ff 2px solid;margin-left:5px;width:100%">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For specific commands (such as Z), we may just wait and ignore any answers (as we did by the past).</blockquote>
<div><br>not sure to get your point!? we still ignore the result of mge_command(... Z)</div>
</div>
</blockquote>
</div><div class="gmail_quote">
<div>Fore sure :D</div>
</div><div class="im">
<blockquote type="cite" style="padding-left:5px;border-left:#1010ff 2px solid;margin-left:5px;width:100%">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">- see the result of Marek's mention, i.e moving the double Z before the Si test.</blockquote>
</div>
For sure. I dig on my archives, and found a serial spy log taken on Windows between PSP and ESV8.<br> Z is send twice, then AX 1, then SI 1.</blockquote>
<div><br>yep, with 500 ms inter-commands... I still have access to that code ;)</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">By the way, I worked a lot to make support of programmable outlets. By now, it is not supported (even for recent UPS, working on usb-hid). I may test and patch.<br>
<br> @Ivo: could you send me your log file?<span><span style="color:#888888"><br></span></span></blockquote>
</div>
<br>@Martin: how do you want to proceed on the UTalk issue?<br>I can either provide a (set of) patch(es), or few directions...<br clear="all"><br></blockquote>
</div><p>Let's wait Ivo's answer and log files.</p></div></blockquote><div>I don't think it's necessary.<br>Ivo mentioned that the situation self unblocked (maybe related to the hard reset), and most of all that it works on Windows with Eaton SW...<br>
 <br>my feeling is that moving the ZZ before the "Si" test, and forcing an inter-command delay of 500 ms should do it here.<br>I've attached a patch. use "-p0" from the nut top source dir...<br></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-family:Verdana,Geneva,sans-serif"><p> Then, I'll try to fix it. Then we test it, and validate on severals UPS. If OK, I'let you publish patch Arnaud.</p>

<p>If I have some time, I can work on programmable outlet, with limited support to onboard one (no external outlet plugged in daisy chain).<span class="HOEnZb"><font color="#888888"></font></span></p></div>
</blockquote></div>could be nice.<br>it would also be a good time to it now, since Ivo may also test it on his units.<br>I'll check on my side if I can bootstrap a base code...<br clear="all"><br>cheers,<br>Arnaud<br>
-- <br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org" target="_blank">http://www.networkupstools.org</a><br>Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>
Free Software Developer - <a href="http://arnaud.quette.fr" target="_blank">http://arnaud.quette.fr</a><br><br>