<br><div class="gmail_quote">2009/9/5 Markus Wildi<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Good morning Arnaud<br></blockquote><div>
<br>hi Markus<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;">
find attached the output of the driver (debug level 5).<br>
<br>
<br>
Here is an output of apcupsd command apcaccess status<br>
<br>
<a href="https://azug.minpet.unibas.ch/wikiobsvermes/index.php/Apcupsd#Useful_Commands" target="_blank">https://azug.minpet.unibas.ch/wikiobsvermes/index.php/Apcupsd#Useful_Commands</a><br>
<br>
Have a look at<br>
LASTXFER : Low line voltage<br>
<br>
and here an excerpt of the log file<br>
<br>
Feb 19 17:28:51 obsvermes apcupsd[2055]: UPS Self Test switch to battery.<br>
Feb 19 17:28:58 obsvermes apcupsd[2055]: UPS Self Test completed: Battery OK<br>
<br></blockquote><div><br>ok, I see why: currently, there are few values that are not mapped due to the boolean mechanism used in usbhid-ups to process (either outvolt or outfreq or nothing).<br>these values are commented in the code (your unit is currently reporting &quot;5 =&gt; self test&quot;):<br>
<br>/* these input.transfer.reason can&#39;t be mapped at the moment... */<br>    { 3, &quot;ripple&quot;, NULL },        /* Ripple */<br>    { 5, &quot;self test&quot;, NULL },    /* Self Test or Discharge Calibration commanded<br>
                                 * Test usage, front button, or 2 week self test */<br>    { 6, &quot;forced&quot;, NULL },        /* DelayBeforeShutdown or APCDelayBeforeShutdown */<br>    { 10, &quot;forced&quot;, NULL },        /* Graceful shutdown by accessories */<br>
    { 11, &quot;self test&quot;, NULL },    /* Test usage invoked */<br>    { 12, &quot;self test&quot;, NULL },    /* Front button initiated self test */<br>    { 13, &quot;self test&quot;, NULL },    /* 2 week self test */<br>
<br>adding support for these would means changing some more code, and I&#39;m not sure it&#39;s forth just for reporting the above... <br><br>moreover, the data you reported are not coherent: considering the log file, LASTXFER should have the value &quot;Self Test&quot; and not &quot;Low line voltage&quot;...<br>
<br>just to be sure, apart from transfer.reason, everything is equivalent to apcupsd?<br>btw, what is that eeprom thing in apcupsd? is it equivalent to upsrw?<br><br></div></div>cheers,<br clear="all">Arnaud<br>-- <br>Linux / Unix Expert R&amp;D - Eaton - <a href="http://www.eaton.com/mgeops">http://www.eaton.com/mgeops</a><br>
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://www.debian.org">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a><br>
<br>