När Tablet PC-paketen har installerats konfigurerar du ritplattan. För närvarande kan du inte konfigurera Wacom-enheter med SaX2 i SUSE Linux Enterprise. I stället måste du redigera en systemkonfigurationsfil. Endast systemadministratören kan göra ändringar i filen /etc/X11/xorg.conf.
![]() | En felaktig X-konfiguration kan skada maskinvaran |
|---|---|
Säkerhetskopiera originalfilen innan du redigerar filen | |
För Wacom-enheter lägger du till några rader i /etc/X11/xorg.conf (se Exempel E.1, “Konfiguration av Wacom-enheter”).
Exempel E.1. Konfiguration av Wacom-enheter
Lägg till följande InputDevice-avsnitt:
Section "InputDevice"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"
Driver "wacom" Identifier "Mouse[7]" Option "Device" "/dev/ttyS0" Option "ForceDevice" "ISDV4" Option "InputFashion" "Pen" Option "Mode" "Absolute" Option "Type" "stylus" EndSection Section "InputDevice"
Driver "wacom" Identifier "Mouse[9]" Option "Device" "/dev/ttyS0" Option "ForceDevice" "ISDV4" Option "InputFashion" "Eraser" Option "Mode" "Absolute" Option "Type" "eraser" EndSection
Lägg till följande rader i avsnittet ServerLayout:
InputDevice "Mouse[5]" "SendCoreEvents"
InputDevice "Mouse[7]" "SendCoreEvents"
InputDevice "Mouse[9]" "SendCoreEvents"
Efter dessa ändringar bör /etc/X11/xorg.conf se ut så här:
[...] Section "InputDevice"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"
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"
Driver "wacom" Identifier "Mouse[7]" Option "Device" "/dev/ttyS0" Option "ForceDevice" "ISDV4" Option "InputFashion" "Pen" Option "Mode" "Absolute" Option "Type" "stylus" EndSection Section "InputDevice"
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"
InputDevice "Mouse[7]" "SendCoreEvents" InputDevice "Mouse[9]" "SendCoreEvents" Option "Clone" "off" Option "Xinerama" "off" Screen "Screen[0]" EndSection
Den här exempelkonfigurationen bör fungera på de flesta Tablet PC-datorer. Mer information och anvisningar finns på Linux Wacom-webbplatsen: http://linuxwacom.sourceforge.net/index.php/howto/x11.
När du har slutfört konfigurationen av X Window System startar du om X-servern genom att logga ut eller lämna användargränssnittet och kör sedan init 3 && init 5 i en virtuell konsol.