This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to use keyboard?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]