Skip to content

Commit fcaa4a0

Browse files
daedalus81Jiri Kosina
authored andcommitted
HID: multitouch: Support ALPS PTP stick with pid 0x120A
This patch adds ALPS PTP sticks with pid/device id 0x120A to the list of devices supported by hid-multitouch. Signed-off-by: Shrirang Bagul <shrirang.bagul@canonical.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent 56d859e commit fcaa4a0

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎drivers/hid/hid-ids.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575

7676
#define USB_VENDOR_ID_ALPS_JP 0x044E
7777
#define HID_DEVICE_ID_ALPS_U1_DUAL 0x120B
78+
#define HID_DEVICE_ID_ALPS_U1_PTP_2 0x120A
7879
#define HID_DEVICE_ID_ALPS_U1_DUAL_PTP 0x121F
7980
#define HID_DEVICE_ID_ALPS_U1_DUAL_3BTN_PTP 0x1220
8081

‎drivers/hid/hid-multitouch.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,6 +1419,10 @@ static const struct hid_device_id mt_devices[] = {
14191419
HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
14201420
USB_VENDOR_ID_ALPS_JP,
14211421
HID_DEVICE_ID_ALPS_U1_DUAL_3BTN_PTP) },
1422+
{ .driver_data = MT_CLS_WIN_8_DUAL,
1423+
HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
1424+
USB_VENDOR_ID_ALPS_JP,
1425+
HID_DEVICE_ID_ALPS_U1_PTP_2) },
14221426

14231427
/* Lenovo X1 TAB Gen 2 */
14241428
{ .driver_data = MT_CLS_WIN_8_DUAL,

0 commit comments

Comments
 (0)