From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8640 invoked by alias); 6 Jul 2005 08:41:56 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 8622 invoked by uid 22791); 6 Jul 2005 08:41:49 -0000 Received: from v-mail.vsnl.com (HELO vmail.vsnl.com) (203.200.237.34) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 06 Jul 2005 08:41:49 +0000 Received: from [10.50.34.13] ([172.16.29.33]) by vmail.vsnl.com (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0IJ7008K86T68Z@vmail.vsnl.com> for ecos-discuss@sources.redhat.com; Wed, 06 Jul 2005 14:11:31 +0530 (IST) Date: Wed, 06 Jul 2005 08:41:00 -0000 From: Annamalai Prakash To: ecos-discuss@sources.redhat.com Message-id: <200507061412.33468.aprakash@tataelxsi.co.in> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: KMail/1.7 Subject: [ECOS] Serial Port , Raw Mode using cyg_io_read X-SW-Source: 2005-07/txt/msg00058.txt.bz2 Hi List, I am working on ARM920T (Integrator) and ecos. I have configured my kernel with posix and Serial device drivers. following options are enabled in my config file. CYGOPT_IO_SERIAL_SUPPORT_NONBLOCKING CYGPKG_IO_SERAIL_TTY CYGPKG_IO_SERIAL_TTY_TTY1 CYGPKG_IO_SERIAL_DEVICES CYGPKG_IO_SERIAL_ARM_INTEGRATOR_SERIAL1 I want to configure my serial port in RAW mode. i think ecos supports two serial port drivers (raw and tty driver). Is there any explicit option to specify for RAW drivers. I tried to disable (CYGPKG_IO_SERAIL_TTY_TTY1) option, i wasnot able to read/write anything from serial port even opened successfully. I tried to use OPEN call also. i got compilation error due to unresolved symbols `O_NDELAY' ,`B115200' ,`CLOCAL' ,`CREAD' . i have decleared terminos.h .. Any lights to move furthur.. Thanks Prakash -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss