Hey Jarett,<br><br><div class="gmail_quote">2009/2/24 <span dir="ltr"><<a href="mailto:jarett.stevens@usermail.com">jarett.stevens@usermail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
After upgrading to the 2.4.1 version, I wasn't able to read as many<br>
variables from my UPS. After a bit of experimentation, I determined that<br>
the firmware on my UPS was different than what is currently in the<br>
apcsmart driver, though it had worked before. I located my firmware<br>
version (5ZM), and added in with the other APC Matrix entries; now<br>
everything works as expected!<br>
<br>
<br>
$ diff -u apcsmart.c.orig apcsmart.c<br>
--- apcsmart.c.orig Tue Feb 24 14:00:34 2009<br>
+++ apcsmart.c Tue Feb 24 14:01:04 2009<br>
@@ -564,6 +564,7 @@<br>
!strcmp(buf, "8TI") || /* (SmartUPS 1250,<br>
vintage 08/24/95.) */<br>
!strcmp(buf, "6TI") || /* (APC600.) */<br>
!strcmp(buf, "6QI") || /* (APC600.) */<br>
+ !strcmp(buf, "5ZM") || /* (APC Matrix<br>
5000, vintage 12/00.) */<br>
!strcmp(buf, "0ZI") || /* (APC Matrix<br>
3000, vintage 10/99.) */<br>
!strcmp(buf, "5UI")) { /* (APC Matrix<br>
5000, vintage 10/93.) */<br>
upsdebugx(1, "Found Smart-UPS");<br>
$<br>
$<br>
$ diff -u apcsmart.h.orig apcsmart.h<br>
--- apcsmart.h.orig Tue Feb 24 14:00:06 2009<br>
+++ apcsmart.h Tue Feb 24 14:00:26 2009<br>
@@ -267,6 +267,7 @@<br>
/* APC Matrix */<br>
{ "0ZI", "79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrsuxz/<>", 0 },<br>
{ "5UI", "79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrsuxz/<>", 0 },<br>
+ { "5ZM", "79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrsuxz/<>", 0 },<br>
<br>
{ NULL, NULL, 0 },<br>
};<br>
<br>
</blockquote><div><br>thanks, I've applied it to the development version.<br> <br></div></div>cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&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://people.debian.org/~aquette/">http://people.debian.org/~aquette/</a><br>
Free Software Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a><br><br>