[Nut-upsuser] Selftest intervall, APC Smart-UPS 750 RM

Arnaud Quette aquette.dev at gmail.com
Sun Sep 6 13:44:58 UTC 2009


2009/9/5 Markus Wildi

> Good morning Arnaud
>

hi Markus


> find attached the output of the driver (debug level 5).
>
>
> Here is an output of apcupsd command apcaccess status
>
>
> https://azug.minpet.unibas.ch/wikiobsvermes/index.php/Apcupsd#Useful_Commands
>
> Have a look at
> LASTXFER : Low line voltage
>
> and here an excerpt of the log file
>
> Feb 19 17:28:51 obsvermes apcupsd[2055]: UPS Self Test switch to battery.
> Feb 19 17:28:58 obsvermes apcupsd[2055]: UPS Self Test completed: Battery
> OK
>
>
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).
these values are commented in the code (your unit is currently reporting "5
=> self test"):

/* these input.transfer.reason can't be mapped at the moment... */
    { 3, "ripple", NULL },        /* Ripple */
    { 5, "self test", NULL },    /* Self Test or Discharge Calibration
commanded
                                 * Test usage, front button, or 2 week self
test */
    { 6, "forced", NULL },        /* DelayBeforeShutdown or
APCDelayBeforeShutdown */
    { 10, "forced", NULL },        /* Graceful shutdown by accessories */
    { 11, "self test", NULL },    /* Test usage invoked */
    { 12, "self test", NULL },    /* Front button initiated self test */
    { 13, "self test", NULL },    /* 2 week self test */

adding support for these would means changing some more code, and I'm not
sure it's forth just for reporting the above...

moreover, the data you reported are not coherent: considering the log file,
LASTXFER should have the value "Self Test" and not "Low line voltage"...

just to be sure, apart from transfer.reason, everything is equivalent to
apcupsd?
btw, what is that eeprom thing in apcupsd? is it equivalent to upsrw?

cheers,
Arnaud
-- 
Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20090906/6b4e7fab/attachment.htm>


More information about the Nut-upsuser mailing list