Skip to content

Commit

Permalink
platform/x86: intel-hid: fix volume buttons on Microsoft Surface Go 4…
Browse files Browse the repository at this point in the history
… tablet

[ Upstream commit 2738d06 ]

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 <dmitry@d-systems.ee>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20250220154016.3620917-1-dmitry@d-systems.ee
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
Dmitry Panchenko authored and Greg Kroah-Hartman committed Apr 10, 2025
1 parent fa19b53 commit 84d6da6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/platform/x86/intel/hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,13 @@ static const struct dmi_system_id button_array_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "Surface Go 3"),
},
},
{
.ident = "Microsoft Surface Go 4",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"),
DMI_MATCH(DMI_PRODUCT_NAME, "Surface Go 4"),
},
},
{ }
};

Expand Down

0 comments on commit 84d6da6

Please sign in to comment.