lkml.org 
[lkml]   [2013]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH] drivers/input/mouse: add support for newer elantech touchpads (released ca. August 2013);
From
From: Matt Walker <matt.g.d.walker@gmail.com>

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@gmail.com> 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@hauke-m.de> 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
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2013-12-03 19:01    [W:0.032 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site