<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 12/8/19 8:18 PM, David Zomaya wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:4981e1a390354e02a9d662589b64ae4b@tripplite.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper" style="font-size: 12pt; color:
        rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif,
        "EmojiFont", "Apple Color Emoji",
        "Segoe UI Emoji", NotoColorEmoji, "Segoe UI
        Symbol", "Android Emoji", EmojiSymbols;"
        dir="ltr">
        <p>I haven't tried it on RaspberryPi, but if there's some
          specific Tripp Lite information I can help with, let me know.</p>
      </div>
    </blockquote>
    <p>We had that discussion about the <span id="productTitle"
        class="a-size-large">SMART1500LCDT  & USB a long time ago:-(
        I bought mine in 2013 (still going strong on the second set of
        batteries) and in August 2016 we had some discussions about the
        USB disconnects.</span></p>
    <p><span id="productTitle" class="a-size-large"><br>
      </span></p>
    <p><span id="productTitle" class="a-size-large">I now use an USB hub
        which can turn it's ports off via software commands and when my
        Linux box (Odroid X2 - ARM) looses the connection, it basically
        cycles the USB port of the UPS and then it can connect again.</span></p>
    <p><span id="productTitle" class="a-size-large"><br>
      </span></p>
    <p><span id="productTitle" class="a-size-large">root@odroid-www:~/bin#
        cat check_ups.sh <br>
        #!/bin/bash<br>
        <br>
        while true<br>
        do<br>
            x=$(curl -s -o -
'<a class="moz-txt-link-freetext" href="http://192.168.1.5:85/cgi-bin/nut/upsstats.cgi?host=tripplite@127.0.0.1:3493">http://192.168.1.5:85/cgi-bin/nut/upsstats.cgi?host=tripplite@127.0.0.1:3493</a>'
        | sed  's:<[^>]*>::g' | awk 'BEGIN {s = 0; } $1 ==
        "Status:" { s = 1; next; } s == 1 { print $0; s = 0; }')<br>
        <br>
            if [ "$x" != "ONLINE" ]<br>
            then<br>
                logger -p daemon.warning "Triplite is not offline,
        trying to restart USB"<br>
                /root/bin/hub-ctrl -b 001 -d 005 -P 1 -p 0<br>
                sleep 5<br>
                /root/bin/hub-ctrl -b 001 -d 005 -P 1 -p 1<br>
                sleep 30<br>
            else<br>
                sleep 300<br>
            fi<br>
        done<br>
      </span></p>
    <p><span id="productTitle" class="a-size-large"><br>
      </span></p>
    <p><span id="productTitle" class="a-size-large">Not sure, if this is
        still the same problem. But I have my solution;-)</span></p>
    <p><span id="productTitle" class="a-size-large"><br>
      </span></p>
    <p><span id="productTitle" class="a-size-large">-- Marco</span></p>
    <p><span id="productTitle" class="a-size-large"><br>
      </span></p>
    <p><span id="productTitle" class="a-size-large"></span></p>
    <blockquote type="cite"
      cite="mid:4981e1a390354e02a9d662589b64ae4b@tripplite.com">
      <div id="divtagdefaultwrapper" style="font-size: 12pt; color:
        rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif,
        "EmojiFont", "Apple Color Emoji",
        "Segoe UI Emoji", NotoColorEmoji, "Segoe UI
        Symbol", "Android Emoji", EmojiSymbols;"
        dir="ltr">
        <p><br>
        </p>
        <p>David Zomaya</p>
        <p>Tripp Lite<br>
        </p>
        <br>
        <br>
        <div style="color: rgb(0, 0, 0);">
          <hr tabindex="-1" style="display:inline-block; width:98%">
          <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
              face="Calibri, sans-serif" color="#000000"><b>From:</b>
              Nut-upsuser
<a class="moz-txt-link-rfc2396E" href="mailto:nut-upsuser-bounces+david_zomaya=tripplite.com@alioth-lists.debian.net"><nut-upsuser-bounces+david_zomaya=tripplite.com@alioth-lists.debian.net></a>
              on behalf of Charles Lepple <a class="moz-txt-link-rfc2396E" href="mailto:clepple@gmail.com"><clepple@gmail.com></a><br>
              <b>Sent:</b> Sunday, December 8, 2019 8:36 PM<br>
              <b>To:</b> Layne Fowler<br>
              <b>Cc:</b> nut-upsuser<br>
              <b>Subject:</b> [EXTERNAL] Re: [Nut-upsuser] Tripp Lite
              SMART1500LCD repeatedly disconnecting and reconnecting</font>
            <div> </div>
          </div>
          <div><font size="2" face="verdana,arial,sans-serif"
              color="#C11B17"><span>This is an
                <b>EXTERNAL</b> email. Please take a moment and think
                before clicking any links or opening any attachments
                from this email. If suspicious, please forward to
                <a class="moz-txt-link-abbreviated" href="mailto:ishelpdesk@tripplite.com">ishelpdesk@tripplite.com</a> for review.</span></font>
            <hr>
            On Dec 8, 2019, at 5:46 PM, Layne Fowler <<a
              href="mailto:layne.fowler@gmail.com" class=""
              moz-do-not-send="true">layne.fowler@gmail.com</a>>
            wrote:<br class="">
            <div>
              <blockquote type="cite" class=""><br
                  class="Apple-interchange-newline">
                <div class=""><span class=""
                    style="font-family:Helvetica; font-size:14px;
                    font-style:normal; font-weight:normal;
                    letter-spacing:normal; text-align:start;
                    text-indent:0px; text-transform:none;
                    white-space:normal; word-spacing:0px;
                    text-decoration:none; float:none;
                    display:inline!important">My UPS is connected to a
                    Raspberry Pi by USB. After a few hours of working,
                    the service fails. Looking at kernel messages I
                    noticed that the device is repeatedly disconnecting
                    and reconnecting.</span><br class=""
                    style="font-family:Helvetica; font-size:14px;
                    font-style:normal; font-weight:normal;
                    letter-spacing:normal; text-align:start;
                    text-indent:0px; text-transform:none;
                    white-space:normal; word-spacing:0px;
                    text-decoration:none">
                  <br class="" style="font-family:Helvetica;
                    font-size:14px; font-style:normal;
                    font-weight:normal; letter-spacing:normal;
                    text-align:start; text-indent:0px;
                    text-transform:none; white-space:normal;
                    word-spacing:0px; text-decoration:none">
                  <span class="" style="font-family:Helvetica;
                    font-size:14px; font-style:normal;
                    font-weight:normal; letter-spacing:normal;
                    text-align:start; text-indent:0px;
                    text-transform:none; white-space:normal;
                    word-spacing:0px; text-decoration:none; float:none;
                    display:inline!important">I have tried using a
                    different USB port and using a brand new USB cable.
                    I have not had success by changing config parameters
                    like pollfreq/pollinterval/etc.</span><br class=""
                    style="font-family:Helvetica; font-size:14px;
                    font-style:normal; font-weight:normal;
                    letter-spacing:normal; text-align:start;
                    text-indent:0px; text-transform:none;
                    white-space:normal; word-spacing:0px;
                    text-decoration:none">
                  <br class="" style="font-family:Helvetica;
                    font-size:14px; font-style:normal;
                    font-weight:normal; letter-spacing:normal;
                    text-align:start; text-indent:0px;
                    text-transform:none; white-space:normal;
                    word-spacing:0px; text-decoration:none">
                  <span class="" style="font-family:Helvetica;
                    font-size:14px; font-style:normal;
                    font-weight:normal; letter-spacing:normal;
                    text-align:start; text-indent:0px;
                    text-transform:none; white-space:normal;
                    word-spacing:0px; text-decoration:none; float:none;
                    display:inline!important">What is causing the UPS to
                    keep disconnecting?</span><br class=""
                    style="font-family:Helvetica; font-size:14px;
                    font-style:normal; font-weight:normal;
                    letter-spacing:normal; text-align:start;
                    text-indent:0px; text-transform:none;
                    white-space:normal; word-spacing:0px;
                    text-decoration:none">
                </div>
              </blockquote>
              <div><br class="">
              </div>
              <div>Not sure (it's a protocol issue lower than NUT), but
                does this post from Tripp Lite help the UPS
                automatically reconnect?</div>
              <div><br class="">
              </div>
              <div><a
href="https://urldefense.proofpoint.com/v2/url?u=https-3A__alioth-2Dlists.debian.net_pipermail_nut-2Dupsuser_2019-2DJune_011451.html&d=DwMFAg&c=f9s1WCuF-N6cmD_YaZ7gBg&r=lhr3k4au5dVQgHY_iS-v_t9g8PHVkn8Px_wyaupZGfQ&m=5bTj0FByjuC7ZwvwC7XsgqsH_kXRehDbkaYVEGxZrkQ&s=-Pz1JlSeu5vl0n4bXiBIaPW1nFRDro_yq3QvTTbwC5o&e="
                  class="" moz-do-not-send="true">https://alioth-lists.debian.net/pipermail/nut-upsuser/2019-June/011451.html</a></div>
              <div><br class="">
              </div>
              <div>(you may need to do some RedHat-to-Debian translation
                for some of the pathnames.)</div>
              <br class="">
              <blockquote type="cite" class="">
                <div class=""><br class="" style="font-family:Helvetica;
                    font-size:14px; font-style:normal;
                    font-weight:normal; letter-spacing:normal;
                    text-align:start; text-indent:0px;
                    text-transform:none; white-space:normal;
                    word-spacing:0px; text-decoration:none">
                  <span class="" style="font-family:Helvetica;
                    font-size:14px; font-style:normal;
                    font-weight:normal; letter-spacing:normal;
                    text-align:start; text-indent:0px;
                    text-transform:none; white-space:normal;
                    word-spacing:0px; text-decoration:none; float:none;
                    display:inline!important">OS - Raspbian GNU/Linux 10
                    (buster)</span><br class=""
                    style="font-family:Helvetica; font-size:14px;
                    font-style:normal; font-weight:normal;
                    letter-spacing:normal; text-align:start;
                    text-indent:0px; text-transform:none;
                    white-space:normal; word-spacing:0px;
                    text-decoration:none">
                  <span class="" style="font-family:Helvetica;
                    font-size:14px; font-style:normal;
                    font-weight:normal; letter-spacing:normal;
                    text-align:start; text-indent:0px;
                    text-transform:none; white-space:normal;
                    word-spacing:0px; text-decoration:none; float:none;
                    display:inline!important">Kernel - 4.19.75-v7+</span><br
                    class="" style="font-family:Helvetica;
                    font-size:14px; font-style:normal;
                    font-weight:normal; letter-spacing:normal;
                    text-align:start; text-indent:0px;
                    text-transform:none; white-space:normal;
                    word-spacing:0px; text-decoration:none">
                  <span class="" style="font-family:Helvetica;
                    font-size:14px; font-style:normal;
                    font-weight:normal; letter-spacing:normal;
                    text-align:start; text-indent:0px;
                    text-transform:none; white-space:normal;
                    word-spacing:0px; text-decoration:none; float:none;
                    display:inline!important">Nut version - 2.7.4-8</span><br
                    class="" style="font-family:Helvetica;
                    font-size:14px; font-style:normal;
                    font-weight:normal; letter-spacing:normal;
                    text-align:start; text-indent:0px;
                    text-transform:none; white-space:normal;
                    word-spacing:0px; text-decoration:none">
                  <span class="" style="font-family:Helvetica;
                    font-size:14px; font-style:normal;
                    font-weight:normal; letter-spacing:normal;
                    text-align:start; text-indent:0px;
                    text-transform:none; white-space:normal;
                    word-spacing:0px; text-decoration:none; float:none;
                    display:inline!important">Installation method - From
                    package</span><br class=""
                    style="font-family:Helvetica; font-size:14px;
                    font-style:normal; font-weight:normal;
                    letter-spacing:normal; text-align:start;
                    text-indent:0px; text-transform:none;
                    white-space:normal; word-spacing:0px;
                    text-decoration:none">
                  <span class="" style="font-family:Helvetica;
                    font-size:14px; font-style:normal;
                    font-weight:normal; letter-spacing:normal;
                    text-align:start; text-indent:0px;
                    text-transform:none; white-space:normal;
                    word-spacing:0px; text-decoration:none; float:none;
                    display:inline!important">UPS - Tripp Lite
                    SMART1500LCD</span><br class=""
                    style="font-family:Helvetica; font-size:14px;
                    font-style:normal; font-weight:normal;
                    letter-spacing:normal; text-align:start;
                    text-indent:0px; text-transform:none;
                    white-space:normal; word-spacing:0px;
                    text-decoration:none">
                </div>
              </blockquote>
            </div>
            <br class="">
            <div class="">Thanks for including all of the version
              information.</div>
          </div>
        </div>
      </div>
      <hr>
      <font face="calibri" color="grey">This message is for the
        addressee's use only. It may contain confidential information.
        If you receive this message in error, please delete it and
        notify the sender. Tripp Lite disclaims all warranties and
        liabilities, and assumes no responsibility for viruses which may
        infect an email sent to you from Tripp Lite and which damage
        your electronic systems or information. It is your
        responsibility to maintain virus detection systems to prevent
        damage to your electronic systems and information.
      </font>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Nut-upsuser mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nut-upsuser@alioth-lists.debian.net">Nut-upsuser@alioth-lists.debian.net</a>
<a class="moz-txt-link-freetext" href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a></pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>