diff mbox series

input/i8042: Add dritek quirk for Acer Aspire One AO532

Message ID 20220418200949.6009-1-hdegoede@redhat.com (mailing list archive)
State Accepted
Commit 94c8e8664ab6f781b2ba1258c3bb389131f5ebb4
Headers show
Series input/i8042: Add dritek quirk for Acer Aspire One AO532 | expand

Commit Message

Hans de Goede April 18, 2022, 8:09 p.m. UTC
Like on other Acer devices, the wifi, bluetooth and touchpad on/off toggle
hotkeys on the Acer AO532 do not send any events when the dritek extensions
are not enabled.

Add a quirk to enable the dritek extensions on this netbook model.

Cc: Werner Sembach <wse@tuxedocomputers.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
Note this patch applies on top of the:
"[PATCH v5] input/i8042: Rework quirk tables" series
https://lore.kernel.org/linux-input/20220329143622.31394-1-wse@tuxedocomputers.com/
---
 drivers/input/serio/i8042-x86ia64io.h | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Dmitry Torokhov July 9, 2022, 4:50 a.m. UTC | #1
On Mon, Apr 18, 2022 at 10:09:49PM +0200, Hans de Goede wrote:
> Like on other Acer devices, the wifi, bluetooth and touchpad on/off toggle
> hotkeys on the Acer AO532 do not send any events when the dritek extensions
> are not enabled.
> 
> Add a quirk to enable the dritek extensions on this netbook model.
> 
> Cc: Werner Sembach <wse@tuxedocomputers.com>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Applied, thank you.
diff mbox series

Patch

diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
index a59c6aba7c75..8684d495c275 100644
--- a/drivers/input/serio/i8042-x86ia64io.h
+++ b/drivers/input/serio/i8042-x86ia64io.h
@@ -216,6 +216,14 @@  static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = {
 		},
 		.driver_data = (void *)(SERIO_QUIRK_RESET_ALWAYS)
 	},
+	{
+		/* Acer Aspire One 532h */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "AO532h"),
+		},
+		.driver_data = (void *)(SERIO_QUIRK_DRITEK)
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),