之前曾经总结了一个wacom数位板在ubuntu下安装的方法
http://hi.baidu.com/ulcer/blog/item/de4c5d609815c9df8cb10d5f.html
前日买了新电脑,升级ubuntu到最新的7.04,重新安装数位板时遇到了些新问题
首先是安装必须的两个包,系统提示xserver-xorg-input-wacom这个包已经安装了
这时候我没有在意,继续
但是当我进入 xorg.conf编辑时发现,文件里面没有任何关于wacom的语句
囧rz............
(后来猜测是那个包在系统安装的时候就已经安装了,但是由于新机器的显卡驱动重写了xorg.conf文件,导致这几句被删除,大概重装xserver-xorg-input-wacom包就能把数位板的语句添加进去)
于是google了一份xorg.conf文件自己来手动添加,多次修改过后,终于成功
关键的内容如下(仅供参考)
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom" # USB ONLY
Option "Type" "stylus"
Option "USB" "on" # USB ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom" # USB ONLY
Option "Type" "eraser"
Option "USB" "on" # USB ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom" # USB ONLY
Option "Type" "cursor"
Option "USB" "on" # USB ONLY
EndSection
Section "ServerLayout"
Identifier "Server Layout"
Screen "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
EndSection
另外,安装wacom-tools这个包貌似没有意义,在后来我使用aptitude的时候,系统提示这个包没有任何关联,被自动卸载了。并不影响数位板正常工作