Ubuntu 10.04 + Wacom Bamboo + TwinView

in

how to get your Wacom Bamboo to work in Ubuntu 10.04 "Lucid Lynx" using an NVIDIA "TwinView" setup.

drivers:

at the time of writing lucids kernel is: 2.6.32-23-generic
uname -r

X server version: X.Org X Server 1.7.6
Xorg -version

you'll need this information to get the right versions from
-> The Linux Wacom Project

currently these are 0.8.8-3 for the kernel module
and 0.10.7 for the X driver.

to build the kernel module you need to enable it during configuration
./configure --enable-wacom
make
cp src/2.6.30/wacom.ko /lib/modules/`uname
-r`/kernel/drivers/usb/input/

UPDATE: on ubuntu lucid this seems to be:  /lib/modules/`uname
-r`/kernel/drivers/input/tablet/

either modprobe wacom now (and every reboot) or add it to /etc/modules

as for the X input driver, simply
./configure
make
sudo make install

UPDATE: had to use ./configure --prefix=/usr
and install pkg xutils-dev to get it working with the latest kernel (2.6.32-24-generic)

restart X or reboot and your tablet should be recognized like so:
input: Wacom BambooFun 2FG 4x5 Pen as /devices/pci.../input/input11
input: Wacom BambooFun 2FG 4x5 Finger as /devices/pci.../input/input12

settings:

you can change all sorts of parameters using xsetwacom
to get an idea try: man wacom

I never got xsetwacom to recognize the device string, but it works just
fine with the device IDs.
to find out your devices' IDs use this command:
xsetwacom --verbose --list

should output something like this:
... Found device 'Wacom BambooFun 2FG 4x5 Pen' (15).
Wacom BambooFun 2FG 4x5 Pen STYLUS    

where the number in brackets (15) is the ID you're looking for.

now for the dualscreen setup all I had to do to adjust it to my likings was:

xsetwacom --set 15 twinview horizontal
which makes the tablet work on 1 screen with full resolution and lets you switch over to the other at the very edge.

that's about it, have phun ;-)

UPDATE: works with device strings like this:
xsetwacom set 'Wacom BambooFun 2FG 4x5 Pen' TwinView horizontal

UPDATE: since recent driver/kernel it is:
xsetwacom set 'Wacom BambooFun 2FG 4x5 Pen stylus' TwinView horizontal
xsetwacom set 'Wacom BambooFun 2FG 4x5 Pen eraser' TwinView horizontal

UPDATE:  since version 0.10.11
PressCurve is now called PressureCurve
instead of Button1 it's now Button 1 (note the space)

support for TwinView and Multimonitor has been removed from the driver.
to map the tablet to only one screen use something similar to this:

xsetwacom get "Wacom BambooFun 2FG 4x5 Pen stylus" Area
0 0 14720 9200
to map it to the left screen, double the third value and set like:
xsetwacom set "Wacom BambooFun 2FG 4x5 Pen stylus" Area "0 0 29440 9200"
for the right screen use the negative third value as the first:
xsetwacom set "Wacom BambooFun 2FG 4x5 Pen stylus" Area "-14720 0 14720 9200"

have yet to find a way to still get the old edge switching behaviour.

- EXAMPLE ~/.Xsession file -

## wacom setup
# make Pen stylus + eraser use full resolution per screen:
xsetwacom set 'Wacom BambooFun 2FG 4x5 Pen stylus'
Area "0 0 29440 9200"
xsetwacom set 'Wacom BambooFun 2FG 4x5 Pen eraser' Area "0 0 29440 9200"

# soften stylus' pressure sensitivity a bit:
xsetwacom set 'Wacom BambooFun 2FG 4x5 Pen stylus' PressureCurve 0 15 85 100
# turn off touchpad
xsetwacom set 'Wacom BambooFun 2FG 4x5 Finger touch' touch off
# map buttons
xsetwacom set 'Wacom BambooFun 2FG 4x5 Finger pad' Button 1 'key ctrl z' # undo
xsetwacom set 'Wacom BambooFun 2FG 4x5 Finger pad' Button 2 'key shift'
xsetwacom set 'Wacom BambooFun 2FG 4x5 Finger pad' Button 3 'key ctrl'
xsetwacom set 'Wacom BambooFun 2FG 4x5 Finger pad' Button 4 'key ctrl shift z' # redo