Displaying 3 results from an estimated 3 matches for "upstab".
2008 Feb 01
1
genericups CP custom config not working
It look to me that overwriting UPSTYPE CP signal or polarity in ups.conf
have no effect.
Looking at drivers/main.c source show that &upstab[upstype].line_norm is
set to custom CP in initinfo() only _AFTER_ the serial signals are
actually set by upsdrv_initups().
2008 Feb 01
1
genericups CP custom config not working
It look to me that overwriting UPSTYPE CP signal or polarity in ups.conf
have no effect.
Looking at drivers/main.c source show that &upstab[upstype].line_norm is
set to custom CP in initinfo() only _AFTER_ the serial signals are
actually set by upsdrv_initups().
2008 Mar 14
0
Sola 305 with INT-0051 cable
...* 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 guesstimate is that this would correspond to an entry in the upstab
something like:
{ "Sola",
"305",
"with INT-0051 cable",
TIOCM_DTR, /* cable power: DTR */
TIOCM_CTS, TIOCM_CTS, /* online: CTS on */
TIOCM_CD, 0, /* low battery: CD off */
TIOCM_RTS /* shutdown: set RTS */
},
This matches the definition of typ...