setting baud for USB serial adaptors

tns1 tns1@cox.net
Sun Oct 23 16:34:00 GMT 2005


tns1 wrote:
> WinXP SP2, cygwin 5.19 snapshot
> 
> Once I grabbed the latest cygwin snapshot and made sure I had the 
> coreutils 5.9xxx, I could finally use stty to set the baud of my 
> built-in COM port, but it does not work for my USB serial adaptors. Any 
> ideas?
> 
> 
After more reading, I see that the newer functions cfsetispeed(), 
cfsetospeed() do work for setting the baud on my USB serial adaptors. 
Masking c_cflag directly (old style) works for standard built-in COM 
ports. It looks as if stty can only set/report the baud in c_cflag.



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



More information about the Cygwin mailing list