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.
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
2 matches
Mail list logo