Re: Need info about serial port programming -UPDATE

Scott Henry (scotth@sgi.com)
11 Nov 1999 11:28:33 -0800


>>>>> "J" == Jens Benecke <jens@pinguin.conetix.de> writes:

J> a while ago I asked about accessing the serial port from Linux. I got a lot
J> of very nice answers, thanks to anyone for answering, I will publish our
J> results and code when the project is finished.

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

J> Our time frame is extremely tight, I have to present a rough code draft on
J> Monday, and I have no idea whether it is at all possible to access the
J> RS232 ports directly from Linux, without digging deep into kernel
J> programming (which I probably wouldn't manage in the time anyway). So:

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

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

J> Thanks to all who enlighten me ;)

The bottlerocket (driver for X10 Firecracker interface) code does a
lot of similar-sounding serial port fiddling from userspace. Check
freshmeat.net for the source.

-- 
 Scott Henry <scotth@sgi.com> /  Help! My disclaimer is missing!
 IRIX MTS,                   /  GIGO *really* means: Garbage in, Gospel Out
 Silicon Graphics, Inc      /  http://reality.sgi.com/scotth/

- 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/