Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1738458
  • 博文数量: 410
  • 博客积分: 9563
  • 博客等级: 中将
  • 技术积分: 4517
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-03 19:59
个人简介

文章分类

全部博文(410)

文章存档

2017年(6)

2016年(1)

2015年(3)

2014年(4)

2013年(32)

2012年(45)

2011年(179)

2010年(140)

分类: LINUX

2010-09-08 21:42:47

环境:ubuntu 10.04 i386 
硬件:wacom bamboo fun CTH-661
1、安装wacom的驱动模块()
$ lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 046d:c03d Logitech, Inc. M-BT96a Pilot Optical Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 056a:00d3 Wacom Co., Ltd
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

表示系统找到了wacom CTH-661
  • 下载源代码()
  • 准备预编译环境

$ sudo apt-get install xserver-xorg-input-wacom 
$ sudo apt-get install build-essential
$ sudo apt-get install libx11-dev libxi-dev x11proto-input-dev xserver-xorg-dev tk8.4-dev tcl8.4-dev libncurses5-dev
  • 解压编译安装模块

$ tar jxvf linuxwacom-0.8.8-8.tar.bz2
$ cd linuxwacom-0.8.8-8/
$ ./configure --enable-wacom
$ cd src/2.6.30/
$ make
$ sudo cp wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet
$ sudo depmod -a
$ sudo rmmod wacom
$ sudo modprobe wacom
  • 重新启动一下
  • 配置bamboo()

$gksudo gedit /usr/lib/X11/xorg.conf.d/10-wacom.conf

把10-wacom.conf文件内容改成这个样子


Section "InputClass"
        Identifier "Wacom class"
        MatchProduct "Wacom|WACOM"
        MatchDevicePath "/dev/input/event*"
        Driver "wacom"
        #Option "Button2" "2"
        #Option "Button3" "3"
        Option "KeepShape" "on"
EndSection

Section "InputClass"
        Identifier "Wacom serial class"
        MatchProduct "Serial Wacom Tablet"
        Driver "wacom"
        Option "ForceDevice" "ISDV4"
EndSection

# N-Trig Duosense Electromagnetic Digitizer
Section "InputClass"
        Identifier "Wacom N-Trig class"
        MatchProduct "HID 1b96:0001"
        MatchDevicePath "/dev/input/event*"
        Driver "wacom"
EndSection


阅读(3258) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~