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.
![]() | Een onjuiste X-configuratie kan schade aan de hardware veroorzaken |
|---|---|
Voordat u het bestand | |
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
Voeg de volgende InputDevice-secties toe:
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
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"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
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.
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.