Displaying 2 results from an estimated 2 matches for "apc_f_leave".
2009 Jul 09
1
apcsmart and dual environmental sensors
...2009-06-10 09:54:18.000000000
-0400
@@ -156,6 +156,8 @@
APC_F_VOLT, 'o' },
{ "ambient.humidity", APC_POLL|APC_F_PERCENT, 'h' },
+ { "ambient.humidity.dual",
+ APC_POLL|APC_F_LEAVE, 'H' },
{ "ambient.humidity.alarm.maximum",
APC_F_PERCENT, '{' },
{ "ambient.humidity.alarm.minimum",
@@ -163,6 +165,8 @@
{ "ambient.temperature",
AP...
2010 Feb 02
1
Small patch to apcsmart driver
...+ ./drivers/apcsmart.h 2009-12-09 16:54:34.000000000 +0100
@@ -98,6 +98,7 @@
#define APC_F_SECONDS 0x100000 /* Time in seconds */
#define APC_F_MINUTES 0x110000 /* Time in minutes */
#define APC_F_HOURS 0x120000 /* Time in hours */
+#define APC_F_REASON 0x130000 /* Reason of transfer */
#define APC_F_LEAVE 0 /* Just pass this through */
struct apc_vartab_t {
@@ -143,7 +144,7 @@
{ "input.transfer.high",
APC_F_VOLT, 'u' },
{ "input.transfer.reason",
- APC_POLL, 'G' },
+ APC_POLL|APC_F_REASON, 'G' },
{ "input.voltage.maximum"...