[PATCH 1/1] UBUNTU: SAUCE: Input: elantech - enable middle button for one more ThinkPad

Aaron Ma aaron.ma at canonical.com
Wed Aug 28 06:40:30 UTC 2019


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

Since new elantech driver in kernel v5.3 had enable middle button support
based on firmware version, but lots of patches related.

Add pnpid to enable middle button support on v5.2- kernel.

Signed-off-by: Aaron Ma <aaron.ma at canonical.com>
---
 drivers/input/mouse/elantech.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
index 530142b5a115..2c6dedabc3cf 100644
--- a/drivers/input/mouse/elantech.c
+++ b/drivers/input/mouse/elantech.c
@@ -1191,6 +1191,7 @@ static const char * const middle_button_pnp_ids[] = {
 	"LEN2134", /* ThinkPad P72 */
 	"LEN0407",
 	"LEN0408",
+	"LEN040a",
 	NULL
 };
 
-- 
2.17.1




More information about the kernel-team mailing list