aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlban Bedel <[email protected]>2021-02-22 15:15:59 +0100
committerHans de Goede <[email protected]>2021-03-06 10:24:53 +0100
commit56678a5f44ef5f0ad9a67194bbee2280c6286534 (patch)
tree54ee439008d36530b804d98dfe2bbf04a9f8def5
parenta38fd8748464831584a19438cbb3082b5a2dab15 (diff)
platform/x86: intel-hid: Support Lenovo ThinkPad X1 Tablet Gen 2
Like a few other system the Lenovo ThinkPad X1 Tablet Gen 2 miss the HEBC method, which prevent the power button from working. Add a quirk to enable the button array on this system family and fix the power button. Signed-off-by: Alban Bedel <[email protected]> Tested-by: Alexander Kobel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
-rw-r--r--drivers/platform/x86/intel-hid.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/platform/x86/intel-hid.c b/drivers/platform/x86/intel-hid.c
index 2f5b8d09143e..57cc92891a57 100644
--- a/drivers/platform/x86/intel-hid.c
+++ b/drivers/platform/x86/intel-hid.c
@@ -90,6 +90,13 @@ static const struct dmi_system_id button_array_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x2 Detachable"),
},
},
+ {
+ .ident = "Lenovo ThinkPad X1 Tablet Gen 2",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_FAMILY, "ThinkPad X1 Tablet Gen 2"),
+ },
+ },
{ }
};