summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPing Cheng <ping.cheng@wacom.com>2019-09-10 21:40:58 -0400
committerPing Cheng <ping.cheng@wacom.com>2019-09-10 21:40:58 -0400
commit3eb70aeb87a2aed091cf3bd80e6236aa9c1fdbaf (patch)
tree595554d251221192bcce8fe0ba31147fe842bce9
parentef943197cc912f782412dcbe02aac92a8fb4d61f (diff)
downloadxf86-input-wacom-3eb70aeb87a2aed091cf3bd80e6236aa9c1fdbaf.tar.gz
Support new MobileStudio Pro for older kernels
Support new MobileStudio Pro 13 and 16 Signed-off-by: Ping Cheng <ping.cheng@wacom.com>
-rw-r--r--src/wcmUSB.c4
-rw-r--r--src/wcmValidateDevice.c6
2 files changed, 9 insertions, 1 deletions
diff --git a/src/wcmUSB.c b/src/wcmUSB.c
index f7aea3a..0e781ac 100644
--- a/src/wcmUSB.c
+++ b/src/wcmUSB.c
@@ -310,6 +310,10 @@ static struct WacomModelDesc
{ WACOM_VENDOR_ID, 0x355, 200000, 200000, &usbCintiqV5, "Cintiq Pro 24" }, /* Touch */
{ WACOM_VENDOR_ID, 0x356, 200000, 200000, &usbCintiqV5, "Cintiq Pro 32" }, /* Touch */
{ WACOM_VENDOR_ID, 0x37C, 200000, 200000, &usbCintiqV5, "Cintiq Pro 24" }, /* Pen-only model */
+ { WACOM_VENDOR_ID, 0x398, 200000, 200000, &usbCintiqV5, "Mobilestudio Pro 13" },
+ { WACOM_VENDOR_ID, 0x399, 200000, 200000, &usbCintiqV5, "MobileStudio Pro 16" },
+ { WACOM_VENDOR_ID, 0x39A, 200000, 200000, &usbCintiqV5, "MobileStudio Pro 13" }, /* Touch */
+ { WACOM_VENDOR_ID, 0x39B, 200000, 200000, &usbCintiqV5, "MobileStudio Pro 16" }, /* Touch */
{ WACOM_VENDOR_ID, 0x90, 100000, 100000, &usbTabletPC, "TabletPC 0x90" },
{ WACOM_VENDOR_ID, 0x93, 100000, 100000, &usbTabletPC, "TabletPC 0x93" },
diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c
index a389c81..0b20bd7 100644
--- a/src/wcmValidateDevice.c
+++ b/src/wcmValidateDevice.c
@@ -203,7 +203,9 @@ int wcmDeviceTypeKeys(InputInfoPtr pInfo)
/* fall through */
case 0x34D: /* MobileStudio Pro 13 */
- case 0x34E: /* MobileStudio Pro 13 */
+ case 0x34E: /* MobileStudio Pro 16 */
+ case 0x398: /* MobileStudio Pro 13 */
+ case 0x399: /* MobileStudio Pro 16 */
TabletSetFeature(priv->common, WCM_LCD);
/* fall through */
@@ -355,6 +357,8 @@ int wcmDeviceTypeKeys(InputInfoPtr pInfo)
case 0x382:/* DTK-2451 */
case 0x37D:/* DTH-2452 */
case 0x37E:/* DTH-2452 Touch */
+ case 0x39A:/* MobileStudio Pro 13 Touch */
+ case 0x39B:/* MobileStudio Pro 16 Touch */
TabletSetFeature(priv->common, WCM_LCD);
break;
}