X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com Subject: Non-standard serial port baud rates From: amb AT gedanken DOT demon DOT co DOT uk (Andrew M. Bishop) Date: 25 Sep 2007 18:33:13 +0100 Message-ID: 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 AT gedanken DOT demon DOT co DOT 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/