Patchwork i8042: add Gigabyte Spring Peak to dmi_noloop_table

login
register
mail settings
Submitter Kamal Mostafa
Date July 19, 2010, 5:45 p.m.
Message ID <1279561534-3551-1-git-send-email-kamal@canonical.com>
Download mbox | patch
Permalink /patch/59216/
State Rejected
Headers show

Comments

Kamal Mostafa - July 19, 2010, 5:45 p.m.
Gigabyte "Spring Peak" notebook indicates wrong chassis-type, tripping up
i8042 and breaking the touchpad.  Add this model to i8042_dmi_noloop_table[]
to resolve.

BugLink: https://bugs.launchpad.net/bugs/580664

Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Cc: <stable@kernel.org>
---
 drivers/input/serio/i8042-x86ia64io.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
Dmitry Torokhov - July 23, 2010, 6:45 a.m.
On Mon, Jul 19, 2010 at 10:45:34AM -0700, Kamal Mostafa wrote:
> Gigabyte "Spring Peak" notebook indicates wrong chassis-type, tripping up
> i8042 and breaking the touchpad.  Add this model to i8042_dmi_noloop_table[]
> to resolve.
> 
> BugLink: https://bugs.launchpad.net/bugs/580664
> 
> Signed-off-by: Kamal Mostafa <kamal@canonical.com>
> Cc: <stable@kernel.org>

Applied, thanks Kamal.

> ---
>  drivers/input/serio/i8042-x86ia64io.h |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
> index 6168469..d953d65 100644
> --- a/drivers/input/serio/i8042-x86ia64io.h
> +++ b/drivers/input/serio/i8042-x86ia64io.h
> @@ -166,6 +166,13 @@ static const struct dmi_system_id __initconst i8042_dmi_noloop_table[] = {
>  		},
>  	},
>  	{
> +		/* Gigabyte Spring Peak */
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "Spring Peak"),
> +		},
> +	},
> +	{
>  		.matches = {
>  			DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
>  			DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dv9700"),
> -- 
> 1.7.0.4
>

Patch

diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
index 6168469..d953d65 100644
--- a/drivers/input/serio/i8042-x86ia64io.h
+++ b/drivers/input/serio/i8042-x86ia64io.h
@@ -166,6 +166,13 @@  static const struct dmi_system_id __initconst i8042_dmi_noloop_table[] = {
 		},
 	},
 	{
+		/* Gigabyte Spring Peak */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Spring Peak"),
+		},
+	},
+	{
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
 			DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dv9700"),