[PATCH] intel-hid: expand DMI quirk to support HP Spectre X2 (2015)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HEBC method reports capabilities of 5 button array but HP Spectre X2 (2015) does not have this control method (the same was for Wacom MobileStudio Pro). Previous DMI quirk  by Alex Hung was expanded to also enable 5 button array for this system.

Signed-off-by: Nickolai Kozachenko <daemongloom@xxxxxxxxx>
---
Tested on my own device.  Thanks to Alex Hung for creating quirk for Wacom MobileStudio devices that can be reused for HP Spectre X2 (2015).

--- drivers/platform/x86/intel-hid.c.orig    2020-05-29 13:13:43.768032597 +0500
+++ drivers/platform/x86/intel-hid.c    2020-05-29 13:19:30.089899469 +0500
@@ -79,6 +79,13 @@ static const struct dmi_system_id button
             DMI_MATCH(DMI_PRODUCT_NAME, "Wacom MobileStudio Pro 16"),
         },
     },
+    {
+        .ident = "HP Spectre x2 (2015)",
+        .matches = {
+            DMI_MATCH(DMI_SYS_VENDOR, "HP"),
+            DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x2 Detachable"),
+        },
+    },
     { }
 };




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux