タブレットPCパッケージをインストールしたら、タブレットデバイスを設定します。現在、SUSE Linux EnterpriseはSaX2によるWacomデバイスの設定をサポートしていません。このため、システム設定ファイルを編集する必要があります。システム管理者のみが、/etc/X11/xorg.confファイルを変更できます。
![]() | X環境設定ファイルに不適切な設定を行うとハードウェアが損傷する可能性があります |
|---|---|
| |
Wacomデバイスの場合、/etc/X11/xorg.confに「例 E.1. 「Wacomデバイスの設定」」に示すように数行追加します。
例 E.1. Wacomデバイスの設定
以下のように、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
以下の行をServerLayoutセクションに追加します。
InputDevice "Mouse[5]" "SendCoreEvents"
InputDevice "Mouse[7]" "SendCoreEvents"
InputDevice "Mouse[9]" "SendCoreEvents"
このように変更すると、/etc/X11/xorg.confは以下のようになります。
[...] 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
| デフォルトのマウス設定。 |
| 新しく追加された、タブレットカーソル入力デバイスの設定。 |
| 新しく追加された、タブレットスタイラス入力デバイスの設定。 |
| 新しく追加された、タブレットイレイザ入力デバイスの設定。 |
| タブレット入力デバイスの |
この設定例は、大半のタブレットPCで機能します。詳細は、Linux Wacom Webサイト(http://linuxwacom.sourceforge.net/index.php/howto/x11)で手順を確認してください。
X Window Systemの設定が終了したら、ログアウトするか、またはユーザインタフェースを終了してinit3&& init 5を仮想コンソールで実行して、X Serverを再起動します。