[PATCH] Input: elantech - enable middle button of touchpad on ThinkPad P72

Subsystems: input (keyboard, mouse, joystick, touchscreen) drivers, the rest

STALE2888d

2 messages, 2 authors, 2018-09-18 · open the first message on its own page

[PATCH] Input: elantech - enable middle button of touchpad on ThinkPad P72

From: Aaron Ma <hidden>
Date: 2018-09-07 07:07:41

Adding 2 new touchpad IDs to support middle button support.

Cc: stable@vger.kernel.org
Signed-off-by: Aaron Ma <redacted>
---
 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 44f57cf6675b..2d95e8d93cc7 100644
--- a/drivers/input/mouse/elantech.c
+++ b/drivers/input/mouse/elantech.c
@@ -1178,6 +1178,8 @@ static const struct dmi_system_id elantech_dmi_has_middle_button[] = {
 static const char * const middle_button_pnp_ids[] = {
 	"LEN2131", /* ThinkPad P52 w/ NFC */
 	"LEN2132", /* ThinkPad P52 */
+	"LEN2133", /* ThinkPad P72 w/ NFC */
+	"LEN2134", /* ThinkPad P72 */
 	NULL
 };
 
-- 
2.17.1

Re: [PATCH] Input: elantech - enable middle button of touchpad on ThinkPad P72

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2018-09-18 16:32:48

On Fri, Sep 07, 2018 at 03:06:51PM +0800, Aaron Ma wrote:
Adding 2 new touchpad IDs to support middle button support.

Cc: stable@vger.kernel.org
Signed-off-by: Aaron Ma <redacted>
Applied, thank you.
quoted hunk
---
 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 44f57cf6675b..2d95e8d93cc7 100644
--- a/drivers/input/mouse/elantech.c
+++ b/drivers/input/mouse/elantech.c
@@ -1178,6 +1178,8 @@ static const struct dmi_system_id elantech_dmi_has_middle_button[] = {
 static const char * const middle_button_pnp_ids[] = {
 	"LEN2131", /* ThinkPad P52 w/ NFC */
 	"LEN2132", /* ThinkPad P52 */
+	"LEN2133", /* ThinkPad P72 w/ NFC */
+	"LEN2134", /* ThinkPad P72 */
 	NULL
 };
 
-- 
2.17.1
-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help