[PATCH] drivers/input/mouse: add support for newer elantech touchpads (released ca. August 2013);

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Tested-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.
Please let me know if additional modifications are required.

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:


On Fri, Nov 29, 2013 at 4:26 PM, Hauke Mehrtens <hauke@xxxxxxxxxx> wrote:
> On 11/29/2013 01:00 AM, Matt Walker wrote:
>> Hello,
>>
>> Attached is a patch for drivers/input/mouse/elantech.c.  It allows
>> recent Elantech touchpads to be detected.  I have tested it on the
>> touchpad that comes with the Acer Aspire S7-392 (released ~August
>> 2013)
>>
>> I figure it could be backported with little effort and no danger,
>> since all it does it add one to the number of values that were
>> previously recognized as valid "firmware version numbers".
>>
>> Begin Patch:
>> 1315a1316
>>>         case 8:
>> End Patch
>>
>> Best,
>> Matt
>>
> This is not a patch, I do not know what you want to do.
>
> This is the documentation for hacking on backprts:
> https://backports.wiki.kernel.org/index.php/Documentation/backports/hacking
>
> This is the guideline for patch submission to the linux kernel which
> mostly also applies for backports:
> https://www.kernel.org/doc/Documentation/SubmittingPatches
>
> Hauke

Attachment: patch
Description: Binary data


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux