The basic problem is that the bamboo pen and touch (as well as several other "new" bamboos) is not yet supported by the xserver-xorg-input-wacom driver from debian repository (0.10.3 at this time), neither by the kernel (2.6.32-3). So you must compile the newest versions of these drivers yourself, but you'll need to apply a patch because some sources are not ready for Xserver 1.7. You'll need the usual packages needed for compiling, ie build-essentials, patch, and the headers for your kernel. I'll assume you already compiled programs yourself.
If you are trying this long time after I wrote, try installing xserver-xorg-input-wacom first (specially if version is higher than 0.10.3), and see if it works. If not, go ahead.
Basically all the info here was gathered from these posts. which might help you too:
http://forums.linuxmint.com/viewtopic.php?f=49&t=39042
http://ubuntuforums.org/showpost.php?p= ... ostcount=1
http://wiki.archlinux.org/index.php/Wac ... Xorg_setup
Making your tablet work implies the following steps, in order:
1) the kernel, through its wacom module, must recognize your tablet
How to check:
Code: Select all
dmesg | grep input:
2) it must be picked by udev, which will create one or more symlinks for it in /dev/input/
How to check:
Code: Select all
cd /dev/input
sudo cat event0
3) udev must call the correct x driver
How to check:
Code: Select all
cat /var/log/X.0.log | grep wacom
http://sourceforge.net/projects/linuxwacom/files/
As recommended in several posts, I picked the latest linuxwacom (0.8.6) and the latest x driver (0.10.5). We'll need to build both, but we will only install the x driver. From the linuxwacom we'll only pick the kernel module (but for that we'll need to compile anyway)
1) compiling linuxwacom
Unfortunately the linuxwacom0.8.6 is still not yet ready for xserver1.7, which changed several things. So you need to apply a patch. This is the patch I used, which I grabbed on the ubuntu forum post above, and adapted for 0.8.6: http://yorik.uncreated.net/scripts/patc ... r1.7.patch. Apply the patch by copying it where you unzipped linuxwacom, and do
Code: Select all
patch -p1 < patch-linuxwacom-0.8.6-xserver1.7.patch
Then compile normally:
Code: Select all
./configure --enable-wacom --prefix=/usr
make
Code: Select all
ERROR: Kernel configuration is invalid.
include/linux/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it
Code: Select all
WCM_KERNEL_DIR := /lib/modules/2.6.32-3-amd64/source
Code: Select all
WCM_KERNEL_DIR := /usr/src/linux-headers-2.6.32-3-amd64
If all runs well, you'll receive a nice wacom.ko file which is your kernel module. To install, you must copy it to your kernel module path and run depmod.
On my system, the current kernel is 2.6.32-3, so the module path is:
Code: Select all
/lib/modules/2.6.32-3-amd64/kernel/drivers/input/tablet/
Code: Select all
depmod -a
2) compiling the X driver
This was much easier, just go to the directory where you unpacked the file, and run
./autogen.sh
./configure --prefix=/usr
make
If all went well , you can do a 'make install', or, better, use checkinstall, so it will create a .deb package that you can remove easily. Call it xserver-xorg-input-wacom, with the version number you got, so when the debian official driver will reach that number, it will take its place.
3) the udev rule
From xserver1.7, automatic device configuration is not made with HAL anymore, but with udev. So we need an udev rule that will be triggered by the connection of our tablet and call the wacom X driver. I took the latest rule that the debian maintainer of the wacom driver has made:
http://git.debian.org/?p=users/ron/waco ... wacom.udev
By checking the tablet model number with lsusb, (001d) I saw that that model is not included in the udev rule, but it's not really a problem, that lot of rules (one for each model) is for convenience only, and not required to make things work.
All you need to do is to copy that rule to /etc/udev/rules.d, and give it a number. In the official debian package it has nr 69, so you can call yours 69-xserver-xorg-input-wacom.rule too. Now restart (or restart udev with sudo /etc/init.d/udev restart) and a new "wacom" link should appear in /dev/input/ (and a wacom-touch if your tablet has touch too).
Everything you need to do then is to restart your X server.
I had a problem, however, my X didn't load the wacom driver (no error appearing in /var/log/X.0.log, it simply didn't load at all). After looking around and testing, I added this line to my udev rule:
Code: Select all
ACTION=="add|change", SUBSYSTEM=="input", ATTRS{idVendor}=="056a", ENV{x11_driver}="wacom"
One last small thing, the "interaction" between the touchpad and the tablet is sometimes annoying, so I wanted a way to turn the touchpad off if needed. So I bound this line to a keyboard shortcut:
Code: Select all
xsetwacom --set "Wacom BambooFun 2FG 4x5 Finger" touch off