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

1999-05-26 Thread Daniel O'Connor
On 26-May-99 Peter Brevik wrote: > it seems the bits in the resulting code does not correspond to what actually > are physicaly on the rs232 connector anyway. > I would not like to use brute force, like inb()/outb() commands.. > Any suggestions on how to get TIOCMGET ioctl() to work as intend

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