diff mbox

Input: i8042 - add Clevo P650RS to the i8042 reset list

Message ID 20170413225152.GA19947@dtor-ws (mailing list archive)
State New, archived
Headers show

Commit Message

Dmitry Torokhov April 13, 2017, 10:51 p.m. UTC
Clevo P650RS and other similar devices require i8042 to be reset in order
to detect Synaptics touchpad.

Reported-by: Paweł Bylica <chfast@gmail.com>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=190301
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
 drivers/input/serio/i8042-x86ia64io.h | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Ed Bordin April 24, 2017, 3:24 a.m. UTC | #1
Works for me. Thanks for the fix!

On 14 April 2017 at 08:51, Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote:
> Clevo P650RS and other similar devices require i8042 to be reset in order
> to detect Synaptics touchpad.
>
> Reported-by: Paweł Bylica <chfast@gmail.com>
> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=190301
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.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 8da340043611..df52665a7583 100644
> --- a/drivers/input/serio/i8042-x86ia64io.h
> +++ b/drivers/input/serio/i8042-x86ia64io.h
> @@ -628,6 +628,13 @@ static const struct dmi_system_id __initconst i8042_dmi_reset_table[] = {
>                         DMI_MATCH(DMI_PRODUCT_NAME, "20046"),
>                 },
>         },
> +       {
> +               /* Clevo P650RS, 650RP6, Sager NP8152-S, and others */
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "Notebook"),
> +                       DMI_MATCH(DMI_PRODUCT_NAME, "P65xRP"),
> +               },
> +       },
>         { }
>  };
>
> --
> 2.12.2.762.g0e3151a226-goog
>
>
> --
> Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Dmitry Torokhov April 24, 2017, 11:13 p.m. UTC | #2
On Mon, Apr 24, 2017 at 01:24:34PM +1000, Ed Bordin wrote:
> Works for me. Thanks for the fix!

Thanks for testing!

> 
> On 14 April 2017 at 08:51, Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote:
> > Clevo P650RS and other similar devices require i8042 to be reset in order
> > to detect Synaptics touchpad.
> >
> > Reported-by: Paweł Bylica <chfast@gmail.com>
> > Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=190301
> > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.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 8da340043611..df52665a7583 100644
> > --- a/drivers/input/serio/i8042-x86ia64io.h
> > +++ b/drivers/input/serio/i8042-x86ia64io.h
> > @@ -628,6 +628,13 @@ static const struct dmi_system_id __initconst i8042_dmi_reset_table[] = {
> >                         DMI_MATCH(DMI_PRODUCT_NAME, "20046"),
> >                 },
> >         },
> > +       {
> > +               /* Clevo P650RS, 650RP6, Sager NP8152-S, and others */
> > +               .matches = {
> > +                       DMI_MATCH(DMI_SYS_VENDOR, "Notebook"),
> > +                       DMI_MATCH(DMI_PRODUCT_NAME, "P65xRP"),
> > +               },
> > +       },
> >         { }
> >  };
> >
> > --
> > 2.12.2.762.g0e3151a226-goog
> >
> >
> > --
> > Dmitry
diff mbox

Patch

diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
index 8da340043611..df52665a7583 100644
--- a/drivers/input/serio/i8042-x86ia64io.h
+++ b/drivers/input/serio/i8042-x86ia64io.h
@@ -628,6 +628,13 @@  static const struct dmi_system_id __initconst i8042_dmi_reset_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "20046"),
 		},
 	},
+	{
+		/* Clevo P650RS, 650RP6, Sager NP8152-S, and others */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Notebook"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "P65xRP"),
+		},
+	},
 	{ }
 };