Skip to content

Commit 348b80b

Browse files
pyma1Jiri Kosina
authored andcommitted
HID: multitouch: Add LG MELF0410 I2C touchscreen support
Add multitouch support for LG MELF I2C touchscreen. Apply the same workaround as LG USB touchscreen. Signed-off-by: Aaron Ma <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent be54e74 commit 348b80b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

drivers/hid/hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,7 @@
730730
#define USB_DEVICE_ID_LG_MULTITOUCH 0x0064
731731
#define USB_DEVICE_ID_LG_MELFAS_MT 0x6007
732732
#define I2C_DEVICE_ID_LG_8001 0x8001
733+
#define I2C_DEVICE_ID_LG_7010 0x7010
733734

734735
#define USB_VENDOR_ID_LOGITECH 0x046d
735736
#define USB_DEVICE_ID_LOGITECH_AUDIOHUB 0x0a0e

drivers/hid/hid-multitouch.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1985,6 +1985,9 @@ static const struct hid_device_id mt_devices[] = {
19851985
{ .driver_data = MT_CLS_LG,
19861986
HID_USB_DEVICE(USB_VENDOR_ID_LG,
19871987
USB_DEVICE_ID_LG_MELFAS_MT) },
1988+
{ .driver_data = MT_CLS_LG,
1989+
HID_DEVICE(BUS_I2C, HID_GROUP_GENERIC,
1990+
USB_VENDOR_ID_LG, I2C_DEVICE_ID_LG_7010) },
19881991

19891992
/* MosArt panels */
19901993
{ .driver_data = MT_CLS_CONFIDENCE_MINUS_ONE,

0 commit comments

Comments
 (0)