Dopo aver installato i pacchetti Tablet PC, configurare il dispositivo tablet. SUSE Linux Enterprise attualmente non supporta la configurazione dei dispositivi Wacom con SaX2. È quindi necessario modificare un file di configurazione del sistema. Solo l'amministratore del sistema può apportare modifiche al file /etc/X11/xorg.conf.
![]() | una configurazione errata di X può danneggiare i componenti hardware |
|---|---|
Prima di modificare il file | |
Per i dispositivi Wacom, aggiungere un paio di righe a /etc/X11/xorg.conf come illustrato in Esempio E.1, "Configurazione per dispositivi Wacom".
Esempio E.1. Configurazione per dispositivi Wacom
Aggiungere le seguenti sezioni InputDevice:
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
Aggiungere le seguenti linee nella sezione ServerLayout:
InputDevice "Mouse[5]" "SendCoreEvents"
InputDevice "Mouse[7]" "SendCoreEvents"
InputDevice "Mouse[9]" "SendCoreEvents"
Con queste modifiche /etc/X11/xorg.conf sarà simile a:
[...] 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
Questa configurazione di esempio è supportata dalla maggior parte dei Tablet PC. Per ulteriori informazioni, consultare gli articoli procedurali sul sito Web di Linux Wacom: http://linuxwacom.sourceforge.net/index.php/howto/x11.
Al termine della configurazione di X Window System, riavviare il server X eseguendo il log out oppure uscire dall'interfaccia ed eseguire init 3 && init 5 in una console virtuale.