| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| To: | cygwin AT cygwin DOT com |
| From: | tns1 <tns1 AT cox DOT net> |
| Subject: | Re: setting baud for USB serial adaptors |
| Date: | Sun, 23 Oct 2005 09:31:36 -0700 |
| Lines: | 14 |
| Message-ID: | <djgdsj$hr2$1@sea.gmane.org> |
| References: | <djeqdi$tdj$1 AT sea DOT gmane DOT org> |
| Mime-Version: | 1.0 |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) |
| In-Reply-To: | <djeqdi$tdj$1@sea.gmane.org> |
| X-IsSubscribed: | yes |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |