<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-06-13 17:49 GMT+02:00 Manuel Wolfshant <span dir="ltr"><<a target="_blank" href="mailto:wolfy@nobugconsulting.ro">wolfy@nobugconsulting.ro</a>></span>:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
  
    
  
  <div bgcolor="#FFFFFF">
    <div class="gmail-m_-4062012251742636757moz-cite-prefix">On 06/13/2017 05:48 PM, Arnaud Quette
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi Manuel<br>
      </div>
    </blockquote>
    <br>
    Hi Arno<span class="gmail-"><br>
    <br></span></div></blockquote><div><br></div><div>Hi Manuel <br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div bgcolor="#FFFFFF"><span class="gmail-">
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div class="gmail_extra"><br>
            <div class="gmail_quote">2017-06-07 14:40 GMT+02:00 Charles
              Lepple <span dir="ltr"><<a target="_blank" href="mailto:clepple@gmail.com">clepple@gmail.com</a>></span>:<br>
              <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-m_-4062012251742636757gmail-">On Jun 7, 2017, at 5:47 AM, Manuel
                  Wolfshant <<a target="_blank" href="mailto:wolfy@nobugconsulting.ro">wolfy@nobugconsulting.ro</a>>
                  wrote:<br>
                  ><br>
                  >    If that matters, the OS is a fully updated
                  CentOS 6.9 and this (latest stable ) version of nut
                  was packaged by me. The problem appears on any of the
                  USB ports ( well, I tried the 2 in front and one in
                  the back of the server ).<br>
                  ><br>
                  > lsusb -v reports:<br>
                </span>...<br>
                <span class="gmail-m_-4062012251742636757gmail-">>          wDescriptorLength   
                   549<br>
                  >          Warning: incomplete report descriptor<br>
                  >          Report Descriptor: (length is 9)<br>
                  >            Item(Main  ): (null), data=none<br>
                  <br>
                </span>Because both NUT and lsusb are having trouble
                retrieving the HID Report Descriptor, I think the
                problem is at a lower level: probably between the UPS,
                the kernel, and the USB HCI. The archives have a number
                of unresolved emails about the 5E and "broken pipe"
                errors.<br>
                <br>
                Probably worth checking with Eaton, too.<br>
              </blockquote>
            </div>
            <br>
          </div>
          <div class="gmail_extra">Charles is right in both the fact
            that the issue is (or at least seems to be) upstream to NUT,
            and also that it's worth checking with "Eaton"<br>
          </div>
        </div>
      </div>
    </blockquote>
    <br></span>
        I've approached "them" ( apparently my request for supported
    landed at after-sales support/Romania ) as soon as Charles replied.
    Unfortunately the "dialogue" rather stalls, they seem to have a
    policy to not send more than one email every 3 days. Leaving aside
    that after telling them that I am using an <b>USB </b>unit (and
    providing USB-related logs ) they wanted to know if I was using <b>SNMP</b>.<span class="gmail-"><br></span></div></blockquote><div> <br></div><div>no comments ;)<br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div bgcolor="#FFFFFF"><span class="gmail-">
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div class="gmail_extra"><br>
          </div>
          <div class="gmail_extra">Could you please tell me your kernel
          </div>
        </div>
      </div>
    </blockquote></span>
    [root@belgrade ~]# uname -r<br>
    2.6.32-696.3.1.el6.x86_64<br></div></blockquote><div><br></div><div>that may be part of the issue... long time I've not tried the 2.x series, not sure how it goes nowadays.<br></div><div>btw, any interesting "usb" messages from your syslog?<br></div><div>also, would you be able to test with a 3.x or 4.x, at least to see if that improves / solves the issue?<br></div><div><br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div bgcolor="#FFFFFF">
    <br>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div class="gmail_extra">and libusb (0.1) version?<br>
          </div>
        </div>
      </div>
    </blockquote>
    [root@belgrade ~]# rpm -qa libusb<br>
    libusb-0.1.12-23.el6.x86_64<span class="gmail-"><br>
    <br>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div class="gmail_extra"><br>
          </div>
          <div class="gmail_extra">Would you also be able to test some
            github code?<br>
          </div>
          <div class="gmail_extra">We have the libusb-1.0 branch that
            provides both libusb 1.0 support (interesting to test to see
            if the problem still happens) along with few other
            improvements (though these should not help for your issue):
            <a target="_blank" href="https://github.com/networkupstools/nut/tree/libusb-1.0">https://github.com/<wbr>networkupstools/nut/tree/<wbr>libusb-1.0</a><br clear="all">
          </div>
          <div class="gmail_extra"><br>
          </div>
        </div>
      </div>
    </blockquote></span>
    I can and I will test ( tomorrow, probably ).<span class="gmail-"><br>
    <br>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div class="gmail_extra">Don't hesitate if you need more
            guidance for trying this branch.<br>
          </div>
        </div>
      </div>
    </blockquote></span>
    Do you happen to know how can I find the version of firmware run by
    the UPS, in _my_ conditions ( remote + the previously mentioned
    errors) ?</div></blockquote><div><br></div><div>don't bother too much, in the end, such request only get an answer once it has reached me ;)<br> <br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div bgcolor="#FFFFFF"> The guys who contacted me from Eaton did not reply yet to
    my email sent yesterday.<br></div></blockquote><div><br></div><div>that requires the driver to be running, then it's published as ups.firmware.<br></div><div>as per my upsc output above (in my case): ups.firmware: 02.06.0019</div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div bgcolor="#FFFFFF">
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div class="gmail_extra"><br>
          </div>
          <div class="gmail_extra"><span class="gmail-">FYI, I've just made a test with the
            same unit, on a Debian jessie (kernel 3.16.43-2, libusb
            0.1.12-25) both with 2.7.4 and the latest git master, and it
            works fine:<br>
            <br>
            battery.charge: 62<br>
            battery.runtime: 2725<br>
            battery.type: PbAc<br>
            device.mfr: EATON<br>
            device.model: 5E 1500i<br>
            device.type: ups<br>
            <a target="_blank" href="http://driver.name">driver.name</a>:
            usbhid-ups<br></span>
            [...]<br>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    I was expecting it to work fine, given
<a target="_blank" href="https://risc-a-day.blogspot.ro/2014/09/getting-my-ups-to-work-with-linux.html" class="gmail-m_-4062012251742636757moz-txt-link-freetext">https://risc-a-day.blogspot.<wbr>ro/2014/09/getting-my-ups-to-<wbr>work-with-linux.html</a>
    ( before the purchase I assumed the units to be similar, modulo the
    maximum power )<br></div></blockquote><div><br></div><div>you shouldn't be that far...<br></div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div bgcolor="#FFFFFF">
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div class="gmail_extra">cheers,<br>
          </div>
          <div class="gmail_extra">Arno<br>
          </div>
        </div>
      </div>
    </blockquote>
    thanks a lot. I will come back with more data once I test the github
    code ( yes, I know, everybody hates this kind of <span class="gmail-m_-4062012251742636757short_text" id="gmail-m_-4062012251742636757result_box" lang="en"><span>threats
        :) )<br></span></span></div></blockquote></div><br></div><div class="gmail_extra">looking forward to get news so ;)<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">cheers,<br clear="all"></div><div class="gmail_extra">Arno<br></div><div class="gmail_extra">-- <br><div class="gmail_signature">Eaton Data Center Automation Solutions - Opensource Leader - <a target="_blank" href="http://42ity.org">http://42ity.org</a><br>NUT (Network UPS Tools) Project Leader - <a target="_blank" href="http://www.networkupstools.org">http://www.networkupstools.org</a><br>Debian Developer - <a target="_blank" href="http://www.debian.org">http://www.debian.org</a><br>Free Software Developer - <a target="_blank" href="http://arnaud.quette.fr">http://arnaud.quette.fr</a><br></div>
</div></div>