]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Input: atkbd - add a quirk for OQO 01+ multimedia keys
authorJamie Lentin <jamie@lentin.co.uk>
Tue, 20 Oct 2009 21:36:49 +0000 (14:36 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 22 Oct 2009 06:48:39 +0000 (23:48 -0700)
commite57130698fe3dd2b7d617d90bbf86474473cb40c
tree3cee0a8bf630f7f117b06b872bfd5e4876eb6486
parent3776989d2339c58ff8d8421e754603f186d7439b
Input: atkbd - add a quirk for OQO 01+ multimedia keys

OQO 01+ multimedia keys produce 6x on press, e0 6x upon release.
As a result, Linux thinks that another key has been pressed (or is
repeating), when it is actually a release of the same key. Mangle the
release scancode when running on OQO so that driver recognizes it as
such.

Since the device does not have external PS/2 ports mangling is safe
since there is no chance that an external keyboard is connected.

Signed-off-by: Jamie Lentin <jm@lentin.co.uk>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/atkbd.c