Displaying 5 results from an estimated 5 matches for "tiocm_st".
2015 Oct 23
1
problem with compiling on Cygwin64
...gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/neon
-g -O2 -Wall -Wsign-compare -MT genericups.o -MD -MP -MF $depbase.Tpo -c -o
genericups.o genericups.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from genericups.c:24:0:
genericups.h:147:4: error: 'TIOCM_ST' undeclared here (not in a function)
TIOCM_ST /* shutdown: ST */
^
genericups.c: In function 'parse_output_signals':
genericups.c:66:9: error: invalid operands to binary | (have 'int' and
'struct <anonymous> *')
*line |= TIOCM_ST;
^
g...
2015 Oct 23
2
problem with compiling on Cygwin64
...dev] problem with compiling on Cygwin64
[please use reply-all to include the list - the NUT lists do not add a reply-to header.]
On Oct 22, 2015, at 8:06 PM, Walter Literowich <wliterow at gmail.com> wrote:
>
> In file included from genericups.c:24:0:
> genericups.h:147:4: error: ?TIOCM_ST? undeclared here (not in a function)
> TIOCM_ST /* shutdown: ST */
>
The "TIOCM_ST" flag should be defined in sys/termios.h - what did the ./configure script print when looking for that header?
If you don't need the serial drivers, you can build just a subset of them...
2005 Oct 03
1
CyberPower SL-series
...39;ve tested with my 725SL - the online/on battery
transition, and low battery status, and finally the shutdown signal all
work as expected.
*** genericups.h.orig Sun Nov 2 16:54:24 2003
--- 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: C...
2015 Nov 02
1
problem with compiling on Cygwin64
...y of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
Added >>> #define TIOCM_LE 0001 /* line enable
*/
Added >>> #define TIOCM_ST 0010 /* secondary
transmit */
Added >>> #define TIOCM_SR 0020 /* secondary
receive */
-----Original Message-----
From: Charles Lepple [mailto:clepple at gmail.com]
Sent: Sunday, November 01, 2015 10:37 AM
To: Walter Literowich
Cc: nut-upsdev...
2015 Oct 24
2
problem with compiling on Cygwin64
libusb do you have installed >>> 1.2.6.0-2
./configure --with-drivers=usbhid-ups
Configuration summary:
======================
build serial drivers: yes
build USB drivers: yes
build SNMP drivers: no
build neon based XML driver: yes
enable Avahi support: no
build Powerman PDU client driver: no
build IPMI driver: no
build Mac OS X meta-driver: no
build i2c based drivers: no
enable SSL