My new toy: Wacom Bamboo Graphics tablet- getting to work under Opensuse 11.0

Well, it seemed to work out of the box, but not properly.
Luckily, I had seen a write-up of it in Linux format the other month, so first I made sure that I had the x-input-wacom and x-input-wacom-tools packages installed.
I tried setting it up with Sax2, but it set it up as multiple mice with /input/event0.

I had to make a symlink to ensure that the device kept the right input, as many devices will change their input number depending on what is plugged in at any particular point,
So, I created a new udev rule in /etc/udev/rules.d, called 10-local.rules, containing the following:

# Create /dev/input/wacom symlink for Wacom tablet
KERNEL=="event*", ATTRS{name}=="Wacom Bamboo", SYMLINK+="input/wacom" 

This makes sure that the device is always referenced correctly, as /dev/input/event# can change.
You can use the  /dev/input/by-path or /dev/input/by-id links, but I feel that this is clearer.
Aren’t Symlinks wonderful!

Then I edited /etc/X11/Xorg.conf, adding the following code to the end (found on the LXF cover DVD, thanks to Michael J Hammel!)


Section "InputDevice"
Driver   "wacom"
Identifier "stylus"
Option   "Device"  "/dev/input/wacom"
Option   "Type"   "stylus"
Option   "USB"    "on"
EndSection

Section “InputDevice”
Driver   “wacom”
Identifier “eraser”
Option   “Device”  “/dev/input/wacom”
Option   “Type”   “eraser”
Option   “USB”    “on”
EndSection

Section “InputDevice”
Driver   “wacom”
Identifier “cursor”
Option   “Device”  “/dev/input/wacom”
Option   “Type”   “cursor”
Option   “USB”    “on”
EndSection

Section “InputDevice”
Driver   “wacom”
Identifier “pad”
Option   “Device”  “/dev/input/wacom”
Option   “Type”   “pad”
Option   “USB”    “on”
Option   “Button1”  “6”
Option   “Button2”  “7”
Option   “Button3”  “4”
Option   “Button4”  “5”
EndSection

and the following to the “server layout” section:

InputDevice   "stylus"  "SendCoreEvents"
InputDevice   "cursor"  "SendCoreEvents"
InputDevice   "eraser"  "SendCoreEvents"
InputDevice   "pad"    "SendCoreEvents"

it now works perfectly, and I just have to map the pad etc in GIMP.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s