[RFC PATCH] input: wacom - Add support for Bamboo Pen CTL460

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Kevin Granade <kevin.granade@xxxxxxxxx>

Add support for Bamboo Pen CTL460 to wacom tablet driver.

I've been able to get working input with a CTL460 through X, though
I'm not sure if the settings are correct and there are a few issues.
How does one determine these numbers?

I tried 7336 and 4572 for x and y resolution based on the advertised
lpi of the device multiplied by the dimensions of the active area, but
these seemed to be off by about half, so I tried setting the
resolution numbers to match the other Bamboo devices, which seems to
work ok.

I'm not seeing pressure sensitivity in gimp with a pressure levels
setting of either 511 or 1023, is there additional X or gimp setup I
need to do to enable this?

I haven't been able to determine what the "distance" setting should be
other than copying the number used by the other devices, is this
correct?.

The last nit is that I'm not sure how this device fits into the naming
scheme for the similar tablets, would it be something like "Wacom
Bamboo 2FG 4x6", or should it reflect the fact that it is pen-only
somehow?

Signed-off-by: Kevin Granade <kevin.granade@xxxxxxxxx>
---
 drivers/input/tablet/wacom_wac.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c
index b3252ef..aa08ec5 100644
--- a/drivers/input/tablet/wacom_wac.c
+++ b/drivers/input/tablet/wacom_wac.c
@@ -1436,6 +1436,8 @@ static struct wacom_features wacom_features_0xD2 =
        { "Wacom Bamboo Craft",   WACOM_PKGLEN_BBFUN,     14720,
9200, 1023, 63, BAMBOO_PT };
 static 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 CTL460", WACOM_PKGLEN_BBFUN,  14720,
9200, 1023, 63, BAMBOO_PT };

 #define USB_DEVICE_WACOM(prod)                                 \
        USB_DEVICE(USB_VENDOR_ID_WACOM, prod),                  \
@@ -1504,6 +1506,7 @@ const struct usb_device_id wacom_ids[] = {
        { USB_DEVICE_WACOM(0xD1) },
        { USB_DEVICE_WACOM(0xD2) },
        { USB_DEVICE_WACOM(0xD3) },
+       { USB_DEVICE_WACOM(0xD4) },
        { USB_DEVICE_WACOM(0xF0) },
        { USB_DEVICE_WACOM(0xCC) },
        { USB_DEVICE_WACOM(0x90) },
--
1.5.6.5
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux