summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPing Cheng <pinglinux@gmail.com>2018-01-31 17:51:17 -0800
committerPeter Hutterer <peter.hutterer@who-t.net>2018-02-01 12:02:25 +1000
commit35047a3156be05b9ebc44ad4c43e0c9b62a85a03 (patch)
tree41e99381505a8e6e360c7fb057c1ee49c0cf8bd3
parentffb3925cc1deb5d840ad4b2ba1ab853955d959c8 (diff)
downloadxf86-input-wacom-35047a3156be05b9ebc44ad4c43e0c9b62a85a03.tar.gz
Support DTK-2451 and DTH-2452 on older kernels
Signed-off-by: Ping Cheng <ping.cheng@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/wcmUSB.c3
-rw-r--r--src/wcmValidateDevice.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/wcmUSB.c b/src/wcmUSB.c
index 1e4dc51..ca63e6d 100644
--- a/src/wcmUSB.c
+++ b/src/wcmUSB.c
@@ -234,6 +234,9 @@ static struct WacomModelDesc
{ WACOM_VENDOR_ID, 0xF0, 100000, 100000, &usbCintiq, "DTU1631" },
{ WACOM_VENDOR_ID, 0x35a, 100000, 100000, &usbCintiq, "DTH1152" },
{ WACOM_VENDOR_ID, 0x368, 100000, 100000, &usbCintiq, "DTH1152" }, /* Touch */
+ { WACOM_VENDOR_ID, 0x382, 100000, 100000, &usbCintiq, "DTK2451" },
+ { WACOM_VENDOR_ID, 0x37D, 100000, 100000, &usbCintiq, "DTH2452" },
+ { WACOM_VENDOR_ID, 0x37E, 100000, 100000, &usbCintiq, "DTH2452" }, /* Touch */
{ WACOM_VENDOR_ID, 0x41, 100000, 100000, &usbIntuos2, "Intuos2 4x5" },
{ WACOM_VENDOR_ID, 0x42, 100000, 100000, &usbIntuos2, "Intuos2 6x8" },
diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c
index 921b564..95c8a2c 100644
--- a/src/wcmValidateDevice.c
+++ b/src/wcmValidateDevice.c
@@ -334,6 +334,9 @@ int wcmDeviceTypeKeys(InputInfoPtr pInfo)
case 0x356:/* Cintiq Pro 32 Touch */
case 0x35A:/* DTH-1152*/
case 0x368:/* DTH-1152 Touch */
+ case 0x382:/* DTK-2451 */
+ case 0x37D:/* DTH-2452 */
+ case 0x37E:/* DTH-2452 Touch */
TabletSetFeature(priv->common, WCM_LCD);
break;
}