Add the Bamboo Pen Medium CTL-660/K (D5) to input-wacom.  Stylus with
two side buttons (rocker switch).

Dave

PS:  Gerard Braad submitted it to linux-input 7-9-11 (08ba5ad).
However he used (21648, 13530) which is what the other BambooPTs have.
 But the specifications I see for it say 21650, 13700 for the active
area.  Also I agree with Chris and instead of "Wacom Bamboo Pen" it
should be "Wacom Bamboo Pen 6x8" or "Wacom Bamboo Pen Medium"
From 7ec37956b3d4c8803063792cb809bff8feda4932 Mon Sep 17 00:00:00 2001
From: David Foley <favux...@gmail.com>
Date: Tue, 6 Sep 2011 20:22:19 -0500
Subject: [PATCH] wacom_wac.c:  Add the D5

Add the Bamboo Pen Medium CTL-660/K (D5) to input-wacom.  Stylus with two side buttons (rocker switch).

Tested-by: Tommy Chen <cs900...@yahoo.cn>
Signed-off-by: David Foley <favux...@gmail.com>
---
 2.6.36/wacom_wac.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/2.6.36/wacom_wac.c b/2.6.36/wacom_wac.c
index 7d55173..631bf7d 100644
--- a/2.6.36/wacom_wac.c
+++ b/2.6.36/wacom_wac.c
@@ -1399,6 +1399,8 @@ static const struct wacom_features wacom_features_0xD3 =
 	{ "Wacom Bamboo 2FG 6x8", WACOM_PKGLEN_BBFUN,     21648, 13530, 1023, 63, BAMBOO_PT };
 static const struct wacom_features wacom_features_0xD4 =
 	{ "Wacom Bamboo Pen 4x5", WACOM_PKGLEN_BBFUN,     14720,  9200, 1023, 63, BAMBOO_PT };
+static const struct wacom_features wacom_features_0xD5 =
+	{ "Wacom Bamboo Pen 6x8", WACOM_PKGLEN_BBFUN,     21650, 13700, 1023, 63, BAMBOO_PT };
 static const struct wacom_features wacom_features_0xD6 =
 	{ "Wacom BambooPT 2FG 4x5", WACOM_PKGLEN_BBFUN,   14720,  9200, 1023, 63, BAMBOO_PT };
 static const struct wacom_features wacom_features_0xD7 =
@@ -1497,6 +1499,7 @@ const struct usb_device_id wacom_ids[] = {
 	{ USB_DEVICE_WACOM(0xD2) },
 	{ USB_DEVICE_WACOM(0xD3) },
 	{ USB_DEVICE_WACOM(0xD4) },
+	{ USB_DEVICE_WACOM(0xD5) },
 	{ USB_DEVICE_WACOM(0xD6) },
 	{ USB_DEVICE_WACOM(0xD7) },
 	{ USB_DEVICE_WACOM(0xD8) },
-- 
1.7.1

From 8c98bd760f1c6c7f0bc9a47cd4b72b4ca0988a45 Mon Sep 17 00:00:00 2001
From: David Foley <favux...@gmail.com>
Date: Tue, 6 Sep 2011 21:00:39 -0500
Subject: [PATCH] wacom_wac.c(2.6.30):  Add the D5

Add the Bamboo Pen Medium CTL-660/K (D5) to input-wacom.  Stylus with two side buttons (rocker switch).

Tested-by: Tommy Chen <cs900...@yahoo.cn>
Signed-off-by: David Foley <favux...@gmail.com>
---
 2.6.30/wacom_wac.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/2.6.30/wacom_wac.c b/2.6.30/wacom_wac.c
index f9c9f2c..56cd084 100755
--- a/2.6.30/wacom_wac.c
+++ b/2.6.30/wacom_wac.c
@@ -1330,6 +1330,8 @@ static const struct wacom_features wacom_features_0xD3 =
 	{ "Wacom BambooFun 2FG 6x8", WACOM_PKGLEN_BBFUN,  21648, 13530, 1023, 63, BAMBOO_PT };
 static const struct wacom_features wacom_features_0xD0 =
 	{ "Wacom Bamboo 2FG",     WACOM_PKGLEN_BBFUN,     14720,  9200, 1023, 63, BAMBOO_PT };
+static const struct wacom_features wacom_features_0xD5 =
+	{ "Wacom Bamboo Pen 6x8", WACOM_PKGLEN_BBFUN,     21650, 13700, 1023, 63, BAMBOO_PT };
 static const struct wacom_features wacom_features_0xD6 =
 	{ "Wacom BambooPT 2FG 4x5", WACOM_PKGLEN_BBFUN,   14720,  9200, 1023, 63, BAMBOO_PT };
 static const struct wacom_features wacom_features_0xD7 =
@@ -1502,6 +1504,7 @@ const struct usb_device_id wacom_ids[] = {
 	{ USB_DEVICE_WACOM(0xD2) },
 	{ USB_DEVICE_WACOM(0xD3) },
 	{ USB_DEVICE_WACOM(0xD0) },
+	{ USB_DEVICE_WACOM(0xD5) },
 	{ USB_DEVICE_WACOM(0xD6) },
 	{ USB_DEVICE_WACOM(0xD7) },
 	{ USB_DEVICE_WACOM(0xD8) },
-- 
1.7.1

------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to