Displaying 4 results from an estimated 4 matches for "lownorm".
Did you mean:
lognorm
2006 Apr 26
1
RE nut 2.0 fentonups and Xanto S3000R
...Xanto S3000R
ups.status: OL
ups.temperature: 28.0
$OpenBSD$
--- drivers/fentonups.c.orig Tue Apr 25 23:33:03 2006
+++ drivers/fentonups.c Wed Apr 26 00:11:06 2006
@@ -33,14 +33,17 @@ static float lowvolt = 0,
voltrange;
static int lownorm, highnorm;
/* handle devices which don't give a properly formatted I string */
-static int check_mtab2(const char *raw)
+static int check_mtab2(const char *raw, int israw)
{
int i;
char *cooked;
- /* trim off the lead...
2005 Aug 18
1
Help with Fenton model capability table
...n 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
...edhat/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);
+ }
+
/* handle devices w...
2009 Aug 14
2
Bestfortress driver, network serial patch for nut-2.0
...tt)
status_set("LB ");
else if (trimming)
status_set("TRIM");
else if (boosting)
status_set("BOOST");
else
status_set(is_online ? (is_off ? "OFF " : "OL ") : "OB ");
/* setinfo(INFO_STATUS, "%s%s",
* (util < lownorm) ? "BOOST ", "",
* (util > highnorm) ? "TRIM ", "",
* ((flags & TIOCM_CD) == 0) ? "" : "LB ",
* ((flags & TIOCM_CTS) == TIOCM_CTS) ? "OB" : "OL");
*/
status_commit();
dstate_dataok();
}
/* Parame...