From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27246 invoked by alias); 20 Jul 2005 20:52:55 -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 27206 invoked by uid 22791); 20 Jul 2005 20:52:51 -0000 Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 20 Jul 2005 20:52:51 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1DvLYU-0005i1-00; Wed, 20 Jul 2005 22:52:38 +0200 Date: Wed, 20 Jul 2005 20:52:00 -0000 To: Indra Antonius Simalango Cc: eCos Disuss Message-ID: <20050720205238.GJ29741@lunn.ch> Mail-Followup-To: Indra Antonius Simalango , eCos Disuss References: <20050720181515.GG29741@lunn.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i From: Andrew Lunn Subject: Re: [ECOS] a question about opening a serial port fax device as a file X-SW-Source: 2005-07/txt/msg00208.txt.bz2 On Thu, Jul 21, 2005 at 03:08:19AM +0700, Indra Antonius Simalango wrote: > Thank you, Mr Lunn. > > Here is my file eCos.ecc : > -------------------------------------------------------------------------------- > cdl_component CYGPKG_IO_SERIAL_DEVICES { > display "Hardware serial device drivers" > Flavor : bool > Default value : 0 > description "This option enables the hardware device drivers > for the current platform" > > # Flavor: bool > # No user value, uncomment the following line to provide one. > # user_value 0 > # value_source default > # Default value: 0 > > # The following properties are affected by this value > # option CYGPKG_IO_SERIAL_TESTS > # Calculated: CYGPKG_IO_SERIAL_DEVICES ? "tests/serial1 > tests/serial2 tests/serial3 tests/serial4 tests/serial5 tests/tty1 > tests/tty2 tests/flow1 tests/flow2" : "" > -------------------------------------------------------------------------------- > > After changing this file eCos.ecc. , should I make any 'update' to my > package? Or I could only just "save as" the file after changing? http://ecos.sourceware.org/docs-latest/user-guide/manual-configuration.html > > I've also define FAXDEV = "/dev/serial1" , as mentioned in the last > sentences. But I still encountered the same error message : > > 50:44 Error : can't open serial port /dev/serial1 : No such entity > > Pardon me, did I make any mistake (again) here? Possibly. Look at the ecos.ecc file and find out the name of the serial devices for your target. Maybe its called /dev/ser1 not /dev/serial1. 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