X-Spam-Check-By: sourceware.org Date: Fri, 12 Jan 2007 13:45:09 -0600 From: Brian Ford Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: cygwin 1.5.23-2 : CREAD termios option don't work In-Reply-To: <20070112102814.GB8311@calimero.vinschen.de> Message-ID: References: <25e2d6fe0701110753k506a1d21l382cca911bca3bca AT mail DOT gmail DOT com> <20070112102814 DOT GB8311 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes 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 Fri, 12 Jan 2007, Corinna Vinschen wrote: > On Jan 11 16:53, Florent Morin wrote: > > 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. This is not a regression from 1.5.18, which I know worked fine with serial I/O. I will try to test 1.5.23 when I get a chance, but I have no reason to suspect it is broken. CREAD appears to always be enabled but not indicated by tcgetattr or controllable via tcsetattr right now. So, the test case above is not indicative of the original problem. To the OP, posting your code might be informative. -- Brian Ford Lead Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained crew... -- 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/