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 5204a7dd61d45c453033157cd9baa9f8c0e48eb0..4fbec7bbeccaaa1e7cde926d6bbef3c233550443 100644 (file)
@@ -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"),