Re: Emulating a PC keyboard



On Fri, 27 May 2005 15:44:04 +0000, Iain Wilkie wrote:

> I have a micro that is emulating an AT keyboard by sending scan codes and
> simply plugs onto the keyboard port of a PC. This works fine, but if I plug
> it
> into a laptop PS2 port it does not work UNLESS I put an AT keyboard in
> parallel
> with the data and clock lines. I have scoped the lines and all looks ok and
> after investigation
> it would appear that when there is no key activity, there is activity on the
> clock and data line every
> second or so which I can only imagine is the laptop asking something from
> the keyboard and if
> it doesn't get a reply then it shuts down.
>
> Anyone any idea what this message may be.

I'd try to get a snapshot of the message with and without and AT
keycoard plugged in. When they're plugged in, you can't tell which
way the data is going, because it's just open-collector. Maybe
just use a couple of pullup resistors, with no keyboard, and see
what the laptop sending, then when you plug in the keyboard, see
if it's a sort of query/ack - you can spot this if the message is
longer than without the keyboard - and if so, then in your device,
just respond to the query with the same singal as the ack that you
saw.

Hope This Helps!
Rich


.



Relevant Pages

  • Re: iPaq 4155 and Fellowes Stowaway Keyboard
    ... > I purchased a Fellowes Stowaway Keyboard for my new iPaq 4155. ... The iPaq charger cord comes with an extra adapter. ... > You unplug the flat, wide connector and then plug the round adapter ...
    (microsoft.public.pocketpc)
  • Re: SFDR Aquisition/Questions
    ... I just aquired a silverface Deluxe Reverb. ... I wasn't using the keyboard amp, ... >2) The ground pin on the power plug is gone. ... I'd just cut off the existing plug, and figure out which color wire ...
    (alt.guitar.amps)
  • Re: Heads Up
    ... This one seems to involve hardware -- some of the time my keyboard ... then turn it back on and reboot and it works for awhile. ... the USB ports I plug into, well, you know the script. ... demons, and I thank the Lord that we have angels to seek ...
    (soc.retirement)
  • Re: Microsoft Keyboard Causes Bootup to hang
    ... they provide earth conduction to the motherboard. ... Have you tried the keyboard on another PC yet? ... When you plug in the keyboard, plug the keyboard directly into the PS/2 slot ... & plug the USB mouse connector into the PS/2 style adapter into the ...
    (microsoft.public.windowsxp.help_and_support)
  • SFDR Aquisition/Questions
    ... I wasn't using the keyboard amp, ... The ground pin on the power plug is gone. ... white and black wires. ...
    (alt.guitar.amps)