HID: i2c-hid: add iBall Aer3 to descriptor override
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Mon, 22 Apr 2019 06:57:04 +0000 (14:57 +0800)
committerJiri Kosina <jkosina@suse.cz>
Thu, 9 May 2019 19:27:27 +0000 (21:27 +0200)
This device uses the SIPODEV SP1064 touchpad, which does not
supply descriptors, so it has to be added to the override
list.

BugLink: https://bugs.launchpad.net/bugs/1825718
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c

index fd1b6eea6d2fdcf85aeb25595e371fbfab5f8ed5..75078c83be1af579c9e7ad804271d620d3849dc2 100644 (file)
@@ -354,6 +354,14 @@ static const struct dmi_system_id i2c_hid_dmi_desc_override_table[] = {
                },
                .driver_data = (void *)&sipodev_desc
        },
+       {
+               .ident = "iBall Aer3",
+               .matches = {
+                       DMI_EXACT_MATCH(DMI_SYS_VENDOR, "iBall"),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Aer3"),
+               },
+               .driver_data = (void *)&sipodev_desc
+       },
        { }     /* Terminate list */
 };