diff mbox series

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

Message ID 20190828064030.11300-2-aaron.ma@canonical.com
State New
Headers show
Series [1/1] UBUNTU: SAUCE: Input: elantech - enable middle button for one more ThinkPad | expand

Commit Message

Aaron Ma Aug. 28, 2019, 6:40 a.m. UTC
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@canonical.com>
---
 drivers/input/mouse/elantech.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Kleber Sacilotto de Souza Sept. 2, 2019, 4:41 p.m. UTC | #1
On 8/28/19 8:40 AM, Aaron Ma wrote:
> 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@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>


I have also fixed the nominations of the bug report.

> ---
>  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
>  };
>  
>
diff mbox series

Patch

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
 };