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

[no subject]



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; <a  rel="nofollow" href="http://pyserial.sourceforge.net/";>http://pyserial.sourceforge.net/</a> ) installed.
&gt; 
&gt;     Good luck,
&gt; 
&gt;        Ben Scherrey
&gt; 
&gt; Christopher Bergeron wrote:
&gt; 
&gt; &gt; Does anyone know of a quick/simple/easy way I can raise the DTR signal 
&gt; &gt; on my serial port?  I'm trying to determine if the port is bad.
&gt; &gt;
&gt; &gt; I can't seem to think of a way to do it with a bash script.  Is there 
&gt; &gt; a command I can send from within Minicom?  Or doe  anyone have a few 
&gt; &gt; lines of C or similar code that could do it?  Is there a gtk app that 
&gt; &gt; will let me toggle serial pins?
&gt; &gt;
&gt; &gt; Anyone have any ideas?
&gt; &gt;
&gt; &gt; Thanks in Advance!
&gt; &gt; -CB
&gt; &gt;
&gt; &gt;
&gt; &gt; P.S.
&gt; &gt; I'm at the console of the box, I'm not connected to a serial tty.
&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; 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>


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00902" href="msg00902.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>
</ul></li></ul>
<!--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>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00896.html">[ale] &quot;use of uninitialized value&quot; error in Perl program  ?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00898.html">[SPAM] - [ale] &quot;use of uninitialized value&quot; error in Perl program	? - Bayesian Filter detected spam</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00874.html">[ale] quick way to raise DTR on serial port?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00902.html">[ale] quick way to raise DTR on serial port?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00897"><strong>Date</strong></a></li>
<li><a href="threads.html#00897"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

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