Skip to contentSkip to conversation

HID: i2c-hid: add Vero K147 to descriptor override

PATCH Applied Julian Sax 3 participants 3 messages Nov 26, 2020 – Nov 27, 2020

Subsystems (2)
lore
Share & tools
lore

Julian Sax

author
#0 lore raw

PATCH 1/1 HID: i2c-hid: add Vero K147 to descriptor override

This device uses the SIPODEV SP1064 touchpad, which does not supply descriptors, so it has to be added to the override list.

---
 drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c +8 -0
index 35f3bfc3e6f5..8e0f67455c09 100644
@@ -405,6 +405,14 @@ static const struct dmi_system_id i2c_hid_dmi_desc_override_table[] = {
 		},
 		.driver_data = (void *)&sipodev_desc
 	},
+	{
+		.ident = "Vero K147",
+		.matches = {
+			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "VERO"),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "K147"),
+		},
+		.driver_data = (void *)&sipodev_desc
+	},
 	{ }	/* Terminate list */
 };
 

--
2.29.2

Reviewed-by on v1 1/1
#1 lore raw

Hi,

Quoted 5 lines · Julian Sax

This device uses the SIPODEV SP1064 touchpad, which does not supply descriptors, so it has to be added to the override list.

Thanks, patch looks good to me:

Regards,

Hans

Quoted 26 lines
---
 drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c +8 -1
index 35f3bfc3e6f5..8e0f67455c09 100644
@@ -405,6 +405,14 @@ static const struct dmi_system_id i2c_hid_dmi_desc_override_table[] = {
 		},
 		.driver_data = (void *)&sipodev_desc
 	},
+	{
+		.ident = "Vero K147",
+		.matches = {
+			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "VERO"),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "K147"),
+		},
+		.driver_data = (void *)&sipodev_desc
+	},
 	{ }	/* Terminate list */
 };
 
--

2.29.2

maintainer Applied
#2 lore raw
In reply to Julian Sax
Quoted 2 lines · Julian Sax

This device uses the SIPODEV SP1064 touchpad, which does not supply descriptors, so it has to be added to the override list.

Applied, thank you.

Signature · 2 lines
Jiri Kosina
SUSE Labs