LEN2006 Synaptics touchpad min max fix
From: Ben Sagal <hidden>
Date: 2014-11-15 21:09:44
RE bug: https://bugzilla.kernel.org/show_bug.cgi?id=88211 The LEN2006 Synaptics touchpad (as found in my 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]
the patch is against 3.17.2 Signed-off-by: Binyamin Sagal <redacted> --- diff -uNr linux.org/drivers/input/mouse/synaptics.c linux/drivers/input/mouse/synaptics.c
--- linux.org/drivers/input/mouse/synaptics.c 2014-11-1412:18:39.000000000 +0200
+++ linux/drivers/input/mouse/synaptics.c 2014-11-14 08:25:05.963395004 +0200@@ -143,6 +143,10 @@ (const char * const []){"LEN2001", NULL}, 1024, 5022, 2508, 4832 }, + { + (const char * const []){"LEN2006", NULL}, + 1264, 5675, 1171, 4688 + }, { } };