2021-06-29 12:47:26 +00:00
|
|
|
From d44fe6ec674f14131c0f4b952e832fdf61a58e8b Mon Sep 17 00:00:00 2001
|
2021-06-03 18:07:06 +00:00
|
|
|
From: Zoltan Tamas Vajda <zoltan.tamas.vajda@gmail.com>
|
|
|
|
Date: Thu, 3 Jun 2021 10:50:55 +0200
|
|
|
|
Subject: [PATCH] Added quirk for Surface Go touchscreen
|
|
|
|
|
|
|
|
Patchset: surface-go-touchscreen
|
|
|
|
---
|
|
|
|
drivers/hid/hid-ids.h | 1 +
|
|
|
|
drivers/hid/hid-input.c | 2 ++
|
|
|
|
2 files changed, 3 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
|
2021-06-19 19:58:38 +00:00
|
|
|
index 03978111d944..06168f485722 100644
|
2021-06-03 18:07:06 +00:00
|
|
|
--- a/drivers/hid/hid-ids.h
|
|
|
|
+++ b/drivers/hid/hid-ids.h
|
2021-06-19 19:58:38 +00:00
|
|
|
@@ -397,6 +397,7 @@
|
2021-06-03 18:07:06 +00:00
|
|
|
#define USB_DEVICE_ID_HP_X2_10_COVER 0x0755
|
|
|
|
#define I2C_DEVICE_ID_HP_SPECTRE_X360_15 0x2817
|
|
|
|
#define USB_DEVICE_ID_ASUS_UX550_TOUCHSCREEN 0x2706
|
|
|
|
+#define I2C_DEVICE_ID_SURFACE_GO_TOUCHSCREEN 0x261A
|
|
|
|
|
|
|
|
#define USB_VENDOR_ID_ELECOM 0x056e
|
|
|
|
#define USB_DEVICE_ID_ELECOM_BM084 0x0061
|
|
|
|
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c
|
2021-06-19 19:58:38 +00:00
|
|
|
index e982d8173c9c..f7d482619dfd 100644
|
2021-06-03 18:07:06 +00:00
|
|
|
--- a/drivers/hid/hid-input.c
|
|
|
|
+++ b/drivers/hid/hid-input.c
|
|
|
|
@@ -326,6 +326,8 @@ static const struct hid_device_id hid_battery_quirks[] = {
|
|
|
|
HID_BATTERY_QUIRK_IGNORE },
|
|
|
|
{ HID_I2C_DEVICE(USB_VENDOR_ID_ELAN, I2C_DEVICE_ID_HP_SPECTRE_X360_15),
|
|
|
|
HID_BATTERY_QUIRK_IGNORE },
|
|
|
|
+ { HID_I2C_DEVICE(USB_VENDOR_ID_ELAN, I2C_DEVICE_ID_SURFACE_GO_TOUCHSCREEN),
|
|
|
|
+ HID_BATTERY_QUIRK_IGNORE },
|
|
|
|
{}
|
|
|
|
};
|
|
|
|
|
|
|
|
--
|
2021-06-13 21:00:45 +00:00
|
|
|
2.32.0
|
2021-06-03 18:07:06 +00:00
|
|
|
|