Når du har installeret tavle-pc-pakkerne, skal du konfigurere tavleenheden. I øjeblikket understøtter SUSE Linux Enterprise ikke konfiguration af Wacom-enheder med SaX2. I stedet skal du redigere en systemkonfigurationsfil. Kun systemadministratoren kan foretage ændringerne i filen /etc/X11/xorg.conf.
![]() | En forkert X-konfiguration kan beskadige hardwaren |
|---|---|
Inden du redigerer filen | |
Til Wacom-enheder skal du tilføje et par linjer til /etc/X11/xorg.conf som vist i Eksempel E.1, "Konfiguration af Wacom-enheder".
Eksempel E.1. Konfiguration af Wacom-enheder
Tilføj følgende InputDevice-afsnit:
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
Tilføj følgende linjer til afsnittet ServerLayout:
InputDevice "Mouse[5]" "SendCoreEvents"
InputDevice "Mouse[7]" "SendCoreEvents"
InputDevice "Mouse[9]" "SendCoreEvents"
Når du har foretaget disse ændeinger, bør din /etc/X11/xorg.conf se sådan ud:
[...] 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
Denne eksempelkonfiguration skulle fungere på de fleste tavle-pc'er. Du kan finde flere oplysninger i HOWTO på Wacoms websted til Linux: http://linuxwacom.sourceforge.net/index.php/howto/x11.
Når du har fuldført konfigurationen af systemet X Window, skal du genstarte X-serveren, enten ved at logge ud eller ved at forlade brugergrænsefladen og køre init 3 && init 5 i en virtuel konsol.