Skip to content

Instantly share code, notes, and snippets.

@10sr
Created April 7, 2011 09:25
Show Gist options
  • Select an option

  • Save 10sr/907405 to your computer and use it in GitHub Desktop.

Select an option

Save 10sr/907405 to your computer and use it in GitHub Desktop.
bamboo pen on ubuntu lucid
Section "InputClass"
Identifier "Wacom class"
# WALTOP needs a patched kernel driver, that isn't in mainline lk yet,
# so for now just let it fall through and be picked up by evdev instead.
# MatchProduct "Wacom|WALTOP|WACOM"
MatchProduct "Wacom|WACOM|Hanwang"
MatchDevicePath "/dev/input/event*"
Driver "wacom"
EndSection
Section "InputClass"
Identifier "Wacom serial class"
MatchProduct "Serial Wacom Tablet"
Driver "wacom"
EndSection
Section "InputClass"
Identifier "Wacom serial class identifiers"
MatchProduct "WACf|FUJ02e5|FUJ02e7"
Driver "wacom"
EndSection
# N-Trig Duosense Electromagnetic Digitizer
Section "InputClass"
Identifier "Wacom N-Trig class"
MatchProduct "HID 1b96:0001|N-Trig Pen"
MatchDevicePath "/dev/input/event*"
Driver "wacom"
Option "Button2" "3"
EndSection
# このファイルは既に存在するはず。ファイル名の数字部分はもしかしたら違うかもしれない。以下をいい感じの場所に追記する
ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00d1", SYMLINK="input/tablet-bamboo2fg-4x5-$env{WACOM_TYPE}"
ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00d2", SYMLINK="input/tablet-bamboo-craft-$env{WACOM_TYPE}"
ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00d3", SYMLINK="input/tablet-bamboo2fg-6x8-$env{WACOM_TYPE}"
ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00d4", SYMLINK="input/tablet-bamboo-4x5-$env{WACOM_TYPE}"

2011-04-07 Ubuntu Lucid に、Wacom Bamboo Pen CTL-460/KO を導入した。

参考

したこと

  1. https://launchpad.net/~doctormo/+archive/wacom-plus をソフトウェアソースに登録する。
  2. $ sudo apt-get install wacom-dkms
  3. wacom Xドライバをインストール: $sudo apt-get upgrade
  4. 再起動

ここまでの操作で、何となくカーソルを動かせるようにはなる。しかし、このままでは少し動きがおかしく、ペンを離した後、少しの間カーソルが動かなくって使い辛い。どうやらペンを離すのを感知できない感じがする。また、ペンにあるボタンも使えない。 そのため、以下の操作を続ける。

  1. /lib/udev/rules.d/69-xserver-xorg-input-wacom.rules に追記する(別ファイル。もしかしたらこれは不要かも)
  2. /usr/lib/X11/xorg.conf.d/50-wacom.confを作成(別ファイル)
  3. 再起動
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment