Re: [PATCHv2] drivers/input/mouse: add support for newer elantechtouchpads (released ca. August 2013);

From: Matt Walker
Date: Wed Dec 04 2013 - 12:57:27 EST


From: Matt Walker <matt.g.d.walker@xxxxxxxxx>

Added detection for newer Elantech touchpads, so that kernel doesn't
fall-back to default PS/2 driver. Supports touchpads released after
~August 2013. Fixes bug:
https://lists.launchpad.net/kernel-packages/msg18481.html

Signed-off by: Matt Walker <matt.g.d.walker@xxxxxxxxx> on an Acer
Aspire S7-392-6302

----

Thanks to Hauke for the reference on how to submit a patch properly.
Thanks to Dmitry for correction to Signed-off line.

Diff Output:

--- linux-3.13-rc1/drivers/input/
mouse/elantech.c.orig 2013-12-03
12:14:52.829173656 -0500
+++ linux-3.13-rc1/drivers/input/mouse/elantech.c 2013-12-03
12:15:11.833173880 -0500
@@ -1313,6 +1313,7 @@ static int elantech_set_properties(struc
break;
case 6:
case 7:
+ case 8:
etd->hw_version = 4;
break;
default:

Attachment: patch
Description: Binary data