Configuring Your Wacom
Device

After the Tablet PC packages have been installed, configure your tablet device. Currently, SUSE Linux Enterprise does not support configuration of Wacom devices with SaX2. Instead, it is necessary to edit a system configuration file. Only the system administrator can make the changes to the /etc/X11/xorg.conf file.

[Warning]A Faulty X Configuration Can Damage Your Hardware

Before editing the /etc/X11/xorg.conf file, create a backup of the original file. Do not edit other sections of the file, because this can cause damage to your hardware.

For Wacom devices, add a couple of lines to /etc/X11/xorg.conf as shown in Example E.1, “Configuration for Wacom Devices”.

Example E.1. Configuration for Wacom Devices

  1. Add the following InputDevice sections:

      Section "InputDevice" 1
        Driver       "wacom"
        Identifier   "Mouse[5]"
        Option       "Device" "/dev/ttyS0"
        Option       "ForceDevice" "ISDV4"
        Option       "InputFashion" "Tablet"
        Option       "Mode" "Absolute"
        Option       "SendCoreEvents" "on"
        Option       "Type" "cursor"
      EndSection
      
      Section "InputDevice" 2
        Driver       "wacom"
        Identifier   "Mouse[7]"
        Option       "Device" "/dev/ttyS0"
        Option       "ForceDevice" "ISDV4"
        Option       "InputFashion" "Pen"
        Option       "Mode" "Absolute"
        Option       "Type" "stylus"
      EndSection
      
      Section "InputDevice" 3
        Driver       "wacom"
        Identifier   "Mouse[9]"
        Option       "Device" "/dev/ttyS0"
        Option       "ForceDevice" "ISDV4"
        Option       "InputFashion" "Eraser"
        Option       "Mode" "Absolute"
        Option       "Type" "eraser"
      EndSection
         

    1

    Configuration for the tablet cursor input device connected to /dev/ttyS0. If you use a HP Compaq tc4200, try /dev/ttyS2 instead. The device is given the "Mouse[5]" identifier to avoid problems in upcoming SaX2 versions.

    2

    Configuration for the tablet stylus input device.

    3

    Configuration for the tablet eraser input device. This part of the pen can be used in some applications to erase input.

  2. Add the following lines to the ServerLayout section:

      InputDevice  "Mouse[5]" "SendCoreEvents"
      InputDevice  "Mouse[7]" "SendCoreEvents"
      InputDevice  "Mouse[9]" "SendCoreEvents"
         

    With these changes, your /etc/X11/xorg.conf should resemble the following:

       [...]
       
       Section "InputDevice"  1
         Driver       "mouse"
         Identifier   "Mouse[3]"
         Option       "Buttons" "5"
         Option       "Device" "/dev/input/mice"
         Option       "Name" "ImPS/2 Generic Wheel Mouse"
         Option       "Protocol" "explorerps/2"
         Option       "Vendor" "Sysp"
         Option       "ZAxisMapping" "4 5"
       EndSection
       
       Section "InputDevice"  2
         Driver       "wacom"
         Identifier   "Mouse[5]"
         Option       "Device" "/dev/ttyS0"
         Option       "ForceDevice" "ISDV4"
         Option       "InputFashion" "Tablet"
         Option       "Mode" "Absolute"
         Option       "SendCoreEvents" "on"
         Option       "Type" "cursor"
       EndSection
       
       Section "InputDevice"  3
         Driver       "wacom"
         Identifier   "Mouse[7]"
         Option       "Device" "/dev/ttyS0"
         Option       "ForceDevice" "ISDV4"
         Option       "InputFashion" "Pen"
         Option       "Mode" "Absolute"
         Option       "Type" "stylus"
       EndSection
       
       Section "InputDevice" 4
         Driver       "wacom"
         Identifier   "Mouse[9]"
         Option       "Device" "/dev/ttyS0"
         Option       "ForceDevice" "ISDV4"
         Option       "InputFashion" "Eraser"
         Option       "Mode" "Absolute"
         Option       "Type" "eraser"
       EndSection
       
       [...]
       
       Section "ServerLayout"
         Identifier   "Layout[all]"
         InputDevice  "Keyboard[0]" "CoreKeyboard"
         InputDevice  "Mouse[1]" "CorePointer"
         InputDevice  "Mouse[3]" "SendCoreEvents"
         InputDevice  "Mouse[5]" "SendCoreEvents"  5
         InputDevice  "Mouse[7]" "SendCoreEvents"  
         InputDevice  "Mouse[9]" "SendCoreEvents"  
         Option       "Clone" "off"
         Option       "Xinerama" "off"
         Screen       "Screen[0]"
       EndSection
      

    1

    Default mouse configuration.

    2

    Newly added configuration for tablet cursor input device.

    3

    Newly added configuration for the tablet stylus input device.

    4

    Newly added configuration for the tablet eraser input device.

    5

    The tablet input devices "Mouse[5]", "Mouse[7]", and "Mouse[9]" are added to the X server devices.

    This example configuration should work on most Tablet PCs. For more information check the HOWTO on the Linux Wacom Web site: http://linuxwacom.sourceforge.net/index.php/howto/x11.

  3. After finishing the X Window System configuration, restart your X server by logging out or leave the user interface and run init 3 && init 5 in a virtual console.



SUSE Linux Enterprise Desktop GNOME User Guide 10 SP2