]> git.neil.brown.name Git - history.git/commit
[PATCH] more keyboard stuff
authorAndries E. Brouwer <andries.brouwer@cwi.nl>
Sat, 6 Sep 2003 07:38:43 +0000 (00:38 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Sat, 6 Sep 2003 07:38:43 +0000 (00:38 -0700)
commit79b8787e3b3ee7d333e9b7eb7f49cfb92a9d0ffd
tree86c969814b798287cc102fd0508885a18fdccfe3
parentc1cbd4075110499f2b64555953b9827ae4a9d1ad
[PATCH] more keyboard stuff

I looked a bit more at the keyboard code and find a bug
and a probable bug.

(i) In case a synaptics touchpad has been detected, the comment says
    "disable AUX".  But we do not set the disable bit, but instead .and.
    with the bit - no doubt getting zero.  This must be a bug.

(ii) Directly above this is the suspicious comment "keyboard translation
     seems to be always off".  But every machine comes always up in
     translated scancode 2.  Translation is never off.  But wait! by
     mistake the above .and.  cleared the XLATE bit.

So, I think bug (i) explains mystery (ii).

However, note that this is code reading only.  I do not have the
hardware, so cannot test.
drivers/input/serio/i8042.c