Pages

Ads 468x60px

2016年12月12日月曜日

Bamboo Pad on tahr-6.0-CE_PAE

「Wacom Bamboo Pad USB」を「tahr-6.0-CE_PAE」で使う
LinuxカーネルにWacomのドライバーが組み込まれているか確認
# modinfo wacom
filename: /lib/modules/3.14.20/kernel/drivers/input/tablet/wacom.ko
license: GPL
description: USB Wacom tablet driver
author: Vojtech Pavlik <vojtech@ucw.cz>
license: GPL
description: USB Wacom tablet driver
author: Vojtech Pavlik <vojtech@ucw.cz>

端末より「lsusb」コマンドでWacom device codeを得る
# lsusb
Bus 001 Device 005: ID 056a:0318 Wacom Co., Ltd

056a:0318 -- Wired Bamboo Pad
056a:0319 -- Wireless Bamboo Pad

Grub2の起動メニュー
menuentry "tahr-6.0-CE_PAE frugal on sda1" {
set root=(hd0,1)
linux /tahr-6.0-CE_PAE/vmlinuz psubdir=tahr-6.0-CE_PAE usbhid.quirks=0x056a:0x0318:0x40000000 initrd /tahr-6.0-CE_PAE/initrd.gz
}

「Grub4DOS」の場合 menu.lst
# Frugal installed Puppy
title tahr-6.0-CE_PAE frugal on USB
find --set-root --ignore-floppies --ignore-cd /tahr-6.0-CE_PAE/initrd.gz
kernel /tahr-6.0-CE_PAE/vmlinuz psubdir=tahr-6.0-CE_PAE pmedia=usbflash pfix=fsck usbhid.quirks=0x056a:0x0318:0x40000000
initrd /tahr-6.0-CE_PAE/initrd.gz

「/etc/X11/xorg.conf」に下記追加
Section "InputClass"
Identifier "Wacom class"
MatchProduct "Wacom|WACOM|Hanwang|PTK-540WL|ISD-V4"
MatchIsTablet "on"
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|FUJ02e9"
Driver "wacom"
EndSection

# Waltop tablets
Section "InputClass"
Identifier "Waltop class"
MatchProduct "WALTOP"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
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