public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Indra Antonius Simalango <indra@vlsi.itb.ac.id>
Cc: eCos Disuss <ecos-discuss@ecos.sourceware.org>
Subject: Re: [ECOS] a question about opening a serial port fax device as a file
Date: Wed, 20 Jul 2005 20:52:00 -0000	[thread overview]
Message-ID: <20050720205238.GJ29741@lunn.ch> (raw)
In-Reply-To: <Pine.LNX.4.33.0507210302040.8135-100000@ic.vlsi.itb.ac.id>

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

      parent reply	other threads:[~2005-07-20 20:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-20 12:16 Indra Antonius Simalango
2005-07-20 16:25 ` Andrew Lunn
     [not found]   ` <Pine.LNX.4.33.0507210012050.7169-100000@ic.vlsi.itb.ac.id>
2005-07-20 18:15     ` Andrew Lunn
     [not found]       ` <Pine.LNX.4.33.0507210302040.8135-100000@ic.vlsi.itb.ac.id>
2005-07-20 20:52         ` Andrew Lunn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050720205238.GJ29741@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=indra@vlsi.itb.ac.id \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).