lkml.org 
[lkml]   [1999]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Need info about serial port programming -UPDATE
On Thu, Nov 11, 1999 at 06:53:00PM +0000, Alan Cox wrote:

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

I thought about that, but soldering irons are scarce here and I don't want
to waste mine. ;)

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

Are these fast enough for sampling bits from CTS and putting a clock onto
DTR at 100.200 Hz?

Will switching to the data lines (without having any kind of protocol or
stop bits or something) do any good? I can probably convince the hardware
guys to use a different pin on the RS232...

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

I don't think so. :(


Anyway, thanks a lot for answering. This has to work _somehow_ ...

--
_ciao, Jens_______________________________ http://www.pinguin.conetix.de

Windows NT indeed has very low Total Cost of Ownership. Trouble is,
Microsoft _owns_ Windows NT. You just licensed it.


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

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:1.711 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site