HID: i2c-hid: Add Odys Winbook 13 to descriptor override
diff mbox series

Message ID 20181226143156.32048-1-hdegoede@redhat.com
State New
Delegated to: Jiri Kosina
Headers show
Series
  • HID: i2c-hid: Add Odys Winbook 13 to descriptor override
Related show

Commit Message

Hans de Goede Dec. 26, 2018, 2:31 p.m. UTC
The Odys Winbook 13 uses a SIPODEV SP1064 touchpad, which does not
supply descriptors, add this to the DMI descriptor override list, fixing
the touchpad not working.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1526312
Reported-by: Rene Wagner <redhatbugzilla@callerid.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Jiri Kosina Jan. 3, 2019, 10:31 a.m. UTC | #1
On Wed, 26 Dec 2018, Hans de Goede wrote:

> The Odys Winbook 13 uses a SIPODEV SP1064 touchpad, which does not
> supply descriptors, add this to the DMI descriptor override list, fixing
> the touchpad not working.
> 
> BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1526312
> Reported-by: Rene Wagner <redhatbugzilla@callerid.de>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Applied, thanks.

Patch
diff mbox series

diff --git a/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c b/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c
index 89f2976f9c53..fd1b6eea6d2f 100644
--- a/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c
+++ b/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c
@@ -346,6 +346,14 @@  static const struct dmi_system_id i2c_hid_dmi_desc_override_table[] = {
 		},
 		.driver_data = (void *)&sipodev_desc
 	},
+	{
+		.ident = "Odys Winbook 13",
+		.matches = {
+			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AXDIA International GmbH"),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "WINBOOK 13"),
+		},
+		.driver_data = (void *)&sipodev_desc
+	},
 	{ }	/* Terminate list */
 };