linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Input: i8042 - add Gigabyte P57 to the keyboard reset table
@ 2017-07-12  3:39 Kai-Heng Feng
  2017-08-17  9:56 ` Kai-Heng Feng
  2017-09-15 16:55 ` Dmitry Torokhov
  0 siblings, 2 replies; 3+ messages in thread
From: Kai-Heng Feng @ 2017-07-12  3:39 UTC (permalink / raw)
  To: dmitry.torokhov; +Cc: linux-input, linux-kernel, Kai-Heng Feng

Similar to other Gigabyte laptops, the touchpad on P57 requires a
keyboard reset to detect Elantech touchpad correctly.

BugLink: https://bugs.launchpad.net/bugs/1594214
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
---
 drivers/input/serio/i8042-x86ia64io.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
index 09720d950686..1c6a49b5b93d 100644
--- a/drivers/input/serio/i8042-x86ia64io.h
+++ b/drivers/input/serio/i8042-x86ia64io.h
@@ -833,6 +833,13 @@ static const struct dmi_system_id __initconst i8042_dmi_kbdreset_table[] = {
 		},
 	},
 	{
+		/* Gigabyte P57 - Elantech touchpad */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "P57"),
+		},
+	},
+	{
 		/* Schenker XMG C504 - Elantech touchpad */
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "XMG"),
-- 
2.13.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Input: i8042 - add Gigabyte P57 to the keyboard reset table
  2017-07-12  3:39 [PATCH] Input: i8042 - add Gigabyte P57 to the keyboard reset table Kai-Heng Feng
@ 2017-08-17  9:56 ` Kai-Heng Feng
  2017-09-15 16:55 ` Dmitry Torokhov
  1 sibling, 0 replies; 3+ messages in thread
From: Kai-Heng Feng @ 2017-08-17  9:56 UTC (permalink / raw)
  To: dmitry.torokhov; +Cc: linux-input, LKML, Kai-Heng Feng

On Wed, Jul 12, 2017 at 11:39 AM, Kai-Heng Feng
<kai.heng.feng@canonical.com> wrote:
> Similar to other Gigabyte laptops, the touchpad on P57 requires a
> keyboard reset to detect Elantech touchpad correctly.
>
> BugLink: https://bugs.launchpad.net/bugs/1594214
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
> ---
>  drivers/input/serio/i8042-x86ia64io.h | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
> index 09720d950686..1c6a49b5b93d 100644
> --- a/drivers/input/serio/i8042-x86ia64io.h
> +++ b/drivers/input/serio/i8042-x86ia64io.h
> @@ -833,6 +833,13 @@ static const struct dmi_system_id __initconst i8042_dmi_kbdreset_table[] = {
>                 },
>         },
>         {
> +               /* Gigabyte P57 - Elantech touchpad */
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
> +                       DMI_MATCH(DMI_PRODUCT_NAME, "P57"),
> +               },
> +       },
> +       {
>                 /* Schenker XMG C504 - Elantech touchpad */
>                 .matches = {
>                         DMI_MATCH(DMI_SYS_VENDOR, "XMG"),
> --
> 2.13.2
>

Hi Dimitry,

Can you also take a look at this patch I sent in Jun? I guess this one
got slipped through :)

Thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Input: i8042 - add Gigabyte P57 to the keyboard reset table
  2017-07-12  3:39 [PATCH] Input: i8042 - add Gigabyte P57 to the keyboard reset table Kai-Heng Feng
  2017-08-17  9:56 ` Kai-Heng Feng
@ 2017-09-15 16:55 ` Dmitry Torokhov
  1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Torokhov @ 2017-09-15 16:55 UTC (permalink / raw)
  To: Kai-Heng Feng; +Cc: linux-input, linux-kernel

On Wed, Jul 12, 2017 at 11:39:53AM +0800, Kai-Heng Feng wrote:
> Similar to other Gigabyte laptops, the touchpad on P57 requires a
> keyboard reset to detect Elantech touchpad correctly.
> 
> BugLink: https://bugs.launchpad.net/bugs/1594214
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>

Applied, thank you.

> ---
>  drivers/input/serio/i8042-x86ia64io.h | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
> index 09720d950686..1c6a49b5b93d 100644
> --- a/drivers/input/serio/i8042-x86ia64io.h
> +++ b/drivers/input/serio/i8042-x86ia64io.h
> @@ -833,6 +833,13 @@ static const struct dmi_system_id __initconst i8042_dmi_kbdreset_table[] = {
>  		},
>  	},
>  	{
> +		/* Gigabyte P57 - Elantech touchpad */
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "P57"),
> +		},
> +	},
> +	{
>  		/* Schenker XMG C504 - Elantech touchpad */
>  		.matches = {
>  			DMI_MATCH(DMI_SYS_VENDOR, "XMG"),
> -- 
> 2.13.2
> 

-- 
Dmitry

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-15 16:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-12  3:39 [PATCH] Input: i8042 - add Gigabyte P57 to the keyboard reset table Kai-Heng Feng
2017-08-17  9:56 ` Kai-Heng Feng
2017-09-15 16:55 ` 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).