search for: tiocm_rt

Displaying 7 results from an estimated 7 matches for "tiocm_rt".

Did you mean: tiocm_st
2008 Mar 14
0
Sola 305 with INT-0051 cable
...at the settings to use when connected via 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...
2007 Sep 03
0
Tr : adding Jageson Technology JASUNY UPS support to NUT
...ould like to be added as officially supported by NUT with the following 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/deve...
2008 Dec 10
0
No subject
...TCGETS, {B1200 -opost -isig -icanon -echo ...}) = 0 12369 ioctl(4, SNDCTL_TMR_START or TCSETS, {B1200 -opost -isig -icanon -echo ...}) = 0 12369 ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, {B1200 -opost -isig -icanon -echo ...}) = 0 12369 ioctl(4, TIOCMBIC, [TIOCM_DTR]) = 0 12369 ioctl(4, TIOCMBIS, [TIOCM_RTS]) = 0 12369 write(4, "\1"..., 1) = -1 EAGAIN (Resource temporarily unavailable) 12369 write(2, "writing error\n"..., 14) = 14 Any hint please? -- Zaar
2005 Oct 03
1
CyberPower SL-series
...--- genericups.h Mon Oct 3 13:49:00 2005 *************** *** 220,225 **** --- 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 */ + },...
2007 Jun 18
1
Megatec - modem control lines
...k/drivers/megatec.c =================================================================== --- trunk/drivers/megatec.c (revision 965) +++ trunk/drivers/megatec.c (working copy) @@ -853,13 +853,22 @@ void upsdrv_initups(void) { + int dtr_bit = TIOCM_DTR; + int rts_bit = TIOCM_RTS; + upsfd = ser_open(device_path); ser_set_speed(upsfd, device_path, B2400); + + ioctl(upsfd, TIOCMBIS, &dtr_bit); + ioctl(upsfd, TIOCMBIC, &rts_bit); } void upsdrv_cleanup(void) { + int dtr_bit = TIOCM_DTR; + + ioctl(upsfd, TIOCMBIC, &dtr...
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
2007 Dec 06
7
[PATCH] Fix ioemu compile
...s/ioemu/hw/serial.c b/tools/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/x...