SOURCES: nut-smartdp-load.patch (NEW) - Some ACP UPSes use \ for p...
baggins
baggins at pld-linux.org
Mon Jan 2 17:51:38 CET 2006
Author: baggins Date: Mon Jan 2 16:51:38 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- Some ACP UPSes use \ for power load instead of P
---- Files affected:
SOURCES:
nut-smartdp-load.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/nut-smartdp-load.patch
diff -u /dev/null SOURCES/nut-smartdp-load.patch:1.1
--- /dev/null Mon Jan 2 17:51:38 2006
+++ SOURCES/nut-smartdp-load.patch Mon Jan 2 17:51:33 2006
@@ -0,0 +1,12 @@
+diff -ur nut-2.0.2/drivers/apcsmart.h nut-2.0.2-smart/drivers/apcsmart.h
+--- nut-2.0.2/drivers/apcsmart.h 2005-05-04 11:36:36.000000000 +0200
++++ nut-2.0.2-smart/drivers/apcsmart.h 2006-01-02 17:28:28.000000000 +0100
+@@ -121,6 +121,8 @@
+
+ { "ups.temperature", APC_POLL|APC_F_CELSIUS, 'C' },
+ { "ups.load", APC_POLL|APC_F_PERCENT, 'P' },
++/* Some UPSes report Load with '\' command not 'P' (SmartUPS-DP10000I) */
++ { "ups.load", APC_POLL|APC_F_PERCENT, '\\' },
+
+ { "ups.test.interval", APC_F_HOURS, 'E' },
+ { "ups.test.result", APC_POLL, 'X' },
================================================================
More information about the pld-cvs-commit
mailing list