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

Christopher Bergeron christopher at bergeron.com
Wed Dec 29 17:55:49 EST 2004


Thanks for the help guys.  The port is working fine.  It turns out it 
was a cable that I _thought_ was a serial extension cable, but 
apparently has a different pinout.

Man, I need to label those things.

Anyway, thanks for the debugging tips.

Cheers,
CB




Christopher Fowler wrote:

>That is a good idea.  
>
>You can also run a program like minicom.  
>
>Run minicom on that port and tie pins 2 & 3 together with a wire.  This
>will loopback.  What you type you'll see.
>
>
>On Tue, 2004-12-28 at 10:17, Doug McNash wrote:
>  
>
>>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.
>>>
>>>      
>>>
>>_______________________________________________
>>Ale mailing list
>>Ale at ale.org
>>http://www.ale.org/mailman/listinfo/ale
>>    
>>
>
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>http://www.ale.org/mailman/listinfo/ale
>
>  
>



More information about the Ale mailing list