RTEMS 4.5.0 and standard PC keyboard

Motiwala, Yusuf Ibrahim (Yusuf) motiwala at lucent.com
Sat Sep 1 07:57:15 UTC 2001


Right, It worked after configuring clock driver. Thanks for precise input. 

However, I am not sure why RTEMS developer decided to go with this approach.
I feel blocking mechanism (may be using semaphores) could have been more
efficient and cleaner than polling.

Regars,
Yusuf


-----Original Message-----
From: Joel Sherrill [mailto:joel.sherrill at oarcorp.com]
Sent: Tuesday, August 28, 2001 11:41 PM
To: Motiwala, Yusuf Ibrahim (Yusuf)
Cc: 'rtems-users at oarcorp.com'
Subject: Re: RTEMS 4.5.0 and standard PC keyboard




"Motiwala, Yusuf Ibrahim (Yusuf)" wrote:
> 
> Hi,
> 
> I started trying out RTEMS 4.5.0 on standard PC. Everyhing
> went fine and I was able to run samples, picoTK etc without
> any problem. However, I am not able to get the keyboard working.
> 
> The keyboard is normal PC 101/102 keys with 8042 compatible
> controller so I assumed there should not be any problem.
> While tracing, I made sure that RTEMS keyboard ISR is
> getting executed. Can anybody help me getting keyboard working.

My guess is that you based your test on hello, don't have
a clock tick driver configured, and the keyboard driver polls
using a clock tick to control itself.  See ticker for how
to configure a clock tick. 

And BTW are you part of the group that ported RTEMS to a
Lucent DSP?  All my contacts disappeared (one was an co-op)
and I would like to see that effort included in the standard 
distribution.  I can provide names if that helps.

> The simple program just uses
> 
>         {
>         printf("Enter String: ");
>         gets(someString);       /* or fgets with bound*/
>         printf("Sting is %s\n", someString);
>         }
> 
> Regards,
> Yusuf

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985



More information about the users mailing list