All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] input/i8042: Add dritek quirk for Acer Aspire One AO532
@ 2022-04-18 20:09 Hans de Goede
  2022-07-09  4:50 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Hans de Goede @ 2022-04-18 20:09 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: Hans de Goede, linux-input, Werner Sembach

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(+)

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"),
-- 
2.35.1


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

* Re: [PATCH] input/i8042: Add dritek quirk for Acer Aspire One AO532
  2022-04-18 20:09 [PATCH] input/i8042: Add dritek quirk for Acer Aspire One AO532 Hans de Goede
@ 2022-07-09  4:50 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2022-07-09  4:50 UTC (permalink / raw)
  To: Hans de Goede; +Cc: linux-input, Werner Sembach

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.

-- 
Dmitry

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

end of thread, other threads:[~2022-07-09  4:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-18 20:09 [PATCH] input/i8042: Add dritek quirk for Acer Aspire One AO532 Hans de Goede
2022-07-09  4:50 ` Dmitry Torokhov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.