Skip to content

Commit 2738d06

Browse files
DmitryPanij-intel
authored andcommitted
platform/x86: intel-hid: fix volume buttons on Microsoft Surface Go 4 tablet
Volume buttons on Microsoft Surface Go 4 tablet didn't send any events. Add Surface Go 4 DMI match to button_array_table to fix this. Signed-off-by: Dmitry Panchenko <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
1 parent 1be4e29 commit 2738d06

File tree

1 file changed

+7
-0
lines changed
  • drivers/platform/x86/intel

1 file changed

+7
-0
lines changed

drivers/platform/x86/intel/hid.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,13 @@ static const struct dmi_system_id button_array_table[] = {
139139
DMI_MATCH(DMI_PRODUCT_NAME, "Surface Go 3"),
140140
},
141141
},
142+
{
143+
.ident = "Microsoft Surface Go 4",
144+
.matches = {
145+
DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"),
146+
DMI_MATCH(DMI_PRODUCT_NAME, "Surface Go 4"),
147+
},
148+
},
142149
{ }
143150
};
144151

0 commit comments

Comments
 (0)