[Nut-upsdev] [RFC apcsmart V3 01/18] drivers/apcsmart.h: comsetics - adjust tabs and add basic modeline

Chuck Anderson cra at WPI.EDU
Sun Mar 6 15:42:16 UTC 2011


On Sat, Mar 05, 2011 at 11:38:18AM +0100, Michal Soltys wrote:
> Signed-off-by: Michal Soltys <soltys at ziu.info>
> ---
>  drivers/apcsmart.h |   28 +++++++++++++++-------------
>  1 files changed, 15 insertions(+), 13 deletions(-)

Could you please integrate my minor compat additions with your patch 
series?  I've attached that patch here, having not heard anything when 
I posted this separately.  I'd be happy to test the entire series of 
patches with my Matrix-3000.

Thanks.
-------------- next part --------------
Add support for Matrix-UPS firmware 0XM/0XI with additional commands.

Signed-off-by: Charles R. Anderson <cra at wpi.edu>

diff -up nut-2.6.0/drivers/apcsmart.h.compat nut-2.6.0/drivers/apcsmart.h
--- nut-2.6.0/drivers/apcsmart.h.compat	2010-12-24 08:24:29.000000000 -0500
+++ nut-2.6.0/drivers/apcsmart.h	2011-01-30 01:20:05.962757040 -0500
@@ -255,6 +255,8 @@ struct {
 	int	flags;
 } compat_tab[] = {
 	/* APC Matrix */
+	{ "0XI",	"789ABCDEFGKLMNOPQRSTUVWXYZcefgjklmnopqrsuwxz/<>\\^\014\026", 0 },
+	{ "0XM",	"789ABCDEFGKLMNOPQRSTUVWXYZcefgjklmnopqrsuwxz/<>\\^\014\026", 0 },
 	{ "0ZI",	"79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrsuxz/<>", 0 },
 	{ "5UI",	"79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrsuxz/<>", 0 },
 	{ "5ZM",	"79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrsuxz/<>", 0 },


More information about the Nut-upsdev mailing list