Adds support for the 056a:5010 device which is used for the touchscreen
sensor of the ThinkPad T550.

Bug: https://bugs.launchpad.net/ubuntu/+source/linux-lts-utopic/+bug/1433444
Signed-off-by: Jason Gerecke <jason.gere...@wacom.com>
---
 2.6.30/wacom_wac.c | 3 +++
 2.6.38/wacom_wac.c | 4 ++++
 3.7/wacom_wac.c    | 4 ++++
 3 files changed, 11 insertions(+)

diff --git a/2.6.30/wacom_wac.c b/2.6.30/wacom_wac.c
index e1ca460..ad1f365 100644
--- a/2.6.30/wacom_wac.c
+++ b/2.6.30/wacom_wac.c
@@ -2071,6 +2071,8 @@ static const struct wacom_features wacom_features_0x5000 =
        { "Wacom ISDv4 5000",       WACOM_PKGLEN_MTTPC,   27848, 15752,  255,  
0, MTTPC_B };
 static const struct wacom_features wacom_features_0x5002 =
        { "Wacom ISDv4 5002",       WACOM_PKGLEN_MTTPC,   29576, 16724,  1023,  
0, MTTPC_B };
+static const struct wacom_features wacom_features_0x5010 =
+       { "Wacom ISDv4 5010",       WACOM_PKGLEN_MTTPC,   13756, 7736,  1023,  
0, MTTPC_B };
 static const struct wacom_features wacom_features_0x47 =
        { "Wacom Intuos2 6x8",    WACOM_PKGLEN_INTUOS,    20320, 16240, 1023, 
31, INTUOS };
 static const struct wacom_features wacom_features_0x6004 =
@@ -2198,6 +2200,7 @@ const struct usb_device_id wacom_ids[] = {
        { USB_DEVICE_WACOM(0x4004) },
        { USB_DEVICE_WACOM(0x5000) },
        { USB_DEVICE_WACOM(0x5002) },
+       { USB_DEVICE_WACOM(0x5010) },
        { USB_DEVICE_WACOM(0x300) },
        { USB_DEVICE_WACOM(0x301) },
        { USB_DEVICE_DETAILED(0x302, USB_CLASS_HID, 0, 0) },
diff --git a/2.6.38/wacom_wac.c b/2.6.38/wacom_wac.c
index 33b1684..2a5b01e 100644
--- a/2.6.38/wacom_wac.c
+++ b/2.6.38/wacom_wac.c
@@ -2461,6 +2461,9 @@ static const struct wacom_features wacom_features_0x5000 =
 static const struct wacom_features wacom_features_0x5002 =
        { "Wacom ISDv4 5002",      WACOM_PKGLEN_MTTPC,     29576, 16724,  1023,
          0, MTTPC_B, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+static const struct wacom_features wacom_features_0x5010 =
+       { "Wacom ISDv4 5010",      WACOM_PKGLEN_MTTPC,     13756, 7736,  1023,
+         0, MTTPC_B, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x47 =
        { "Wacom Intuos2 6x8",    WACOM_PKGLEN_INTUOS,    20320, 16240, 1023,
          31, INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
@@ -2699,6 +2702,7 @@ const struct usb_device_id wacom_ids[] = {
        { USB_DEVICE_WACOM(0x4004) },
        { USB_DEVICE_WACOM(0x5000) },
        { USB_DEVICE_WACOM(0x5002) },
+       { USB_DEVICE_WACOM(0x5010) },
        { USB_DEVICE_WACOM(0x47) },
        { USB_DEVICE_WACOM(0xF4) },
        { USB_DEVICE_WACOM(0xF8) },
diff --git a/3.7/wacom_wac.c b/3.7/wacom_wac.c
index 83b871e..183b7a5 100644
--- a/3.7/wacom_wac.c
+++ b/3.7/wacom_wac.c
@@ -2407,6 +2407,9 @@ static const struct wacom_features wacom_features_0x5000 =
 static const struct wacom_features wacom_features_0x5002 =
        { "Wacom ISDv4 5002",      WACOM_PKGLEN_MTTPC,     29576, 16724,  1023,
          0, MTTPC_B, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+static const struct wacom_features wacom_features_0x5010 =
+       { "Wacom ISDv4 5010",      WACOM_PKGLEN_MTTPC,     13756, 7736,  1023,
+         0, MTTPC_B, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
 static const struct wacom_features wacom_features_0x47 =
        { "Wacom Intuos2 6x8",    WACOM_PKGLEN_INTUOS,    20320, 16240, 1023,
          31, INTUOS, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
@@ -2645,6 +2648,7 @@ const struct usb_device_id wacom_ids[] = {
        { USB_DEVICE_WACOM(0x4004) },
        { USB_DEVICE_WACOM(0x5000) },
        { USB_DEVICE_WACOM(0x5002) },
+       { USB_DEVICE_WACOM(0x5010) },
        { USB_DEVICE_WACOM(0x47) },
        { USB_DEVICE_WACOM(0xF4) },
        { USB_DEVICE_WACOM(0xF8) },
-- 
2.3.5


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to