See also WacomArtPadII which describes how to set up a serial tablet on woody.

Check it's alive

To find out which /dev/input/eventX is which mouse, use 'sudo xxd /dev/input/mouseX' and move the pen or mouse. Use 'Ctrl+C' to quit.

    $ sudo xxd /dev/input/wacom
    0000000: 4276 1d36 0009 30b1 0001 0140 0000 0001  Bv.6..0....@....
    0000010: 4276 1d36 0009 30b6 0003 0000 0000 020e  Bv.6..0.........
    0000020: 4276 1d36 0009 30b7 0003 0001 0000 0418  Bv.6..0.........
    (Ctrl+C)

The new wacom-tools package provide a udev rule that create a symlink from /dev/input/wacom to the appropriate /dev/input/eventX. If you do not use udev you will need to replace /dev/input/wacom by the correct device (/dev/?ttySX for serial or /dev/input/eventX for USB).

Add the new device to the X configuration

You'll have to edit /etc/X11/?XF86Config-4 as follow:

   Section "InputDevice"
        Identifier   "stylus"
        Driver       "wacom"
        Option       "Mode" "Absolute"
        Option       "Type" "stylus"
        Option       "Device" "/dev/input/wacom"
   Endsection

If your tablet has an eraser and/or additional mouse:

   # Settings for wacom eraser
   Section "InputDevice"
        Identifier   "eraser"
        Driver       "wacom"
        Option       "Mode" "Absolute"
        Option       "Type" "eraser"
        Option       "Device" "/dev/input/wacom"
   Endsection
   # Settings for wacom cursor (mouse)
   Section "InputDevice"
        Identifier   "cursor"
        Driver       "wacom"
        Option       "Mode" "Absolute"
        Option       "Type" "cursor"
        Option       "Device" "/dev/input/wacom"
   Endsection
* b) Find '''Section''' "ServerLayout" and put in the following three lines

    InputDevice    "stylus"

With the optional:

    InputDevice    "eraser"
    InputDevice    "cursor"

Gimp

In Gimp, there is a convenient window at 'File->Dialogues->Device Status' which tells you what input device the Xserver has found (see also xinput).

To make pressure sensitivity work in the Gimp, open the "Preferences->Input Devices->Configure extended input devices" dialog and choose stylus from the device dropdown. Then set the mode dropdown to the mode you'd like the table to use. *Window* means the tablet input will be mapped to the current image window, and *Screen* means the tablet will be mapped to the screen as usual. You can also change the axis.

Issues

Debian Sarge now contains update in the kernel and xfree. However, it seems the Wacom support got broken in some kernel > 2.6.5. Later kernels (2.6.10, 2.6.12?) do not require patching. The tablet is recognized, but has troubles in X: when moving the pen, the kernel gets stuck in the upper right corner of the screen. More info about this found at https://www.ubuntulinux.org/wiki/WacomTabletIssue

Patching the kernel mousedev.c with the patch found at http://bugzilla.ubuntu.com/attachment.cgi?id=492 almost fixed this problem. The tablet was behaving fine as a mouse (/dev/input/mice), but could not talk to X through /dev/input/eventX (xidump was not working)

In some cases it may be required to evdev to the hotplug blacklist.