Depois que os pacotes do Tablet PC forem instalados, configure seu dispositivo de tablet. Atualmente, o SUSE Linux Enterprise não suporta a configuração de dispositivos Wacom com SaX2. Em vez disso, é necessário editar um arquivo de configuração do sistema. Somente o administrador do sistema pode fazer as mudanças no arquivo /etc/X11/xorg.conf.
![]() | Uma configuração X defeituosa pode danificar seu hardware |
|---|---|
Antes de editar o arquivo | |
Para dispositivos Wacom, adicione algumas linhas a /etc/X11/xorg.conf conforme mostrado em Exemplo E.1, “Configuração para dispositivos Wacom”.
Exemplo E.1. Configuração para dispositivos Wacom
Adicione as seguintes seções 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
Adicione as seguintes linhas à seção ServerLayout:
InputDevice "Mouse[5]" "SendCoreEvents"
InputDevice "Mouse[7]" "SendCoreEvents"
InputDevice "Mouse[9]" "SendCoreEvents"
Com essas mudanças, seu /etc/X11/xorg.conf deve assemelhar-ao seguinte:
[...] 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
Essa configuração de exemplo deve funcionar na maioria dos Tablet PCs. Para obter mais informações, consulte HOWTO no site na Web da Wacom sobre Linux: http://linuxwacom.sourceforge.net/index.php/howto/x11.
Após concluir a configuração do X Window System, reinicie seu servidor X efetuando logout ou saia da interface do usuário e execute init 3 && init 5 em um console virtual.