f1140bd
From 550891802050909033fca84a764fb7b6cb39badb Mon Sep 17 00:00:00 2001
70fa099
From: Benjamin Tissoires <benjamin.tissoires@redhat.com>
70fa099
Date: Wed, 3 Sep 2014 15:43:25 -0400
70fa099
Subject: [PATCH] HID: wacom: Add support for the Cintiq Companion
70fa099
70fa099
The Wacom Cintiq Companion shares the same sensor than the Cintiq
70fa099
Companion Hybrid, with the exception of the different PIDs.
70fa099
70fa099
Bugzilla: 1134969
70fa099
Upstream-status: Queued for 3.18
70fa099
70fa099
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
70fa099
---
70fa099
 drivers/hid/wacom_wac.c | 10 ++++++++++
70fa099
 1 file changed, 10 insertions(+)
70fa099
70fa099
diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c
70fa099
index aa6a08eb7ad6..c3cbbfb5811f 100644
70fa099
--- a/drivers/hid/wacom_wac.c
70fa099
+++ b/drivers/hid/wacom_wac.c
70fa099
@@ -2573,6 +2573,14 @@ static const struct wacom_features wacom_features_0x309 =
70fa099
 	{ "Wacom ISDv5 309", .type = WACOM_24HDT, /* Touch */
70fa099
 	  .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x0307, .touch_max = 10,
70fa099
 	  .check_for_hid_type = true, .hid_type = HID_TYPE_USBNONE };
70fa099
+static const struct wacom_features wacom_features_0x30A =
70fa099
+	{ "Wacom ISDv5 30A", 59352, 33648, 2047, 63,
70fa099
+	  CINTIQ_HYBRID, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 200, 200,
70fa099
+	  .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x30C };
70fa099
+static const struct wacom_features wacom_features_0x30C =
70fa099
+	{ "Wacom ISDv5 30C", .type = WACOM_24HDT, /* Touch */
70fa099
+	  .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x30A, .touch_max = 10,
70fa099
+	  .check_for_hid_type = true, .hid_type = HID_TYPE_USBNONE };
70fa099
 
70fa099
 #define USB_DEVICE_WACOM(prod)						\
70fa099
 	HID_DEVICE(BUS_USB, HID_GROUP_WACOM, USB_VENDOR_ID_WACOM, prod),\
70fa099
@@ -2708,6 +2716,8 @@ const struct hid_device_id wacom_ids[] = {
70fa099
 	{ USB_DEVICE_WACOM(0x304) },
70fa099
 	{ USB_DEVICE_WACOM(0x307) },
70fa099
 	{ USB_DEVICE_WACOM(0x309) },
70fa099
+	{ USB_DEVICE_WACOM(0x30A) },
70fa099
+	{ USB_DEVICE_WACOM(0x30C) },
70fa099
 	{ USB_DEVICE_WACOM(0x30E) },
70fa099
 	{ USB_DEVICE_WACOM(0x314) },
70fa099
 	{ USB_DEVICE_WACOM(0x315) },
70fa099
-- 
70fa099
1.9.3
70fa099