Re: modifying line state manually on ttyS

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Apr 07 2003 - 09:16:28 EST


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/



This archive was generated by hypermail 2b29 : Mon Apr 07 2003 - 22:00:31 EST