summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/alps.c
diff options
context:
space:
mode:
authorArjan Opmeer2009-04-19 04:10:17 +0200
committerDmitry Torokhov2009-04-19 04:11:59 +0200
commitb2546df69b6bef19513112fd54ffb5d37cb3eb7a (patch)
tree319491c104dde49d4b439f2f3beaf2d5eb0abd6a /drivers/input/mouse/alps.c
parentInput: elantech - provide a workaround for jumpy cursor on firmware 2.34 (diff)
downloadkernel-qcow2-linux-b2546df69b6bef19513112fd54ffb5d37cb3eb7a.tar.gz
kernel-qcow2-linux-b2546df69b6bef19513112fd54ffb5d37cb3eb7a.tar.xz
kernel-qcow2-linux-b2546df69b6bef19513112fd54ffb5d37cb3eb7a.zip
Input: elantech - make sure touchpad is really in absolute mode
There exist laptops with Elantech touchpads where switching to absolute mode does not happen, although writing the configuration register succeeds without error. Reading back the register afterwards reveils that the absolute mode bit is not set as if masked out by the touchpad firmware. Always read back register 0x10, make sure that for hardware version 1 the absolute mode bit is actually set and fail otherwise. This prevents the case where the touchpad is claimed by the Elantech driver but is nonetheless not working. Signed-off-by: Arjan Opmeer <arjan@opmeer.net> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse/alps.c')
0 files changed, 0 insertions, 0 deletions