diff options
author | Alex Hung <alex.hung@canonical.com> | 2021-12-04 00:28:10 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-12-07 00:28:18 +0300 |
commit | 7d0c009043f6a970f62dbf5aecda9f8c3ccafcff (patch) | |
tree | b6c6a30ec7d7759bf96e601f286d1d2883320834 /drivers/platform | |
parent | 49201b90af818654c5506a0decc18e111eadcb66 (diff) | |
download | linux-7d0c009043f6a970f62dbf5aecda9f8c3ccafcff.tar.xz |
platform/x86/intel: hid: add quirk to support Surface Go 3
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>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/intel/hid.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/platform/x86/intel/hid.c b/drivers/platform/x86/intel/hid.c index 08598942a6d7..13f8cf70b9ae 100644 --- 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"), + }, + }, { } }; |