OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a602f51
)
platform/x86/intel: hid: add quirk to support Surface Go 3
author
Alex Hung
<alex.hung@canonical.com>
Fri, 3 Dec 2021 21:28:10 +0000
(14:28 -0700)
committer
Hans de Goede
<hdegoede@redhat.com>
Mon, 6 Dec 2021 21:27:30 +0000
(22:27 +0100)
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: stable@vger.kernel.org
Signed-off-by: Alex Hung <alex.hung@canonical.com>
Link:
https://lore.kernel.org/r/20211203212810.2666508-1-alex.hung@canonical.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel/hid.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/intel/hid.c
b/drivers/platform/x86/intel/hid.c
index
0859894
..
13f8cf7
100644
(file)
--- 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_array_table[] = {
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"),
+ },
+ },
{ }
};