Hi,
I recently purchased CTL-471/K Wacom Pen Tablet (Bamboo One) (Sl.No
3CFP002700). The active area size is 152*94 mm (6*3.7in) and the tablet has
stylus with rocker switch. The device is identified as with lsusb
Bus 003 Device 003: ID 056a:0300 Wacom Co ltd.
I tried to set it up on my Ubuntu 12.04 LTS system with
3.2.0-51-generic-pae Kernel and X.Org X Server 1.11.3. It did not work.
I updated the wacom kernel from my Ubuntu sources and updated it as shown
below.
{ USB_DEVICE_WACOM(0xDD) },
{ USB_DEVICE_WACOM(0x0300) },/* CTL-471/K/
{ USB_DEVICE_WACOM(0xDE) },
static const struct wacom_features wacom_features_0xDD =
{ "Wacom Bamboo Connect", WACOM_PKGLEN_BBPEN, 14720, 9200,
1023,
31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
/* CTL-471/K support*/
static const struct wacom_features wacom_features_0x0300 =
{ "Wacom Bamboo One", WACOM_PKGLEN_BBPEN, 14720, 9200, 1023,
31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
static const struct wacom_features wacom_features_0xDE =
{ "Wacom Bamboo 16FG 4x5", WACOM_PKGLEN_BBPEN, 14720, 9200,
1023,
31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
and
xf86-input-wacom<http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Xf86-input-wacom>
along with patch at
http://forums.linuxmint.com/viewtopic.php?f=42&t=110408#p652097 The diff
file is enclosed.
I Installed the new kernel and new xf86-input-wacom, but found the system
crashing when tablet is connected.
Am I missing anything?
Thanks
Arjuna
diff --git a/src/wcmUSB.c b/src/wcmUSB.c
index f1504cf..8235d68 100644
--- a/src/wcmUSB.c
+++ b/src/wcmUSB.c
@@ -248,6 +248,7 @@ static struct
{ WACOM_VENDOR_ID, 0x69, 39842, 39842, &usbBamboo1 }, /* Bamboo1 */
{ WACOM_VENDOR_ID, 0x6A, 100000, 100000, &usbBamboo1 }, /* Bamboo1
4x6 */
{ WACOM_VENDOR_ID, 0x6B, 100000, 100000, &usbBamboo1 }, /* Bamboo1
5x8 */
+ { WACOM_VENDOR_ID, 0x0300, 100000, 100000, &usbBamboo1 }, /* Bamboo1
4x6 CTL-471(K)/A */
{ WACOM_VENDOR_ID, 0xB0, 200000, 200000, &usbIntuos3 }, /* Intuos3
4x5 */
{ WACOM_VENDOR_ID, 0xB1, 200000, 200000, &usbIntuos3 }, /* Intuos3
6x8 */
diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c
index 65c6168..04f6105 100644
--- a/src/wcmValidateDevice.c
+++ b/src/wcmValidateDevice.c
@@ -338,7 +338,6 @@ int wcmDeviceTypeKeys(InputInfoPtr pInfo)
return ret;
}
-#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 14
static InputOption*
input_option_new(InputOption *list, char *key, char *value)
{
@@ -364,7 +363,6 @@ input_option_free_list(InputOption **opts)
*opts = tmp;
}
}
-#endif
/**
* Duplicate xf86 options, replace the "type" option with the given type
diff --git a/test/fake-symbols.c b/test/fake-symbols.c
index 688b238..5500038 100644
--- a/test/fake-symbols.c
+++ b/test/fake-symbols.c
@@ -485,41 +485,6 @@ xf86UnblockSIGIO (int wasset)
{
}
-/* This is not the same as the X server one, but it'll do for the tests */
-#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 14
-typedef struct _InputOption {
- struct _InputOption *next;
- char *key;
- char *value;
-} InputOption;
-
-InputOption*
-input_option_new(InputOption *list, const char *key, const char *value)
-{
- InputOption *new;
-
- new = calloc(1, sizeof(InputOption));
- new->key = strdup(key);
- new->value = strdup(value);
- new->next = list;
- return new;
-}
-
-void
-input_option_free_list(InputOption **opts)
-{
- InputOption *tmp = *opts;
- while(*opts)
- {
- tmp = (*opts)->next;
- free((*opts)->key);
- free((*opts)->value);
- free((*opts));
- *opts = tmp;
- }
-}
-#endif
-
#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 16
_X_EXPORT Bool
InitTouchClassDeviceStruct(DeviceIntPtr device, unsigned int max_touches,
diff --git a/test/fake-symbols.h b/test/fake-symbols.h
index cbce546..eed5a0e 100644
--- a/test/fake-symbols.h
+++ b/test/fake-symbols.h
@@ -1,13 +1,8 @@
#include <xorg-server.h>
#include <xf86Xinput.h>
-#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 14
-#define OPTTYPE XF86OptionPtr
-#define CONST const
-#else
#define OPTTYPE pointer
#define CONST
-#endif
extern int xf86ReadSerial (int fd, void *buf, int count);
extern int xf86WriteSerial (int fd, const void *buf, int count);
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel