Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit cbc2ec8

Browse files
vishnuocvgregkh
authored andcommitted
HID: multitouch: Add support for Thinkpad X12 Gen 2 Kbd Portfolio
[ Upstream commit 65b72ea ] This applies similar quirks used by previous generation device, so that Trackpoint and buttons on the touchpad works. New USB KBD PID 0x61AE for Thinkpad X12 Tab is added. Signed-off-by: Vishnu Sankar <vishnuocv@gmail.com> Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca> Signed-off-by: Jiri Kosina <jkosina@suse.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent a5370f3 commit cbc2ec8

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

drivers/hid/hid-ids.h

+1
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,7 @@
794794
#define USB_DEVICE_ID_LENOVO_X1_TAB 0x60a3
795795
#define USB_DEVICE_ID_LENOVO_X1_TAB3 0x60b5
796796
#define USB_DEVICE_ID_LENOVO_X12_TAB 0x60fe
797+
#define USB_DEVICE_ID_LENOVO_X12_TAB2 0x61ae
797798
#define USB_DEVICE_ID_LENOVO_OPTICAL_USB_MOUSE_600E 0x600e
798799
#define USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_608D 0x608d
799800
#define USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_6019 0x6019

drivers/hid/hid-multitouch.c

+6
Original file line numberDiff line numberDiff line change
@@ -2113,6 +2113,12 @@ static const struct hid_device_id mt_devices[] = {
21132113
USB_VENDOR_ID_LENOVO,
21142114
USB_DEVICE_ID_LENOVO_X12_TAB) },
21152115

2116+
/* Lenovo X12 TAB Gen 2 */
2117+
{ .driver_data = MT_CLS_WIN_8_FORCE_MULTI_INPUT_NSMU,
2118+
HID_DEVICE(BUS_USB, HID_GROUP_MULTITOUCH_WIN_8,
2119+
USB_VENDOR_ID_LENOVO,
2120+
USB_DEVICE_ID_LENOVO_X12_TAB2) },
2121+
21162122
/* Logitech devices */
21172123
{ .driver_data = MT_CLS_NSMU,
21182124
HID_DEVICE(BUS_BLUETOOTH, HID_GROUP_MULTITOUCH_WIN_8,

0 commit comments

Comments
 (0)