[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



Thanks!
-CB




Christopher Fowler wrote:

>Easier then that.  A simple open() will raise DTR
>
>Try cat > /dev/ttyS?
>
>
>That will open the port and cause DTR to be raised.
>
>On Mon, 2004-12-27 at 12:56, Benjamin Scherrey wrote:
>  
>
>>You can do it in python easily if you have pySerial ( 
&gt;&gt;<a  rel="nofollow" href="http://pyserial.sourceforge.net/";>http://pyserial.sourceforge.net/</a> ) installed.
&gt;&gt;
&gt;&gt;    Good luck,
&gt;&gt;
&gt;&gt;       Ben Scherrey
&gt;&gt;
&gt;&gt;Christopher Bergeron wrote:
&gt;&gt;
&gt;&gt;    
&gt;&gt;
&gt;&gt;&gt;Does anyone know of a quick/simple/easy way I can raise the DTR signal 
&gt;&gt;&gt;on my serial port?  I'm trying to determine if the port is bad.
&gt;&gt;&gt;
&gt;&gt;&gt;I can't seem to think of a way to do it with a bash script.  Is there 
&gt;&gt;&gt;a command I can send from within Minicom?  Or doe  anyone have a few 
&gt;&gt;&gt;lines of C or similar code that could do it?  Is there a gtk app that 
&gt;&gt;&gt;will let me toggle serial pins?
&gt;&gt;&gt;
&gt;&gt;&gt;Anyone have any ideas?
&gt;&gt;&gt;
&gt;&gt;&gt;Thanks in Advance!
&gt;&gt;&gt;-CB
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;P.S.
&gt;&gt;&gt;I'm at the console of the box, I'm not connected to a serial tty.
&gt;&gt;&gt;_______________________________________________
&gt;&gt;&gt;Ale mailing list
&gt;&gt;&gt;Ale at ale.org
&gt;&gt;&gt;<a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt;&gt;&gt;
&gt;&gt;&gt;      
&gt;&gt;&gt;
&gt;&gt;_______________________________________________
&gt;&gt;Ale mailing list
&gt;&gt;Ale at ale.org
&gt;&gt;<a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt;&gt;    
&gt;&gt;
&gt;
&gt;_______________________________________________
&gt;Ale mailing list
&gt;Ale at ale.org
&gt;<a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt;
&gt;  
&gt;


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00873" href="msg00873.html">[ale] quick way to raise DTR on serial port?</a></strong>
<ul><li><em>From:</em> christopher at bergeron.com (Christopher Bergeron)</li></ul></li>
<li><strong><a name="00874" href="msg00874.html">[ale] quick way to raise DTR on serial port?</a></strong>
<ul><li><em>From:</em> scherrey at proteus-tech.com (Benjamin Scherrey)</li></ul></li>
<li><strong><a name="00897" href="msg00897.html">[ale] quick way to raise DTR on serial port?</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00901.html">[ale] Question : Printer with lowest TCO for infrequent usage</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00903.html">[ale] Technical Support Position Available</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00897.html">[ale] quick way to raise DTR on serial port?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00892.html">[ale] quick way to raise DTR on serial port?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00902"><strong>Date</strong></a></li>
<li><a href="threads.html#00902"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>