From 35047a3156be05b9ebc44ad4c43e0c9b62a85a03 Mon Sep 17 00:00:00 2001 From: Ping Cheng Date: Wed, 31 Jan 2018 17:51:17 -0800 Subject: Support DTK-2451 and DTH-2452 on older kernels Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer --- src/wcmUSB.c | 3 +++ src/wcmValidateDevice.c | 3 +++ 2 files changed, 6 insertions(+) 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; } -- cgit v1.2.1