<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi!<br>
    <br>
    Here is my Debug (-DDDD) output of mge-utalk during the malfunction.
    Do you want to capture new one (when it works)?<br>
    <br>
    Greetings,<br>
    Ivo<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 19.10.2012 10:21 ч., Martin Loyer
      wrote:<br>
    </div>
    <blockquote cite="mid:65b443df7d68432df75b4f4741e7599b@degraaf.fr"
      type="cite">
      <p>Dear all,</p>
      <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 class="im">
              <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 class="im">
              <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 class="im"><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 class="gmail_quote">
        <div>You're right ! ... I talked to fast ;)<br>
           </div>
      </div>
      <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 class="gmail_quote">
        <div>Fore sure :D</div>
      </div>
      <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 class="im"><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 class="HOEnZb"><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>
      <p>Let's wait Ivo's answer and log files. 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).</p>
      <p> </p>
      <p>Martin</p>
      <div> </div>
    </blockquote>
    <br>
  </body>
</html>