[ale] quick way to raise DTR on serial port?

Doug McNash dmcnash at charter.net
Tue Dec 28 10:21:05 EST 2004


Opening the tty port should raise DTR if the bit rate is non-zero so

stty 9600 -hupcl < /dev/ttyS0

should do it.  Use stty hupcl if you want to turn if off after close.

sleep 1 < /dev/ttyS0 to pulse it for about a sec.


On Mon, 2004-12-27 at 12:43, Christopher Bergeron wrote:
> Does anyone know of a quick/simple/easy way I can raise the DTR signal 
> on my serial port?  I'm trying to determine if the port is bad.
> 




More information about the Ale mailing list