Networking Forums

Networking Forums > Computer Networking > Linux Networking > serial port characteristics

Reply
Thread Tools Display Modes

serial port characteristics

 
 
WWW
Guest
Posts: n/a

 
      01-24-2004, 06:23 PM
How do I set baud rate, bits-per-byte, stop bit, flow control for a serial
port in Linux?


 
Reply With Quote
 
 
 
 
Clifford Kite
Guest
Posts: n/a

 
      01-24-2004, 07:01 PM
WWW <(E-Mail Removed)> wrote:
> How do I set baud rate, bits-per-byte, stop bit, flow control for a serial
> port in Linux?


The stty utility should do what you describe. man stty.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
 
Reply With Quote
 
horsager(at)comcast(dot)net
Guest
Posts: n/a

 
      01-24-2004, 07:22 PM
man setserial

WWW wrote:
> How do I set baud rate, bits-per-byte, stop bit, flow control for a serial
> port in Linux?
>
>


Jeff

 
Reply With Quote
 
Bill Marcum
Guest
Posts: n/a

 
      01-25-2004, 03:01 PM
On Sat, 24 Jan 2004 13:23:37 -0600, WWW
<(E-Mail Removed)> wrote:
> How do I set baud rate, bits-per-byte, stop bit, flow control for a serial
> port in Linux?
>

man setserial


--
Absurd Procrustean Egghead Cornstarch Variant Bill Marcum
 
Reply With Quote
 
Floyd Davidson
Guest
Posts: n/a

 
      01-25-2004, 03:51 PM
Bill Marcum <(E-Mail Removed)> wrote:
>On Sat, 24 Jan 2004 13:23:37 -0600, WWW
> <(E-Mail Removed)> wrote:
>> How do I set baud rate, bits-per-byte, stop bit, flow control for a serial
>> port in Linux?
>>

>man setserial


setserial does not set any of the above parameters.

--
Floyd L. Davidson <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) (E-Mail Removed)
 
Reply With Quote
 
David Efflandt
Guest
Posts: n/a

 
      01-25-2004, 04:10 PM
On Sat, 24 Jan 2004 14:01:21 -0600, Clifford Kite <(E-Mail Removed)> wrote:
> WWW <(E-Mail Removed)> wrote:
>> How do I set baud rate, bits-per-byte, stop bit, flow control for a serial
>> port in Linux?

>
> The stty utility should do what you describe. man stty.


Or whatever program you are accessing the serial port with (like minicom)
should have some way to set that. For scripting, I have used the Perl
Device::SerialPort module (a Linux/Unix variant of Win32::SerialPort) to
check modem AT command responses.

--
David Efflandt - All spam ignored http://www.de-srv.com/
 
Reply With Quote
 
Jacob Westenbach
Guest
Posts: n/a

 
      01-26-2004, 06:32 PM
"WWW" <(E-Mail Removed)> wrote in message
news:buugnr$iud$(E-Mail Removed)...
> How do I set baud rate, bits-per-byte, stop bit, flow control for a serial
> port in Linux?
>
>


See man setserial.

JW


 
Reply With Quote
 
Floyd Davidson
Guest
Posts: n/a

 
      01-26-2004, 07:01 PM
"Jacob Westenbach" <(E-Mail Removed)> wrote:
>"WWW" <(E-Mail Removed)> wrote in message
>news:buugnr$iud$(E-Mail Removed)...
>> How do I set baud rate, bits-per-byte, stop bit, flow control for a serial
>> port in Linux?
>>
>>

>
>See man setserial.


Why?

--
Floyd L. Davidson <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) (E-Mail Removed)
 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      01-26-2004, 07:19 PM
Jacob Westenbach <(E-Mail Removed)> wrote:
> "WWW" <(E-Mail Removed)> wrote in message
> news:buugnr$iud$(E-Mail Removed)...
>> How do I set baud rate, bits-per-byte, stop bit, flow control for a serial
>> port in Linux?
>>


> See man setserial.


Even three wrongs don't make a right.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/


 
Reply With Quote
 
P.T. Breuer
Guest
Posts: n/a

 
      01-26-2004, 07:30 PM
Floyd Davidson <(E-Mail Removed)> wrote:
> "Jacob Westenbach" <(E-Mail Removed)> wrote:
> >"WWW" <(E-Mail Removed)> wrote in message
> >news:buugnr$iud$(E-Mail Removed)...
> >> How do I set baud rate, bits-per-byte, stop bit, flow control for a serial
> >> port in Linux?

> >
> >See man setserial.

>
> Why?


"Because", unlike stty and other line entrainments, it does NOT allow
you to vary the baud rate. And the other stuff is not to do with the
port, but rather the protocol going over the port.

I thunk he wants to read the Serial-Programming HOWTO. Either that
or man
the-obvious-other-thing-that-begins-with-s-and-varies-tty-behavior.

Peter
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
no serial port and no parrallel port how do i console to a router sloan949@gmail.com Linux Networking 4 02-13-2007 07:02 PM
Virtual com/serial port bjorn2k@hotmail.com Linux Networking 3 11-24-2005 12:47 PM
Map serial port through TS Tippy Windows Networking 0 11-23-2005 12:06 AM
Serial port on router? Ken Network Routers 2 03-05-2005 02:33 AM
Serial Port Multiplexing (2 apps to 1 port) Onslo Linux Networking 0 10-06-2004 08:53 AM



1 2 3 4 5 6 7 8 9 10 11