Een Wacom-apparaat configureren Een WacomWacom
-apparaat configureren

Nadat de tablet-pc-pakketten zijn geďnstalleerd, configureert u het tablet-apparaat. SUSE Linux Enterprise biedt momenteel geen ondersteuning voor de configuratie van Wacom-apparaten met SaX2. In plaats daarvan moet u een systeemconfiguratiebestand bewerken. Alleen de systeembeheerder kan de wijzigingen aanbrengen aan het bestand /etc/X11/xorg.conf.

[Warning]Een onjuiste X-configuratie kan schade aan de hardware veroorzaken

Voordat u het bestand /etc/X11/xorg.conf bewerkt, moet u een reservekopie maken van het oorspronkelijke bestand. Bewerk geen andere secties van het bestand, want dit kan schade aan de hardware veroorzaken.

Voor Wacom-apparaten voegt u enkele regels toe aan /etc/X11/xorg.conf, zoals te zien is in Voorbeeld E.1, "Configuratie voor Wacom-apparaten".

Voorbeeld E.1. Configuratie voor Wacom-apparaten

  1. Voeg de volgende InputDevice-secties toe:

      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

    Configuratie voor het tablet-invoerapparaat met cursor dat is aangesloten op /dev/ttyS0. Als u een HP Compaq tc4200 gebruikt, kunt u in plaats hiervan /dev/ttyS2 proberen. Het apparaat krijgt de id "Mouse[5]" om problemen met toekomstige SaX2-versies te voorkomen.

    2

    Configuratie voor het tablet-invoerapparaat met stift.

    3

    Configuratie voor het tablet-invoerapparaat met gum. Dit deel van de pen kan in sommige toepassingen worden gebruikt om invoer te wissen.

  2. Voeg de volgende regels toe aan de sectie ServerLayout:

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

    Met deze wijzigingen moet het bestand /etc/X11/xorg.conf er ongeveer als volgt uitzien:

       [...]
       
       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

    Standaardmuisconfiguratie.

    2

    Nieuw toegevoegde configuratie voor tablet-invoerapparaat met cursor.

    3

    Nieuw toegevoegde configuratie voor tablet-invoerapparaat met stift.

    4

    Nieuw toegevoegde configuratie voor tablet-invoerapparaat met gum.

    5

    De tablet-invoerapparaten "Mouse[5]", "Mouse[7]" en "Mouse[9]" worden toegevoegd aan de X-serverapparaten.

    Deze voorbeeldconfiguratie werkt voor de meeste tablet-pc's. Voor meer informatie gaat u naar HOWTO op de Linux Wacom-website: http://linuxwacom.sourceforge.net/index.php/howto/x11.

  3. Nadat u de X Window-systeemconfiguratie hebt voltooid, start u de X-server opnieuw door u af te melden of de gebruikersinterface te verlaten en init 3 && init 5 uit te voeren in een virtuele console.