diff mbox series

HID: multitouch: add eGalaxTouch P80H84 support

Message ID 20200413160237.610771-1-sebastian.reichel@collabora.com (mailing list archive)
State Mainlined
Commit f9e82295eec141a0569649d400d249333d74aa91
Delegated to: Jiri Kosina
Headers show
Series HID: multitouch: add eGalaxTouch P80H84 support | expand

Commit Message

Sebastian Reichel April 13, 2020, 4:02 p.m. UTC
Add support for P80H84 touchscreen from eGalaxy:

  idVendor           0x0eef D-WAV Scientific Co., Ltd
  idProduct          0xc002
  iManufacturer           1 eGalax Inc.
  iProduct                2 eGalaxTouch P80H84 2019 vDIVA_1204_T01 k4.02.146

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
---
 drivers/hid/hid-ids.h        | 1 +
 drivers/hid/hid-multitouch.c | 3 +++
 2 files changed, 4 insertions(+)

Comments

Jiri Kosina April 14, 2020, 9:14 a.m. UTC | #1
On Mon, 13 Apr 2020, Sebastian Reichel wrote:

> Add support for P80H84 touchscreen from eGalaxy:
> 
>   idVendor           0x0eef D-WAV Scientific Co., Ltd
>   idProduct          0xc002
>   iManufacturer           1 eGalax Inc.
>   iProduct                2 eGalaxTouch P80H84 2019 vDIVA_1204_T01 k4.02.146
> 
> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>

Applied, thanks.
diff mbox series

Patch

diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index b18b13147a6f..68d46e818dc2 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -385,6 +385,7 @@ 
 #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_7349	0x7349
 #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_73F7	0x73f7
 #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_A001	0xa001
+#define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_C002	0xc002
 
 #define USB_VENDOR_ID_ELAN		0x04f3
 #define USB_DEVICE_ID_TOSHIBA_CLICK_L9W	0x0401
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 362805ddf377..03c720b47306 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -1922,6 +1922,9 @@  static const struct hid_device_id mt_devices[] = {
 	{ .driver_data = MT_CLS_EGALAX_SERIAL,
 		MT_USB_DEVICE(USB_VENDOR_ID_DWAV,
 			USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_A001) },
+	{ .driver_data = MT_CLS_EGALAX,
+		MT_USB_DEVICE(USB_VENDOR_ID_DWAV,
+			USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_C002) },
 
 	/* Elitegroup panel */
 	{ .driver_data = MT_CLS_SERIAL,