Re: Non-standard serial port baud rates

2007-09-26 Thread Corinna Vinschen
On Sep 25 18:33, Andrew M. Bishop wrote:
 In the snapshot versions from mid-February there is indeed support for
 other non-standard speeds (like 100, 200, 300) 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.
 [...]
 Can the change be applied to the cfset[oi]speed() functions as well
 please.

Done.  Thanks for the heads-up.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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/



Non-standard serial port baud rates

2007-09-25 Thread Andrew M. Bishop
In a message to this list in February this year titled Lost support
for baud rate of 230400 after minor Cygwin upgrade Corinna wrote:

: 25 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 300 (7 digits), which includes 256000, but 25
: 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 100, 200, 300) 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 [EMAIL PROTECTED]

--
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/