RS232 status lines, read with TIOCMGET.. [solved] :)

1999-05-27 Thread Peter Brevik
Some of you maybe saw my letter about the (4)tty ioctl "TIOCMGET int *state". The issue has been solved and the answer is that indeed the sio.c driver only reads the status line at opening. However a status line change will trigger a interrupt, and cause the driver to read status lines once more.

RS232 status read ioctl (RI,DSR,CTS etc..)

1999-05-26 Thread Peter Brevik
Hi, I am programming a rs232 device (driver) which is using the status line's rather than the tx/rx lines to control the device. I have succedded without any problem to send signals by using the ioctl's described in "man 4 tty" man page. There is a ioctl called "TIOCMGET" which is intended as