diff mbox series

Input: i8042 - add Acer Aspire 5738z to nomux list

Message ID 20200331123947.318908-1-hdegoede@redhat.com (mailing list archive)
State Mainlined
Commit ebc68cedec4aead47d8d11623d013cca9bf8e825
Headers show
Series Input: i8042 - add Acer Aspire 5738z to nomux list | expand

Commit Message

Hans de Goede March 31, 2020, 12:39 p.m. UTC
The Acer Aspire 5738z has a button to disable (and re-enable) the
touchpad next to the touchpad.

When this button is pressed a LED underneath indicates that the touchpad
is disabled (and an event is send to userspace and GNOME shows its
touchpad enabled / disable OSD thingie).

So far so good, but after re-enabling the touchpad it no longer works.

The laptop does not have an external ps2 port, so mux mode is not needed
and disabling mux mode fixes the touchpad no longer working after toggling
it off and back on again, so lets add this laptop model to the nomux list.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/input/serio/i8042-x86ia64io.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Dmitry Torokhov April 1, 2020, 8:23 p.m. UTC | #1
On Tue, Mar 31, 2020 at 02:39:47PM +0200, Hans de Goede wrote:
> The Acer Aspire 5738z has a button to disable (and re-enable) the
> touchpad next to the touchpad.
> 
> When this button is pressed a LED underneath indicates that the touchpad
> is disabled (and an event is send to userspace and GNOME shows its
> touchpad enabled / disable OSD thingie).
> 
> So far so good, but after re-enabling the touchpad it no longer works.
> 
> The laptop does not have an external ps2 port, so mux mode is not needed
> and disabling mux mode fixes the touchpad no longer working after toggling
> it off and back on again, so lets add this laptop model to the nomux list.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Applied, thank you. Also marked for stable.

> ---
>  drivers/input/serio/i8042-x86ia64io.h | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
> index dc974c288e88..08e919dbeb5d 100644
> --- a/drivers/input/serio/i8042-x86ia64io.h
> +++ b/drivers/input/serio/i8042-x86ia64io.h
> @@ -530,6 +530,17 @@ static const struct dmi_system_id __initconst i8042_dmi_nomux_table[] = {
>  			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo LaVie Z"),
>  		},
>  	},
> +	{
> +		/*
> +		 * Acer Aspire 5738z
> +		 * Touchpad stops working in mux mode when dis- + re-enabled
> +		 * with the touchpad enable/disable toggle hotkey
> +		 */
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5738"),
> +		},
> +	},
>  	{ }
>  };
>  
> -- 
> 2.26.0
>
diff mbox series

Patch

diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
index dc974c288e88..08e919dbeb5d 100644
--- a/drivers/input/serio/i8042-x86ia64io.h
+++ b/drivers/input/serio/i8042-x86ia64io.h
@@ -530,6 +530,17 @@  static const struct dmi_system_id __initconst i8042_dmi_nomux_table[] = {
 			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo LaVie Z"),
 		},
 	},
+	{
+		/*
+		 * Acer Aspire 5738z
+		 * Touchpad stops working in mux mode when dis- + re-enabled
+		 * with the touchpad enable/disable toggle hotkey
+		 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5738"),
+		},
+	},
 	{ }
 };