From: Hans de Goede Date: Sat, 9 Jul 2022 04:49:45 +0000 (-0700) Subject: Input: i8042 - add dritek quirk for Acer Aspire One AO532 X-Git-Tag: v6.1~32^2~21^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=94c8e8664ab6f781b2ba1258c3bb389131f5ebb4;p=platform%2Fkernel%2Flinux-starfive.git Input: i8042 - add dritek quirk for Acer Aspire One AO532 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. Signed-off-by: Hans de Goede Link: https://lore.kernel.org/r/20220418200949.6009-1-hdegoede@redhat.com Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h index 5204a7d..4fbec7b 100644 --- a/drivers/input/serio/i8042-x86ia64io.h +++ b/drivers/input/serio/i8042-x86ia64io.h @@ -217,6 +217,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"), DMI_MATCH(DMI_PRODUCT_NAME, "Aspire A114-31"),