X-Spam-Check-By: sourceware.org Date: Fri, 12 Jan 2007 11:28:14 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cygwin 1.5.23-2 : CREAD termios option don't work Message-ID: <20070112102814.GB8311@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <25e2d6fe0701110753k506a1d21l382cca911bca3bca AT mail DOT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25e2d6fe0701110753k506a1d21l382cca911bca3bca@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Jan 11 16:53, Florent Morin wrote: > 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 ? Please consider to debug this yourself. Cygwin has no volunteer which is fluent with serial I/O right now. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/