[ECOS] how to use keyboard?

Jonathan Larmour jlarmour@redhat.com
Fri Nov 30 17:53:00 GMT 2001


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



More information about the Ecos-discuss mailing list