From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13929 invoked by alias); 3 May 2007 06:45:11 -0000 Received: (qmail 13921 invoked by uid 22791); 3 May 2007 06:45:10 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 03 May 2007 06:45:07 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1HjV3o-0007Nm-00; Thu, 03 May 2007 08:45:04 +0200 Date: Thu, 03 May 2007 06:45:00 -0000 To: "Venkateswara Rao L." Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20070503064504.GB5773@lunn.ch> Mail-Followup-To: "Venkateswara Rao L." , ecos-discuss@ecos.sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) From: Andrew Lunn X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] ttydiag read and write to console X-SW-Source: 2007-05/txt/msg00017.txt.bz2 On Thu, May 03, 2007 at 10:04:17AM +0530, Venkateswara Rao L. wrote: > Hi some one please respond. > cyg_io_write() is working fine but cyg_io_read() is blocking, as > per the reference manual cyg_io_read() echoes but here it is not > echoing. ttydiag is a very simple, polled io driver. It is not really designed for interactive input use. Use the interrupt driver serial device driver for your platform. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss