[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Tue Dec 28 15:41:32 2004 -->
- <!--x-from-r13: psbjyre ng bhgcbfgfragvary.pbz (Quevfgbcure Tbjyre) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: 41D04CB2.1000407@proteus-tech.com --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] quick way to raise DTR on serial port? -->
- <li><em>date</em>: Tue Dec 28 15:41:32 2004</li>
- <li><em>from</em>: cfowler at outpostsentinel.com (Christopher Fowler)</li>
- <li><em>in-reply-to</em>: <<a href="msg00874.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00873.html">[email protected]</a>> <<a href="msg00874.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] quick way to raise DTR on serial port?</li>
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 (
> <a rel="nofollow" href="http://pyserial.sourceforge.net/">http://pyserial.sourceforge.net/</a> ) installed.
>
> Good luck,
>
> Ben Scherrey
>
> 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.
> >
> > I can't seem to think of a way to do it with a bash script. Is there
> > a command I can send from within Minicom? Or doe anyone have a few
> > lines of C or similar code that could do it? Is there a gtk app that
> > will let me toggle serial pins?
> >
> > Anyone have any ideas?
> >
> > Thanks in Advance!
> > -CB
> >
> >
> > P.S.
> > I'm at the console of the box, I'm not connected to a serial tty.
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
> >
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <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] "use of uninitialized value" error in Perl program ?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00898.html">[SPAM] - [ale] "use of uninitialized value" 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>