Re: Supporting a PS/2 Keyboard
- From: "tvle" <tvle@xxxxxxxxxxx>
- Date: 5 Dec 2006 15:30:08 -0800
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.
.
- Follow-Ups:
- Re: Supporting a PS/2 Keyboard
- From: Paul G. Tobey [eMVP]
- Re: Supporting a PS/2 Keyboard
- References:
- Supporting a PS/2 Keyboard
- From: tvle
- Re: Supporting a PS/2 Keyboard
- From: Paul G. Tobey [eMVP]
- Supporting a PS/2 Keyboard
- Prev by Date: Re: Problems with PB 4.0 running on Windows XP
- Next by Date: Re: How to get USB / Ethernet (NIC) working on MS Windows CE 5.0 ?
- Previous by thread: Re: Supporting a PS/2 Keyboard
- Next by thread: Re: Supporting a PS/2 Keyboard
- Index(es):
Relevant Pages
|