<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">On Nov 6, 2014, at 1:44 PM, Toomas Suurmets (Priv) <<a 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></body></html>