X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
Subject: Non-standard serial port baud rates
From: amb@gedanken.demon.co.uk (Andrew M. Bishop)
Date: 25 Sep 2007 18:33:13 +0100
Message-ID: <voy7euwsyu.fsf@gedanken.demon.co.uk>
Lines: 25
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

In a message to this list in February this year titled "Lost support
for baud rate of 230400 after minor Cygwin upgrade" Corinna wrote:

: 250000 is not supported and never was.  As I wrote above, B115200 and
: B230400 are supported for now.  The next Cygwin version will support
: baudrates up to 3000000 (7 digits), which includes 256000, but 250000
: is not amongst them.  It's not a baudrate defined on Linux either.

In the snapshot versions from mid-February there is indeed support for
other non-standard speeds (like 1000000, 2000000, 3000000) in the
tcsetattr() and tcgetattr() functions in fhandler_serial.cc.  There
isn't however the corresponding change to the cfsetospeed() and
cfsetispeed() functions in termios.cc.

Any attempt to set these non-standard speeds with the cfset[oi]speed()
functions will fail unlike on Linux where they will succeed.  The
higher speeds can only be achieved with the tcsetattr() function.

Can the change be applied to the cfset[oi]speed() functions as well
please.

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             amb@gedanken.demon.co.uk

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

