This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setting baud for USB serial adaptors


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]