Re: Input issues - key down with no key up
From: Vojtech Pavlik
Date: Thu Aug 21 2003 - 07:28:13 EST
On Thu, Aug 21, 2003 at 01:11:53PM +0100, John Bradford wrote:
> > Note the translation is done outside the keyboard -- the onboard 8042
> > controller is responsible for it.
> How do we currently handle devices connected via bit-banging on the
> parallel port,(as we have no onboard 8042 in that case)?
You write a 'serio' driver for those keyboards - a driver which will do
the bit-banging on the parallel port and send bytes from and to the
device. See the parkbd.c module for that.
The keyboard/mouse driver always sees the bytes that are on the wire,
regardless whether there is an 8042 inbetween - in that case the 8042
driver tries to undo the damage caused by translation.
This way we can have a single atkbd.c driver for any at-style keyboard
attached over whatever interface is in the machine.
SuSE Labs, SuSE CR
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/