Re: modifying line state manually on ttyS

Alan Cox (alan@lxorguk.ukuu.org.uk)
07 Apr 2003 15:16:28 +0100


On Llu, 2003-04-07 at 16:02, Michael Buesch wrote:
> I have developed my own device, that is connected to ttyS0.
> To talk to my device, I need to set the state of the TxD line
> manually to either 0 or 1 (+12v or -12v). What I try to say is,

TxD is a bad choice. A lot of the hardware cannot control TXD this
way. DTR is the usual one because it is easy to handle but there
are other control lines you can drive directly (see TIOCGMODEM)

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