Skip to content

Commit 1e817b8

Browse files
committed
platform/x86: acer-wmi: Enable SW_TABLET_MODE on Switch V 10 (SW5-017)
Like the Acer Switch 10 (SW5-012) and Acer Switch 10 (S1003) models the Acer Switch V 10 (SW5-017) supports reporting SW_TABLET_MODE through acer-wmi. Add a DMI quirk for the SW5-017 setting force_caps to ACER_CAP_KBD_DOCK (these devices have no other acer-wmi based functionality). Cc: Rudolf Polzer <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent d0cdd85 commit 1e817b8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

drivers/platform/x86/acer-wmi.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,15 @@ static const struct dmi_system_id acer_quirks[] __initconst = {
564564
},
565565
.driver_data = (void *)ACER_CAP_KBD_DOCK,
566566
},
567+
{
568+
.callback = set_force_caps,
569+
.ident = "Acer Aspire Switch V 10 SW5-017",
570+
.matches = {
571+
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Acer"),
572+
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "SW5-017"),
573+
},
574+
.driver_data = (void *)ACER_CAP_KBD_DOCK,
575+
},
567576
{
568577
.callback = set_force_caps,
569578
.ident = "Acer One 10 (S1003)",

0 commit comments

Comments
 (0)