[PATCH 1/1] Input: elantech - enable middle button support on 2 ThinkPads

Aaron Ma aaron.ma at canonical.com
Fri Jun 21 01:51:08 UTC 2019


BugLink: https://bugs.launchpad.net/bugs/1833637

Adding 2 new touchpad PNPIDs to enable middle button support.

Signed-off-by: Aaron Ma <aaron.ma at canonical.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov at gmail.com>
(cherry picked from commit aa440de3058a3ef530851f9ef373fbb5f694dbc3)
Signed-off-by: Aaron Ma <aaron.ma at canonical.com>
---
 drivers/input/mouse/elantech.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
index 84c69e962230..43f02cdb1660 100644
--- a/drivers/input/mouse/elantech.c
+++ b/drivers/input/mouse/elantech.c
@@ -1182,6 +1182,8 @@ static const char * const middle_button_pnp_ids[] = {
 	"LEN2132", /* ThinkPad P52 */
 	"LEN2133", /* ThinkPad P72 w/ NFC */
 	"LEN2134", /* ThinkPad P72 */
+	"LEN0407",
+	"LEN0408",
 	NULL
 };
 
-- 
2.17.1




More information about the kernel-team mailing list