Skip to content

Commit 65b72ea

Browse files
vishnuocvJiri Kosina
authored andcommitted
HID: multitouch: Add support for Thinkpad X12 Gen 2 Kbd Portfolio
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 <[email protected]> Reviewed-by: Mark Pearson <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent d11cfda commit 65b72ea

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

drivers/hid/hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,7 @@
811811
#define USB_DEVICE_ID_LENOVO_X1_TAB 0x60a3
812812
#define USB_DEVICE_ID_LENOVO_X1_TAB3 0x60b5
813813
#define USB_DEVICE_ID_LENOVO_X12_TAB 0x60fe
814+
#define USB_DEVICE_ID_LENOVO_X12_TAB2 0x61ae
814815
#define USB_DEVICE_ID_LENOVO_OPTICAL_USB_MOUSE_600E 0x600e
815816
#define USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_608D 0x608d
816817
#define USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_6019 0x6019

drivers/hid/hid-multitouch.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2126,6 +2126,12 @@ static const struct hid_device_id mt_devices[] = {
21262126
USB_VENDOR_ID_LENOVO,
21272127
USB_DEVICE_ID_LENOVO_X12_TAB) },
21282128

2129+
/* Lenovo X12 TAB Gen 2 */
2130+
{ .driver_data = MT_CLS_WIN_8_FORCE_MULTI_INPUT_NSMU,
2131+
HID_DEVICE(BUS_USB, HID_GROUP_MULTITOUCH_WIN_8,
2132+
USB_VENDOR_ID_LENOVO,
2133+
USB_DEVICE_ID_LENOVO_X12_TAB2) },
2134+
21292135
/* Logitech devices */
21302136
{ .driver_data = MT_CLS_NSMU,
21312137
HID_DEVICE(BUS_BLUETOOTH, HID_GROUP_MULTITOUCH_WIN_8,

0 commit comments

Comments
 (0)