delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <25e2d6fe0701110753k506a1d21l382cca911bca3bca@mail.gmail.com> |
Date: | Thu, 11 Jan 2007 16:53:39 +0100 |
From: | "Florent Morin" <morinflorent AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | cygwin 1.5.23-2 : CREAD termios option don't work |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
Hello, I actually develop a program in C for reading and writing data on serial port. It works fine on GNU/Linux. I now test it with cygwin (Windows XP). I begin to set the port options, then I read/write information and restore port settings. I can write on serial port but can't read. For testing, I have tried with a working program : stty. It works fine with all options, but not with CREAD. $ stty cread < /dev/ttyS0 stty: /dev/ttyS0: unable to perform all requested operations Can someone explain this ? I use cygwin 1.5.23-2 on Windows XP SP2. Thanks, Florent -- 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 |