Re: Supporting a PS/2 Keyboard



Thanks for the reply.

We have a legacy UI device that we are trying to replace with a new
Intel PXA270 based board and Windows CE 5.0. The legacy device allowed
the user to plug in a PS/2 keyboard if they wanted to use it on some
screens that required alot of input. The UI device had no real
intelligence to it and basically sent info back to a host computer via
an RS232 serial link using a proprietary serial protocol.

The host computer received the message containing the key codes and
reacted accordingly (by sending subsequent data back to the UI device.

The replacement device with CE does not have an 8042 in the hardware
and the thought was that the PS/2 connector would be wired to the CPU
I/O pins and software would handle interfacing to the keyboard.

Is this possible? How does the USB driver for a USB keyboard work in
CE? Does it layer itself so that it eventually reuses the keybd driver
or associated dll's?

Or will the hardware need to be redesigned to have the 8042 controller
or have a PS2 to USB converter plug?

Thanks for any and all comments and suggestions here.
Paul G. Tobey [eMVP] wrote:
Anything is possible, but it seems like there would be a lot of little
gotchas that you'd have to implement in software running on the main
processor. You could just put an 8042 in there; there's a driver for it in
Platform Builder.

I don't understand what passing the codes from your device to the serial
port has to do with how the keyboard codes are arriving. Am I missing
something? Are you saying that you need something at a different level than
what an application running on the device to which the keyboard was
connected would get?

Paul T.

"tvle" <tvle@xxxxxxxxxxx> wrote in message
news:1165357189.374073.223080@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi everyone,

Is it possible to have a PS/2 keyboard connector interfaced directly to
the Intel PXA270 (via GPIO pins) and leverage the existing KeyBD driver
to get scan codes from the keyboard? Obviously there's not an 8042
keyboard controller in the chain so I don't know if its possible to do
this. We have an application which basically is supposed to grab the
raw codes from the keyboard and passes them over a serial connection to
another application.

I'd appreciate any comments or suggestions any of you may have on this.

Thanks.


.



Relevant Pages

  • RE: SendKeys.Send Problem
    ... I've read your following comments and wrote some codes. ... I am not familiar with the german keyboard, so it is hard for me say the ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.windowsforms)
  • RE: SendKeys.Send Problem
    ... I've read your following comments and wrote some codes. ... I am not familiar with the german keyboard, so it is hard for me say the ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Keyboard wonkiness...
    ... read the codes fine, but it seems the codes for non-alphabetic keys ... won't be able to play your game. ... all by your lonesome and write your own custom keyboard driver (which ... If you read anything below the level of "characters" or ncurses/pdcurses ...
    (rec.games.roguelike.development)
  • Re: F lock key!
    ... Need help with your Microsoft Hardware product? ... > "The keyboard sends different scan codes depending on the ... > demonstrable by picking up the keyboard, walking a distance away from the ... and pressing the F Lock key. ...
    (microsoft.public.windowsxp.hardware)
  • Re: DEC Keyboard Question
    ... > then they need to know how to turn the extendd PS2 codes into the right USB ... the only way to switch sessions is by using the keyboard. ... It claims to do keyboard emulation. ...
    (comp.sys.dec)