Re: [PATCH] Input: Add support for newer elantech touchpads

From: Dmitry Torokhov
Date: Fri Apr 25 2014 - 02:39:37 EST


On Tue, Apr 22, 2014 at 01:40:51PM -0500, Jordan Rife wrote:
> From: Jordan Rife <jrife0@xxxxxxxxx>
>
> Newer elantech touchpads are not recognized by the current driver, since it
> fails to detect their firmware version number. This prevents more advanced
> touchpad features from being usable such as two-finger scrolling. This
> patch allows newer touchpads to be detected and be fully functional. Tested
> on Sony Vaio SVF13N17PXB.
>
> Signed-off-by: Jordan Rife <jrife0@xxxxxxxxx>

Applied, thank you.

> ---
> diff -pruN linux-master.orig/drivers/input/mouse/elantech.c
> linux-master.modified/drivers/input/mouse/elantech.c
> --- linux-master.orig/drivers/input/mouse/elantech.c 2014-04-22
> 12:57:57.597186781 -0500
> +++ linux-master.modified/drivers/input/mouse/elantech.c 2014-04-22
> 12:59:57.257191243 -0500
> @@ -1353,6 +1353,7 @@ static int elantech_set_properties(struc
> case 6:
> case 7:
> case 8:
> + case 9:
> etd->hw_version = 4;
> break;
> default:

--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/