mpc5xxx keyboard BUG found

Jarno Manninen jarno.manninen at tut.fi
Mon Mar 20 19:44:29 EST 2006


Lainaus IGOR LURI <iluri at fagorautomation.es>:

> The problem is that from aplication can't handle 0xe0 scancode 
> because mpc5xxx_translate function translates the scancode to a 
> keycode, and to the aplication arrives for example 0x0a1b5b41 (up 
> arrow) and inmediatly another 0x0a. For this efect I think 
> mpc5xxx_translate function needs to evaluate 0xe0 scancode correctly.

Hi!

I propably should have read your mail with more attention.

I'm not sure about keyboard handling on 2.6, but on 2.4 I just used 
translation function from pckeyb.c and it worked just fine.

- Jarno

> -----Mensaje original-----
> De: Jarno Manninen [mailto:jarno.manninen at tut.fi]
> Enviado el: viernes, 17 de marzo de 2006 19:50
> Para: linuxppc-embedded at ozlabs.org
> CC: IGOR LURI
> Asunto: Re: mpc5xxx keyboard BUG found
>
>
> On Friday 17 March 2006 13:38, Igor Luri wrote:
>
>> We have an MPC5200LiteB board with a Microsoft USB keyboard atached and
>> we have realized that some keys don't work properly, like up, down, lef
>> and right arrows, PageUp, PageDown etc.
>
> Hi!
>
> Actually that Microsoft keyboard is working fine. A rare exception. ,-)
> For more information see chapter 1.3 from here:
>
> http://www.win.tue.nl/~aeb/linux/kbd/scancodes.html
>
> So basically you will have to handle those in the application level code.
>
> - Jarno
>






More information about the Linuxppc-embedded mailing list