<br><br><div class="gmail_quote">On Sun, Jul 12, 2009 at 2:28 PM, Arjen de Korte <span dir="ltr">&lt;<a href="mailto:nut%2Busers@de-korte.org">nut+users@de-korte.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im">Citeren Gasper Kozak &lt;<a href="mailto:gasper.kozak@gmail.com" target="_blank">gasper.kozak@gmail.com</a>&gt;:<br>
<br>
</div><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;ve installed the mentioned packages and LB event still doesn&#39;t get<br>
generated/reported.<br>
</blockquote>
<br></div>
That is bad. In that case we need the output of<br>
<br>
    /path/to/usbhid-ups -DD -a upsname<br>
<br>
Note that I want exactly *two* debug flags here. Not more, not less. You&#39;ll want to stop all parts of NUT, fire up the above command and leave that running for about thirty seconds. Then kill the driver with ctrl-C and post the results here, so we can have a look what is going on.<div class="im">

</div></blockquote><div>Here it is, 30 seconds of output:<br><a href="http://pastebin.com/f2c5aa338">http://pastebin.com/f2c5aa338</a><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Just to make sure, if values displayed with upsc are set to these values<br>
battery.charge: 75<br>
battery.charge.low: 30<br>
battery.charge.warning: 30<br>
<br>
Then the driver should report LB when battery.charge is below<br>
battery.charge.low (30)?<br>
</blockquote>
<br></div>
No, that&#39;s the job of the UPS.</blockquote><div>I see, UPS should do it (via status). But is this value (30) the threshold where it&#39;s supposed to start reporting LB?<br><br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What does battery.charge.warning have to do here?<br>
</blockquote>
<br></div>
It&#39;s the HID path &#39;UPS.PowerSummary.WarningCapacityLimit&#39; as read by NUT. If you&#39;re interested in finding out what it means, I suggest the USB HID Power Device Class specifications. These are available online (Google is your friend).</blockquote>

<div>I&#39;ll have a look.<br><br>Thanks,<br>Gasper<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">

<br>
<br>
Best regards, Arjen<br>
-- <br>
Please keep list traffic on the list<br>
<br>
<br>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@lists.alioth.debian.org" target="_blank">Nut-upsuser@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser</a><br>
</div></div></blockquote></div><br>