<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Charles,<br>
      <br>
      Thanks for these efforts!<br>
      <br>
      On 7.11.2014 6:24, Charles Lepple wrote:<br>
    </div>
    <blockquote
      cite="mid:36D86A8E-FABF-417E-8F0E-D8DD4A945E0E@gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      On Nov 6, 2014, at 1:44 PM, Toomas Suurmets (Priv) <<a
        moz-do-not-send="true" href="mailto:toomas@suurmets.com">toomas@suurmets.com</a>>
      wrote:<br>
      <div><br class="Apple-interchange-newline">
        <blockquote type="cite">
          <meta http-equiv="content-type" content="text/html;
            charset=ISO-8859-1">
          <div bgcolor="#FFFFFF" text="#000000"> Hi,<br>
            <br>
            Debug output of driver is attached, started with OpenUPS2
            input feed online @ 12V and going offline at 15th second of
            debug run.<br>
          </div>
        </blockquote>
        <div bgcolor="#FFFFFF" text="#000000"> <br>
        </div>
        <div bgcolor="#FFFFFF" text="#000000">Thanks, the voltages seem
          to only be off by a factor of 10:</div>
        <div bgcolor="#FFFFFF" text="#000000"><br>
        </div>
        <div bgcolor="#FFFFFF" text="#000000">
          <div bgcolor="#FFFFFF" text="#000000">Path:
            UPS.PowerSummary.Output.Voltage, Type: Feature, ReportID:
            0x21, Offset: 0, Size: 16, Value: 122.69</div>
          <div bgcolor="#FFFFFF" text="#000000">Path:
            UPS.PowerSummary.Output.Current, Type: Feature, ReportID:
            0x21, Offset: 16, Size: 16, Value: 0</div>
          <div bgcolor="#FFFFFF" text="#000000">Path:
            UPS.PowerSummary.Input.Voltage, Type: Feature, ReportID:
            0x22, Offset: 0, Size: 16, Value: 122.17</div>
          <div><br>
          </div>
          <div>Not sure about the current scaling - I assumed it was
            also 10x too high.</div>
          <div><br>
          </div>
          <div>I pushed a new version (0.4; ignore 0.3) which should fix
            the voltage scaling.</div>
        </div>
        <div bgcolor="#FFFFFF" text="#000000"><br>
        </div>
        <div bgcolor="#FFFFFF" text="#000000">The runtime estimate seems
          high, but you might need to plot that over time to see what
          the scale factor should be for that. NUT usually reports it in
          seconds.</div>
        <div bgcolor="#FFFFFF" text="#000000"><br>
        </div>
        <blockquote type="cite">
          <div bgcolor="#FFFFFF" text="#000000"> Second attached file is
            debug output of unsuccessful UPS shutdown captured with
            command:<br>
            <br>
            /lib/nut/usbhid-ups -a openups -x productid=d005 -u root
            -DDD <b>-k</b> 2>&1 |tee openups-d005-shut.log<br>
          </div>
        </blockquote>
        <div bgcolor="#FFFFFF" text="#000000"> <br>
        </div>
        <div bgcolor="#FFFFFF" text="#000000">Not sure what to tell you
          - there is no shutdown command listed in the HID descriptor. I
          CC'd the author of the driver - maybe the manufacturer can
          provide more information?</div>
        <div bgcolor="#FFFFFF" text="#000000"><br>
        </div>
        <div bgcolor="#FFFFFF" text="#000000">Same thing with the
          configuration variables. There are a few non-standard HID
          usage IDs at the end of the log, but it is not clear how to
          make use of them.</div>
        <div bgcolor="#FFFFFF" text="#000000"><br>
        </div>
      </div>
      <div>
        <span class="Apple-style-span" style="border-collapse: separate;
          border-spacing: 0px;">
          <div>-- </div>
          <div>Charles Lepple</div>
          <div>clepple@gmail</div>
          <div><br>
          </div>
        </span><br class="Apple-interchange-newline">
      </div>
      <br>
    </blockquote>
    <br>
  </body>
</html>