summaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/hil_kbd.c
diff options
context:
space:
mode:
authorPaul Fox <pgf@laptop.org>2009-08-05 00:30:31 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-08-05 00:34:32 -0700
commitc46dd1eb9a4f1b8c1bb597a75199e3d34fb7b43b (patch)
tree62f03ed65d4e6cc309535e6cafb20290cce3698e /drivers/input/keyboard/hil_kbd.c
parentcf5f439b48f82c230dcd81d0061e00664cbb6d39 (diff)
downloadblackbird-op-linux-c46dd1eb9a4f1b8c1bb597a75199e3d34fb7b43b.tar.gz
blackbird-op-linux-c46dd1eb9a4f1b8c1bb597a75199e3d34fb7b43b.zip
Input: hgpk - forced recalibration for the OLPC touchpad
The OLPC XO laptop incorporates a combination touchpad/tablet device which unfortunately requires frequent recalibration. The driver will force this automatically when various suspicious behaviors are observed, and the user can recalibrate manually (with a special keyboard sequence). There's currently no way, however, for an external program to cause recalibration. We can not use the reconnect capability which is already available in /sys because full reset of the touchpad takes 1.1 - 1.2 secons which is too long. This patch creates a new node in /sys which, when written with '1', will force a touchpad recalibration; no other writes (or reads) of this node are supported. Signed-off-by: Paul Fox <pgf@laptop.org> Acked-by: Andres Salomon <dilinger@collabora.co.uk> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/keyboard/hil_kbd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud