Input: i8042 - add dritek quirk for Acer Aspire One AO532
authorHans de Goede <hdegoede@redhat.com>
Sat, 9 Jul 2022 04:49:45 +0000 (21:49 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 9 Jul 2022 04:51:34 +0000 (21:51 -0700)
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 <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220418200949.6009-1-hdegoede@redhat.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/i8042-x86ia64io.h

index 5204a7d..4fbec7b 100644 (file)
@@ -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"),