summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorUlrik De Bie <ulrik.debie-os@e2big.org>2015-04-07 01:35:38 +0300
committerBen Hutchings <ben@decadent.org.uk>2015-08-07 02:32:02 +0300
commita14933644ecedf73067b13ef10d73eb216d74858 (patch)
treee43a1336f2055e5ffaebe82aa4e8fafbd54b0a23 /Documentation
parentbf2011ac7616484ebd38d8970ba5c3d2d80eef5d (diff)
downloadlinux-a14933644ecedf73067b13ef10d73eb216d74858.tar.xz
Input: elantech - fix absolute mode setting on some ASUS laptops
commit bd884149aca61de269fd9bad83fe2a4232ffab21 upstream. On ASUS TP500LN and X750JN, the touchpad absolute mode is reset each time set_rate is done. In order to fix this, we will verify the firmware version, and if it matches the one in those laptops, the set_rate function is overloaded with a function elantech_set_rate_restore_reg_07 that performs the set_rate with the original function, followed by a restore of reg_07 (the register that sets the absolute mode on elantech v4 hardware). Also the ASUS TP500LN and X750JN firmware version, capabilities, and button constellation is added to elantech.c Reported-and-tested-by: George Moutsopoulos <gmoutso@yahoo.co.uk> Signed-off-by: Ulrik De Bie <ulrik.debie-os@e2big.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> [bwh: Backported to 3.2: - Adjust context - Drop the insertion into a comment we don't have] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions