Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 12-05-2007, 12:27 PM   #1
LQ Newbie
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
serial port R/W with DTR and RTS

I've checked the Serial Programming Howto for a Sample to build a program that:

Read and Write for Serial Port.
Handle RTS and DTR
Sets baudrate, Parity, Stop bits.

And I ve compiled so many, but I wouldnt make exact as I need.

But My box dont act as I want.

The Only program I have sucessfully checked is
It works fine as I need.

I dont understand what is happening with DTR and RTS status.

Thanks for any advice.
Old 12-06-2007, 11:57 AM   #2
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Perhaps you can explain exactly what you do want, or how the attempts you have made failed (post code fragments in [C O D E] tags, as appropriate).
--- rod.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Set RTS high on serial port Regulus Linux - Software 1 08-09-2006 05:58 PM
Serial line RTS and DTR setting zhanghao Linux - Hardware 1 02-15-2006 09:43 AM
Serial line RTS and DTR setting zhanghao Linux - General 5 02-14-2006 05:34 PM
Serial Port : How do I raise DTR ttumelty Programming 3 08-26-2005 05:17 AM
Controlling serial port RTS pin from 'C' program dcarter Slackware 1 09-26-2003 08:01 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration