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://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
X-Authentication-Warning: | thing1-200.fsi.com: ford owned process doing -bs |
Date: | Mon, 9 Feb 2004 14:32:14 -0600 (CST) |
From: | Brian Ford <ford AT vss DOT fsi DOT com> |
X-X-Sender: | ford AT thing1-200 |
Reply-To: | cygwin AT cygwin DOT com |
To: | Arik BenDov <arikbd AT hotmail DOT com> |
cc: | cygwin AT cygwin DOT com |
Subject: | Re: Problem with serial port init |
In-Reply-To: | <loom.20040209T105919-70@post.gmane.org> |
Message-ID: | <Pine.GSO.4.58.0402091428010.25734@thing1-200> |
References: | <loom DOT 20040209T105919-70 AT post DOT gmane DOT org> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
On Mon, 9 Feb 2004, Arik BenDov wrote: > Hi, > > I have a strang proglem any help will be appriciated > > I have s program sending data VIA serial port between 2 machines. The program > works fine when both are Linux. > I use cygwin to port the program to windows (I run the program under Dos shell > not Cygwin) and I have problem with the port setup part, the program cannot > set the serial port parameters (speed, data bits etc). > > When I disable the port setup part and use mode to set the port parameters the > program works fine. > > Does any one has code example (in C, C++) that does the work? I'm using > termios tcsetattr. > WFM. Please see: > Problem reports: http://cygwin.com/problems.html > for how to submit a more well formed report. Please pay special attention to the part that requests uncompressed cygcheck output as an attachment. Also, please give more details about the specific values passed to tcsetattr and its return code. Thanks. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International Phone: 314-551-8460 Fax: 314-551-8444 -- 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 |