diff options
author | Hans de Goede <hdegoede@redhat.com> | 2021-08-12 16:55:13 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-08-12 16:56:43 +0200 |
commit | 411f48bb58f49c40a627b052402a90e8301cd07e (patch) | |
tree | e0cd4c5b9d916b852b3a7550c94e6bf563bbaf38 /drivers/platform/x86 | |
parent | platform/x86: asus-nb-wmi: Allow configuring SW_TABLET_MODE method with a mod... (diff) | |
download | linux-411f48bb58f49c40a627b052402a90e8301cd07e.tar.xz linux-411f48bb58f49c40a627b052402a90e8301cd07e.zip |
platform/x86: asus-nb-wmi: Add tablet_mode_sw=lid-flip quirk for the TP200s
The Asus TP200s / E205SA 360 degree hinges 2-in-1 supports reporting
SW_TABLET_MODE info through the ASUS_WMI_DEVID_LID_FLIP WMI device-id.
Add a quirk to enable this.
BugLink: https://gitlab.freedesktop.org/libinput/libinput/-/issues/639
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210812145513.39117-2-hdegoede@redhat.com
Diffstat (limited to 'drivers/platform/x86')
-rw-r--r-- | drivers/platform/x86/asus-nb-wmi.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c index 9929eedf7dd8..a81dc4b191b7 100644 --- a/drivers/platform/x86/asus-nb-wmi.c +++ b/drivers/platform/x86/asus-nb-wmi.c @@ -462,6 +462,15 @@ static const struct dmi_system_id asus_quirks[] = { }, .driver_data = &quirk_asus_use_lid_flip_devid, }, + { + .callback = dmi_matched, + .ident = "ASUS TP200s / E205SA", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_PRODUCT_NAME, "E205SA"), + }, + .driver_data = &quirk_asus_use_lid_flip_devid, + }, {}, }; |