When I tried to make my Wacom Intuos 4 (M) tablet work under openSUSE 11.3 (x86-64 edition), I started with giving the prebuilt package wacom-kmp-desktop (or, depending on what kernel you have, -default, -pae or -xen) a shot. Unfortunately, it didn't work out of the box.
I removed the package and searched the web for useful instructions. I found a lot of useful resources, however, none comprised all the information I needed. Thus I wrote down all the steps that were necessary to make the tablet work on my system. I found this blog entry on setting up a Wacom Bamboo tablet under openSUSE 11.3 very helpful and follow its structure quite closely.
For the following, I assume that you have a working openSUSE 11.3 (x86-64 edition) installation, including.
- Install the packages kernel-source, kernel-syms, xorg-x11-server-sdk and the standard build infrastructure (such as make and friends) with YaST or zypper.
- Get the two source packages for the wacom kernel driver and the X utilities and driver from the Linux Wacom project. At the time of this writing, the stable versions were 0.8.8-10 and 0.10.8, respectively.
- Build and install the kernel driver:
tar xjf linuxwacom-0.8.8-10.tar.bz2 cd linuxwacom-0.8.8-10 ./configure --prefix=/usr --libdir=/usr/lib64 --enable-wacom
I found the hint on correct usage of configure flags in the Linux Wacom project forum.
- Copy the newly built driver to the modules directory:
sudo cp src/2.6.30/wacom.ko \ /lib/modules/`uname -r`/kernel/drivers/input/tablet/ - Build the X11 utilities and driver:
tar xjf xf86-input-wacom-0.10.8.tar.bz2 cd xf86-input-wacom-0.10.8 ./configure --prefix=/usr --libdir=/usr/lib64 make sudo make install
- Copy the X drivers to the default location so that they're found:
sudo cp /usr/local/lib/xorg/modules/input/wacom_drv.* \ /usr/lib64/xorg/modules/input/ - Remove any updates for the driver:
sudo rm /lib/modules/`uname -r`/weak-updates/updates/wacom.ko
- Create the file /etc/udev/rules.d/60-wacom.rules with the following contents:
# udev rules for wacom tablets. KERNEL!="event[0-9]*", GOTO="wacom_end" # Multiple interface support for stylus and touch devices. DRIVERS=="wacom", ATTRS{bInterfaceNumber}=="00", ENV{WACOM_TYPE}="stylus" DRIVERS=="wacom", ATTRS{bInterfaceNumber}=="01", ENV{WACOM_TYPE}="touch" # Convenience links for the common case of a single tablet. # We could do just this: # ATTRS{idVendor}=="056a", SYMLINK+="input/wacom-$env{WACOM_TYPE}" # but for legacy reasons, we keep the input/wacom link as the # generic stylus device. ATTRS{idVendor}=="056a", ENV{WACOM_TYPE}!="touch", SYMLINK+="input/wacom" ATTRS{idVendor}=="056a", ENV{WACOM_TYPE}=="touch", SYMLINK+="input/wacom-touch" # Check and repossess the device if a module other than the wacom one # is already bound to it. ATTRS{idVendor}=="056a", ACTION=="add", RUN+="check_driver wacom $devpath $env{ID_BUS}" LABEL="wacom_end" - Create (or edit) the file /etc/X11/xorg.conf.d/20-wacom.conf with the following contents:
Section "InputDevice" Driver "wacom" Identifier "stylus" Option "Device" "/dev/input/wacom" # USB ONLY Option "Type" "stylus" Option "USB" "on" # USB ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "eraser" Option "Device" "/dev/input/wacom" # USB ONLY Option "Type" "eraser" Option "USB" "on" # USB ONLY EndSection # This section is for USB Bamboo with touch Section "InputDevice" Driver "wacom" Identifier "pad" Option "Device" "/dev/input/wacom" # USB ONLY Option "Type" "pad" Option "USB" "on" # USB ONLY EndSection Section "ServerLayout" Identifier "Layout[all]" InputDevice "stylus" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" InputDevice "pad" "SendCoreEvents" EndSection
- Regenerate the module dependencies (as root):
depmod -e
This is taken from the Linux Wacom project HOWTO and tweaked a bit (could probably be improved a lot since I have no experience with configuring X).
That's it. Connect the tablet and restart X. You should now also be able to use the utility xsetwacom (or its graphical frontends such as kcm_tablet under KDE) to configure the tablet's behaviour.
With the setup described above, hotplugging doesn't work. Any hints on how to achieve this are appreciated.


