diff options
author | Hans de Goede <hdegoede@redhat.com> | 2019-10-07 14:56:26 -0400 |
---|---|---|
committer | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2019-10-18 09:49:19 -0400 |
commit | 09f3dbe474735df13dd8a66d3d1231048d9b373f (patch) | |
tree | 25bf3b72be3ba30ee9bdbd0097c77ef05c25ce12 /drivers/hid | |
parent | 08c453f6d073f069cf8e30e03cd3c16262c9b953 (diff) |
HID: i2c-hid: add Trekstor Primebook C11B to descriptor override
The Primebook C11B uses the SIPODEV SP1064 touchpad. There are 2 versions
of this 2-in-1 and the touchpad in the older version does not supply
descriptors, so it has to be added to the override list.
Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c b/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c index 75078c83be1a..d31ea82b84c1 100644 --- a/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c +++ b/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c | |||
@@ -323,6 +323,25 @@ static const struct dmi_system_id i2c_hid_dmi_desc_override_table[] = { | |||
323 | .driver_data = (void *)&sipodev_desc | 323 | .driver_data = (void *)&sipodev_desc |
324 | }, | 324 | }, |
325 | { | 325 | { |
326 | /* | ||
327 | * There are at least 2 Primebook C11B versions, the older | ||
328 | * version has a product-name of "Primebook C11B", and a | ||
329 | * bios version / release / firmware revision of: | ||
330 | * V2.1.2 / 05/03/2018 / 18.2 | ||
331 | * The new version has "PRIMEBOOK C11B" as product-name and a | ||
332 | * bios version / release / firmware revision of: | ||
333 | * CFALKSW05_BIOS_V1.1.2 / 11/19/2018 / 19.2 | ||
334 | * Only the older version needs this quirk, note the newer | ||
335 | * version will not match as it has a different product-name. | ||
336 | */ | ||
337 | .ident = "Trekstor Primebook C11B", | ||
338 | .matches = { | ||
339 | DMI_EXACT_MATCH(DMI_SYS_VENDOR, "TREKSTOR"), | ||
340 | DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Primebook C11B"), | ||
341 | }, | ||
342 | .driver_data = (void *)&sipodev_desc | ||
343 | }, | ||
344 | { | ||
326 | .ident = "Direkt-Tek DTLAPY116-2", | 345 | .ident = "Direkt-Tek DTLAPY116-2", |
327 | .matches = { | 346 | .matches = { |
328 | DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Direkt-Tek"), | 347 | DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Direkt-Tek"), |