Displaying 7 results from an estimated 7 matches for "tiocm_cts".
2008 Mar 14
0
Sola 305 with INT-0051 cable
...ia a INT-0025C
are:
init0 dsr init0 rng init0 dtr init1 rts fail cts,0 low dcd,0 kill dtr,1
This seems to agree with the definition of type 7 in genericups.h:
/* Type 7 */
{ "CyberPower",
"Power99",
"CyberPower Power99",
TIOCM_RTS, /* cable power: RTS */
TIOCM_CTS, TIOCM_CTS, /* online: CTS on */
TIOCM_CD, 0, /* low battery: CD off */
TIOCM_DTR /* shutdown: set DTR */
},
The powstatd document then defines the settings to use when connecting
using a INT-0051 as:
init0 rts init0 rng init0 dsr init1 dtr fail cts,0 low dcd,0 kill rts,1
My guessti...
2007 Sep 03
0
Tr : adding Jageson Technology JASUNY UPS support to NUT
...owing driver
type (using the /driver/genericups.h already built into NUT) by adding
the following lines:
/* Type 23 (duplicate from 4)*/
{ "Jageson Tech Co Ltd",
"Jasuny USPS",
"Jasuny USPS with RS232",
TIOCM_RTS, /* cable power: RTS */
TIOCM_CTS, TIOCM_CTS, /* online: CTS on */
TIOCM_CD, 0, /* low battery: CD off */
0 /* shutdown: none */
}
A diff -u follows per the /docs/developers.txt file. My mail client
won't let me keep the tabs pro...
2006 Jan 31
2
Bug #302338 (genericups: custom configurationthrough ups.conf, not working)
On Tue, 31 Jan 2006, Arjen de Korte wrote:
> > But I'd like to know what I'm testing. Could you please post a bug tracker
> > URL? I'm having trouble finding #302338.
>
> That may be because I closed the bug (maybe a little overenthousiastic). See
>
> http://alioth.debian.org/tracker/index.php?func=detail&aid=302338&group_id=30602&atid=411542
>
2005 Oct 03
1
CyberPower SL-series
...5 ****
--- 220,234 ----
TIOCM_ST /* shutdown: ST (break) */
},
+ { "CyberPower",
+ "SL series",
+ "CyberPower SL",
+ TIOCM_RTS, /* cable power: RTS */
+ TIOCM_CTS, TIOCM_CTS, /* online: CTS on */
+ TIOCM_CAR, 0, /* low battery: CD (aka CAR) off
*/
+ TIOCM_DTR /* shutdown: DTR */
+ },
+
/* add any new entries directly above this line */
{ NUL...
2012 Feb 26
1
Server Does Not Shut Down
Hello,
I have a UPS connected to my server with the following:
Server is Suse 10.1
Nut version is?Network UPS Tools - Generic UPS driver 1.32 (2.0.4)
I installed this around 2005 and cannot remember how I installed the software.
ups.conf:
[sdrups]
driver = genericups
port = /dev/ttyS0
desc = "For Server & Backup"
upstype = 9
upsd.conf:
ACL all 0.0.0.0/0
ACL localhost
2009 Aug 14
2
Bestfortress driver, network serial patch for nut-2.0
...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();
}
/* Parameter setting */
/* all UPS tunable parameters are set with command
'p%d=%s'
*/
int setparam (int parameter, int dlen, const char * data) {
char reply[80];
upssend ("p%d=%*s\r&...
2007 Dec 06
7
[PATCH] Fix ioemu compile
...ls/ioemu/hw/serial.c
--- a/tools/ioemu/hw/serial.c
+++ b/tools/ioemu/hw/serial.c
@@ -26,9 +26,15 @@
#include <sys/time.h>
#include <time.h>
#include <assert.h>
-#include <asm/termios.h>
//#define DEBUG_SERIAL
+
+#define TIOCM_DTR 0x002
+#define TIOCM_RTS 0x004
+#define TIOCM_CTS 0x020
+#define TIOCM_CAR 0x040
+#define TIOCM_RI 0x080
+#define TIOCM_DSR 0x100
#define UART_LCR_DLAB 0x80 /* Divisor latch access bit */
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel