This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: how to use keyboard?
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: li hui <lhbyron at yahoo dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Sat, 01 Dec 2001 01:53:08 +0000
- Subject: Re: [ECOS] how to use keyboard?
- References: <20011128031239.42249.qmail@web14704.mail.yahoo.com>
li hui wrote:
>
> I am working on i386 target.As I know it can use kbd,
> how to enactive it? I had tried to enactive it by
> setting CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL
> user_value as 2 in ecc file.
> How can I let my program receive kbd input and output
> to target screen?
The console channel may also be inherited from RedBoot. And you probably
are loading and running your program via serial or ethernet, in which case
one of those channels would become the console channel that your
application would inherit. So try disabling
CYGSEM_HAL_VIRTUAL_VECTOR_INHERIT_CONSOLE
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine