Re: Capturing all keys on more-than-102-keys keyboards

From: Maciej W. Rozycki (macro@ds2.pg.gda.pl)
Date: Fri Feb 11 2000 - 11:44:05 EST


On Fri, 11 Feb 2000, Helge Hafting wrote:

> All "normal" keys are sent in the standard way. The extra ones are sent
> by
> first sending a zero, and then a keycode for some "normal" key.
> Releasing
> the key or autorepeating use the same zero prefix.
>
> The current keyboard driver toss zeroes in the interrrupt routine,
> because
> they don't conform to protocol. So I get ordinary letters and numbers
> from my extra keys. And that is what showkey shows too. Using the
> printk()
> method showed the zeroes. I was going to modify the driver, and checked
> if someone else worked on it. Vojtech Pavlik turned out to be rewriting
> that already, and incorporated support for zero-prefixing. So all I
> need
> now is to write the conversion table, when his patch gets accepted.

 Note that zeroes are an internal buffer overrun message from the 8048 (or
whatever) that is present in the keyboard (not to be confused with the
8042 or equivalent that is normally present on the motherboard). So it's
a good idea to ignore them (logging them as errors would probably be an
overkill).

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:21 EST