[Nut-upsuser] support for APC Matrix 5000, vintage 12/00 (was: NUT apcsmart driver - firmware addition)

Arnaud Quette arnaud.quette at free.fr
Fri Feb 27 09:11:56 UTC 2009


Hey Jarett,

2009/2/24 <jarett.stevens at usermail.com>

> After upgrading to the 2.4.1 version, I wasn't able to read as many
> variables from my UPS.  After a bit of experimentation, I determined that
> the firmware on my UPS was different than what is currently in the
> apcsmart driver, though it had worked before.  I located my firmware
> version (5ZM), and added in with the other APC Matrix entries;  now
> everything works as expected!
>
>
> $ diff -u apcsmart.c.orig apcsmart.c
> --- apcsmart.c.orig     Tue Feb 24 14:00:34 2009
> +++ apcsmart.c  Tue Feb 24 14:01:04 2009
> @@ -564,6 +564,7 @@
>                                !strcmp(buf, "8TI") || /* (SmartUPS 1250,
> vintage 08/24/95.) */
>                                !strcmp(buf, "6TI") || /* (APC600.) */
>                                !strcmp(buf, "6QI") || /* (APC600.) */
> +                               !strcmp(buf, "5ZM") || /* (APC Matrix
> 5000, vintage 12/00.) */
>                                !strcmp(buf, "0ZI") || /* (APC Matrix
> 3000, vintage 10/99.) */
>                                !strcmp(buf, "5UI")) { /* (APC Matrix
> 5000, vintage 10/93.) */
>                        upsdebugx(1, "Found Smart-UPS");
> $
> $
> $ diff -u apcsmart.h.orig apcsmart.h
> --- apcsmart.h.orig     Tue Feb 24 14:00:06 2009
> +++ apcsmart.h  Tue Feb 24 14:00:26 2009
> @@ -267,6 +267,7 @@
>        /* APC Matrix */
>        { "0ZI",        "79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrsuxz/<>", 0 },
>        { "5UI",        "79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrsuxz/<>", 0 },
> +       { "5ZM",        "79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrsuxz/<>", 0
> },
>
>        { NULL,         NULL,                   0 },
>  };
>
>
thanks, I've applied it to the development version.

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://people.debian.org/~aquette/
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/20090227/a56c42b0/attachment.htm 


More information about the Nut-upsuser mailing list