* Re: [PATCHv2] drivers/input/mouse: add support for newer elantech touchpads (released ca. August 2013);
@ 2013-12-04 17:57 Matt Walker
2013-12-05 20:41 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Matt Walker @ 2013-12-04 17:57 UTC (permalink / raw)
To: Dmitry Torokhov
Cc: backports-u79uwXL29TY76Z2rM5mHXA,
linux-input-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 947 bytes --]
From: Matt Walker <matt.g.d.walker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 #2: patch --]
[-- Type: application/octet-stream, Size: 332 bytes --]
--- 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:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCHv2] drivers/input/mouse: add support for newer elantech touchpads (released ca. August 2013);
2013-12-04 17:57 [PATCHv2] drivers/input/mouse: add support for newer elantech touchpads (released ca. August 2013); Matt Walker
@ 2013-12-05 20:41 ` Dmitry Torokhov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2013-12-05 20:41 UTC (permalink / raw)
To: Matt Walker; +Cc: backports, linux-input, linux-kernel
On Wed, Dec 04, 2013 at 12:57:15PM -0500, Matt Walker wrote:
> 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
>
> Signed-off by: Matt Walker <matt.g.d.walker@gmail.com> on an Acer
> Aspire S7-392-6302
Applied, thank you.
>
> ----
>
> 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:
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-05 20:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-04 17:57 [PATCHv2] drivers/input/mouse: add support for newer elantech touchpads (released ca. August 2013); Matt Walker
2013-12-05 20:41 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).