Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <albeu@free.fr>
Tested-by: Alexander Kobel <a-kobel@a-kobel.de>
Link: https://lore.kernel.org/r/20210222141559.3775-1-albeu@free.fr
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

authored by

Alban Bedel and committed by
Hans de Goede
d9ff4ec3 4296f679

+7
+7
drivers/platform/x86/intel-hid.c
··· 90 90 DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x2 Detachable"), 91 91 }, 92 92 }, 93 + { 94 + .ident = "Lenovo ThinkPad X1 Tablet Gen 2", 95 + .matches = { 96 + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), 97 + DMI_MATCH(DMI_PRODUCT_FAMILY, "ThinkPad X1 Tablet Gen 2"), 98 + }, 99 + }, 93 100 { } 94 101 }; 95 102