Displaying 2 results from an estimated 2 matches for "chrgrang".
Did you mean:
chrgrange
2005 Aug 18
1
Help with Fenton model capability table
Hi,
I am working on a patch for FENTON.H to support some more ups models,
I wonder if someone can help with further information,meaning and
importance for the following values that are beeing set in the model
capability table:
float lowvolt;
float voltrange;
float chrglow;
float chrgrange;
int lowxfer;
int lownorm;
int highnorm;
int highxfer;
Thanks,
Nadav
2006 Jul 24
2
fentonups driver patch for Effekta MHD3000 UPS
...000 +0200
--- /usr/src/redhat/BUILD/nut-2.0.3/drivers/fentonups.c 2006-07-24 16:20:19.000000000 +0200
***************
*** 30,38 ****
--- 30,52 ----
#define DRV_VERSION "1.22"
static int cap_upstemp = 0;
+ static int is_online = 0;
static float lowvolt = 0, voltrange, chrglow = 0, chrgrange;
static int lownorm, highnorm;
+ static void sendcr_and_clear_buf(void)
+ {
+ int ret;
+
+ ret = ser_send(upsfd, "\r");
+
+ usleep(300000);
+
+ if (ret != 1)
+ upslog(LOG_ERR, "sendcr_and_clear_buf: ser_send failed");
+ ser_flush_in(upsfd, "", 0);
+ }
+...