Skip to content

Commit 411f48b

Browse files
committed
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
1 parent 6be70cc commit 411f48b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎drivers/platform/x86/asus-nb-wmi.c‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,15 @@ static const struct dmi_system_id asus_quirks[] = {
462462
},
463463
.driver_data = &quirk_asus_use_lid_flip_devid,
464464
},
465+
{
466+
.callback = dmi_matched,
467+
.ident = "ASUS TP200s / E205SA",
468+
.matches = {
469+
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
470+
DMI_MATCH(DMI_PRODUCT_NAME, "E205SA"),
471+
},
472+
.driver_data = &quirk_asus_use_lid_flip_devid,
473+
},
465474
{},
466475
};
467476

0 commit comments

Comments
 (0)