[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Tue Dec 28 20:18:05 2004 -->
- <!--x-from-r13: puevfgbcure ng oretreba.pbz (Quevfgbcure Pretreba) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: 41D04CB2.1000407@proteus-tech.com -->
- <!--x-reference: [email protected] --> "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 20:18:05 2004</li>
- <li><em>from</em>: christopher at bergeron.com (Christopher Bergeron)</li>
- <li><em>in-reply-to</em>: <<a href="msg00897.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00873.html">[email protected]</a>> <<a href="msg00874.html">[email protected]</a>> <<a href="msg00897.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] quick way to raise DTR on serial port?</li>
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 (
>><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>
>>
>>
>
>_______________________________________________
>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>
<!--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>