Differences between revisions 13 and 14
Revision 13 as of 2005-05-02 12:30:31
Size: 3516
Editor: anonymous
Comment:
Revision 14 as of 2005-05-08 19:23:20
Size: 3439
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
 * a) Change your Configured / Generic Mouse to listen to /dev/input/mouseX instead of /dev/input/mice.  * a) Add the following block after the end of the last '''Section''' "InputDevice".
Line 23: Line 23:
        Identifier "Configured Mouse"
        ...
        #Option "Device" "/dev/input/mice"
        Option "Device" "/dev/input/mouse0"
}}}

FIXME: avoid this first step?

 * b) Add the following block after the end of the last '''Section''' "InputDevice".
{{{
   Section "InputDevice"
        Identifier "pen1"
        Identifier "stylus"
Line 40: Line 29:
}}}

If you have tablet has eraser and/or additional mouse:
{{{
Line 42: Line 35:
        Identifier "eraser1"         Identifier "eraser"
Line 50: Line 43:
        Identifier "cursor1"         Identifier "cursor"
Line 58: Line 51:
 * c) Find '''Section''' "ServerLayout" and put in the following three lines::  * b) Find '''Section''' "ServerLayout" and put in the following three lines::
Line 60: Line 53:
    InputDevice "pen1" "AlwaysCore"
    InputDevice "eraser1" "AlwaysCore"
    InputDevice "cursor1" "AlwaysCore"
    InputDevice "stylus"
Line 65: Line 56:
 * d) Restart the X server, and the pen should now function with pressure. With the optional:
{{{
    InputDevice "eraser"
    InputDevice "cursor"
}}}

* c) Restart the X server, and the pen should now function with pressure.
Line 68: Line 65:
To make pressure sensitivity work in the Gimp, open the "Input Devices" dialog and choose Pen1 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. 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.

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:

  • 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 you have tablet has 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"
  • c) Restart the X server, and the pen should now function with pressure.

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.