本文を読み飛ばす

Fedora8に移行です(3)

Fedora8導入

第3弾は8導入の契機になったタブレット設定です.

まずは The Linux Wacom Project です.

マニュアルも充実でいい感じ.

実はFedora8には最初から入っていたりしました.

手違いでしたがとりあえず最新版にしときました.

$ bzip2 -cd linuxwacom-0.7.9-2.tar.bz2 | tar xvf -
$ cd linuxwacom-0.7.9-2/prebuilt
$ sed 's/usr\/local/opt/g' install > install.opt
$ sudo bash install.opt

で, うちのはbambooなんですが, udevに登録されてないので
登録します.

/etc/udev/rules.d/60-wacom.rulesの終わりに次の一行を追加.

ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0047", SYMLINK+="input/wacom-tablets/intuos2-6x8a input/wacom-tablets/intuos2-6x8a-%b"
ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0065", SYMLINK+="input/wacom-tablets/bamboo input/wacom-tablets/bamboo-%b"

これでUSBに差し込んだら /dev/input/wacom-tablets/bamboo にデバイスが

アサイン(?)されるわけです.

次はマニュアルを参考にして xorg.conf を編集します.

いじるのはServerLayoutとInputDeviceの追加.

Section "ServerLayout"
Identifier     "single head configuration"
Screen      0  "Screen0" 0 0
InputDevice    "Keyboard0" "CoreKeyboard"
InputDevice    "Mouse0" "CorePointer"
InputDevice    "stylus" "SendCoreEvents"
InputDevice    "eraser" "SendCoreEvents"
InputDevice    "cursor" "SendCoreEvents"
InputDevice    "pad" "SendCoreEvents"
EndSection

-- 中略 --

Section "InputDevice"
Identifier  "stylus"
Driver      "wacom"
Option      "Device" "/dev/input/wacom-tablets/bamboo" # USB ONLY
Option      "Type" "stylus"
Option      "USB" "on"
Option      "Mode" "Absolute"
Option      "Button2" "3"
Option      "Button3" "2"
EndSection

Section "InputDevice"
Identifier  "eraser"
Driver      "wacom"
Option      "Device" "/dev/input/wacom-tablets/bamboo" # USB ONLY
Option      "Type" "eraser"
Option      "USB" "on"
Option      "Mode" "Absolute"
EndSection

Section "InputDevice"
Identifier  "cursor"
Driver      "wacom"
Option      "Device" "/dev/input/wacom-tablets/bamboo" # USB ONLY
Option      "Type" "cursor"
Option      "USB" "on"
Option      "Mode" "Absolute"
EndSection

Section "InputDevice"
Identifier  "pad"
Driver      "wacom"
Option      "Device" "/dev/input/wacom-tablets/bamboo" # USB ONLY
Option      "Type" "pad"
Option      "USB" "on"
EndSection

-- 以下省略 --

ちなみにこれではボタンが動きません.

うちではeraserも動きません. その辺はまだ研究中です...(^-^;

コメント

Comments powered by Disqus
宣伝: