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:
a) Add the following block after the end of the last Section "?InputDevice".
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
With the optional:
InputDevice "eraser" InputDevice "cursor"
- c) Restart the X server, and the pen should now function with pressure.
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.
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.
Fast-forward to Debian Jessie, where some touchpads are newly temperamental: when clicking or dragging, the pointer will often shoot across the screen at random. The culprit is a subtle bug in the xf86-input-wacom driver, rendered harmless and invisible by subsequent updates to the kernel, but eventually discovered and fixed upstream. If you're among the afflicted, and you're not ready to upgrade to Stretch, you can install version 0.32.0 of xf86-input-wacom or you can upgrade to a newer kernel via jessie-backports.