Re: Need info about serial port programming -UPDATE

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 11 Nov 1999 18:53:00 +0000 (GMT)


> The "problem" now is that I have received detailed information about how
> the hardware "the other guys" are about to solder speaks to the serial
> port, which makes me kind of sick. It seems that there is no thought of a
> standard serial RS232 handshake protocol.

Take the soldering iron and insert it somewhere educational for them 8)

> recognizable. (One of the things that we have been strictly forbidden to do
> is to use a soundcard, so don't ask. Strictly speaking, this is a 100%

I can guess.

> - Is there a way to control those pins from user space, directly enough so
> that we can get the data?

TIOCMBIC/TIOCMBIS/TIOCMGET ioctls

> - Alternatively, is there a _simple_ way (e.g. an IC) to put between the
> data line and the RS232 that implements a handshake so that I can use
> termios and so on?

If you have a PIC programmer wiz handy. No otherwise 8)

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/