public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
From: Matti Aarnio <matti.aarnio@zmailer.org>
To: henrique <henrique@cyclades.com>
Cc: linux-serial@vger.kernel.org
Subject: Re: A new serial baud rate
Date: Thu, 25 Jul 2002 22:35:38 +0300	[thread overview]
Message-ID: <20020725223538.A1237@mea-ext.zmailer.org> (raw)
In-Reply-To: <200207251522.49383.henrique@cyclades.com>; from henrique@cyclades.com on Thu, Jul 25, 2002 at 03:22:49PM -0300

On Thu, Jul 25, 2002 at 03:22:49PM -0300, henrique wrote:
> Hello !!!
> 
> I want to use the 14400 baud rate on a serial port (I have a lot of modems 
> configured to this baud rate) but the define B14400 doesn't exist. What 
> should I do. Is it a matter of simply insert the new define into termbits.h ?

  There seem to exist two different approaches to the speed
  parameter.  The classical is to have  Bnnnnn  constant in
  the <termios.h> POSIX tc{get|set}attr().

  Another is to supply the speed, or at least the divisor explicitely.
  This is done via  TIO[GS]SERIAL  ioctl.  See  setserial(8) for more
  pointers.

  Entirely separate issue is that modem speed of 14400 bauds is
  roughly 18000 bauds of async speed, without considering any of
  possible modem link compression effects.  Modems do adapt to
  your computer serial port speed, and to get full modem speed
  bandwidth into use, your modem-computer link speed needs to
  more capacitous, than what the modem can feed into it.

> thanks in advance
> ---
> Henrique Gobbi

/Matti Aarnio

  parent reply	other threads:[~2002-07-25 19:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-25 18:22 A new serial baud rate henrique
2002-07-25 18:46 ` Mike Dresser
2002-07-25 19:35 ` Matti Aarnio [this message]
     [not found] <1779CCD227485B49A825718AAAA90E3E406CD1@tpsmail01.turbopower.net>
2002-07-25 19:14 ` henrique
2002-07-25 19:40   ` Neil Everton
2002-07-25 19:45   ` Matti Aarnio
  -- strict thread matches above, loose matches on Subject: below --
2002-07-25 21:35 Ed Vance
     [not found] <1779CCD227485B49A825718AAAA90E3E406CD4@tpsmail01.turbopower.net>
2002-07-26 13:14 ` henrique
2002-07-26 16:00 Ed Vance
2002-07-31 12:37 ` henrique

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020725223538.A1237@mea-ext.zmailer.org \
    --to=matti.aarnio@zmailer.org \
    --cc=henrique@cyclades.com \
    --cc=linux-serial@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox