Skip to content

Commit fe60009

Browse files
garnachojwrdegoede
authored andcommitted
platform/x86: intel-vbtn: Allow switch events on Acer Switch Alpha 12
This 2-in-1 model (Product name: Switch SA5-271) features a SW_TABLET_MODE that works as it would be expected, both when detaching the keyboard and when folding it behind the tablet body. It used to work until the introduction of the allow list at commit 8169bd3 ("platform/x86: intel-vbtn: Switch to an allow-list for SW_TABLET_MODE reporting"). Add this model to it, so that the Virtual Buttons device announces the EV_SW features again. Fixes: 8169bd3 ("platform/x86: intel-vbtn: Switch to an allow-list for SW_TABLET_MODE reporting") Cc: [email protected] Signed-off-by: Carlos Garnacho <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
1 parent 912b341 commit fe60009

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/platform/x86/intel-vbtn.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,12 @@ static const struct dmi_system_id dmi_switches_allow_list[] = {
212212
DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion 13 x360 PC"),
213213
},
214214
},
215+
{
216+
.matches = {
217+
DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
218+
DMI_MATCH(DMI_PRODUCT_NAME, "Switch SA5-271"),
219+
},
220+
},
215221
{} /* Array terminator */
216222
};
217223

0 commit comments

Comments
 (0)