[PATCH 5.15 016/171] platform/x86/intel: hid: add quirk to support Surface Go 3

From
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date
2021-12-13 09:58:37
Also in
lkml
Reply to
Greg Kroah-Hartman, 2021-12-13
From: Alex Hung <redacted>

commit 7d0c009043f6a970f62dbf5aecda9f8c3ccafcff upstream.

Similar to other systems Surface Go 3 requires a DMI quirk to enable
5 button array for power and volume buttons.

Buglink: https://github.com/linux-surface/linux-surface/issues/595

Cc: <redacted>
Signed-off-by: Alex Hung <redacted>
Link: https://lore.kernel.org/r/20211203212810.2666508-1-alex.hung@canonical.com (local)
Signed-off-by: Hans de Goede <redacted>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 drivers/platform/x86/intel/hid.c |    7 +++++++
 1 file changed, 7 insertions(+)
--- a/drivers/platform/x86/intel/hid.c
+++ b/drivers/platform/x86/intel/hid.c
@@ -99,6 +99,13 @@ static const struct dmi_system_id button
 			DMI_MATCH(DMI_PRODUCT_FAMILY, "ThinkPad X1 Tablet Gen 2"),
 		},
 	},
+	{
+		.ident = "Microsoft Surface Go 3",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Surface Go 3"),
+		},
+	},
 	{ }
 };
 

Thread (179 messages) 179 messages, 8 authors, last reply 2021-12-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help