Hey Jarett,<br><br><div class="gmail_quote">2009/2/24  <span dir="ltr">&lt;<a href="mailto:jarett.stevens@usermail.com">jarett.stevens@usermail.com</a>&gt;</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&#39;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, &quot;8TI&quot;) || /* (SmartUPS 1250,<br>
vintage 08/24/95.) */<br>
                                !strcmp(buf, &quot;6TI&quot;) || /* (APC600.) */<br>
                                !strcmp(buf, &quot;6QI&quot;) || /* (APC600.) */<br>
+                               !strcmp(buf, &quot;5ZM&quot;) || /* (APC Matrix<br>
5000, vintage 12/00.) */<br>
                                !strcmp(buf, &quot;0ZI&quot;) || /* (APC Matrix<br>
3000, vintage 10/99.) */<br>
                                !strcmp(buf, &quot;5UI&quot;)) { /* (APC Matrix<br>
5000, vintage 10/93.) */<br>
                        upsdebugx(1, &quot;Found Smart-UPS&quot;);<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>
        { &quot;0ZI&quot;,        &quot;79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrsuxz/&lt;&gt;&quot;, 0 },<br>
        { &quot;5UI&quot;,        &quot;79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrsuxz/&lt;&gt;&quot;, 0 },<br>
+       { &quot;5ZM&quot;,        &quot;79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrsuxz/&lt;&gt;&quot;, 0 },<br>
<br>
        { NULL,         NULL,                   0 },<br>
 };<br>
<br>
</blockquote><div><br>thanks, I&#39;ve applied it to the development version.<br> <br></div></div>cheers,<br>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://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>