diff options
author | Ben Sagal <bensagal@gmail.com> | 2014-11-16 17:23:40 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-12-06 15:55:37 -0800 |
commit | 65b6e8b7a85ddf5ebece042f346eaea2e53686cf (patch) | |
tree | 6eac62080bc6ecb8fc6e20b5dfb7e722a52e746f /drivers/input | |
parent | 9f285205f1e4e5a1c840bcf0f27bc9b91e95912a (diff) | |
download | lwn-65b6e8b7a85ddf5ebece042f346eaea2e53686cf.tar.gz lwn-65b6e8b7a85ddf5ebece042f346eaea2e53686cf.zip |
Input: synaptics - adjust min/max on Thinkpad E540
commit bce4f9e764c36bc35dd5c9cf9e057c09f422397d upstream.
The LEN2006 Synaptics touchpad (as found in Thinkpad E540) returns wrong
min max values.
touchpad-edge-detector output:
> Touchpad SynPS/2 Synaptics TouchPad on /dev/input/event6
> Move one finger around the touchpad to detect the actual edges
> Kernel says: x [1472..5674], y [1408..4684]
> Touchpad sends: x [1264..5675], y [1171..4688]
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=88211
Signed-off-by: Binyamin Sagal <bensagal@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/mouse/synaptics.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c index 1e76eb8f06c7..a3769cf84381 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c @@ -140,6 +140,10 @@ static const struct min_max_quirk min_max_pnpid_table[] = { (const char * const []){"LEN2001", NULL}, 1024, 5022, 2508, 4832 }, + { + (const char * const []){"LEN2006", NULL}, + 1264, 5675, 1171, 4688 + }, { } }; |