Når tablet-PC-pakkene er installert, må du konfigurere tablet-enheten. SUSE Linux Enterprise støtter foreløpig ikke konfigurering av Wacom-enheter med SaX2. Du må istedet redigere en fil for systemkonfigurering. Det er bare systemansvarlig som kan gjøre endringer i /etc/X11/xorg.conf -filen.
![]() | En feilaktig X-konfigurasjon kan skade maskinvaren |
|---|---|
Før du redigerer | |
For Wacom-enheter, legg til et par linjer til/etc/X11/xorg.conf , som vist i Eksempel E.1, “Konfigurering av Wacom-enheter”.
Eksempel E.1. Konfigurering av Wacom-enheter
Legg til følgende InputDevice -deler:
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
Legg til følgende linjer i ServerLayout -delen:
InputDevice "Mouse[5]" "SendCoreEvents"
InputDevice "Mouse[7]" "SendCoreEvents"
InputDevice "Mouse[9]" "SendCoreEvents"
Med disse endringene skal/etc/X11/xorg.conf se omtrent slik ut:
[...] 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 eksempelkonfigurasjonen bør fungere på de fleste tablet-PCer. For mer informasjon se HOWTO på Linux Wacom-webområdet: http://linuxwacom.sourceforge.net/index.php/howto/x11.
Etter fullført systemkonfigurasjon for X vindusystem, starter du X-serveren ved å logge ut eller gå ut av brukergrensesnittet og kjør init 3 && init 5 i en virituell konsoll.