Ubuntu 8.04如何安装WACOM驱动


Windows不能给我们带来什么,除了开QQ和网银。

WACOM 到目前为止还没有在光盘或网络上提供正式的WACOM数位板驱动程序,平时在WINDOWS下用PS+BAMBOO 作图,到LINUX下 自然要换成 GIMP+BAMBOO,如何安装WACOM的驱动,今天终于在参照Ubuntu Community 安装成功:

HOWTO: Wacom in 8.04

实际上根据步骤来,基本上不需要这些我的这些翻译提示

根据以下步骤安装配置

保证时间充足,你可能需要保存这篇文章,应为在安装过程中计算机可能会重启,如果出现错误,参看文章末尾的 troubleshooting section
插入你的tablet打开终端,按如下步骤输入代码并按下确认键,如果被要求输入密码,当然,输入它并按下确定。
lsusb | grep -i wacom 我得到 "056a:0017"的结果,开始是 "056a"
mkdir wacom
cd wacom
sudo apt-get update
sudo apt-get install linux-headers-`uname -r` build-essential x11proto-core-dev libxau-dev libxdmcp-dev x11proto-input-dev x11proto-kb-dev xtrans-dev libx11-dev x11proto-xext-dev libxext-dev libxi-dev linux-libc-dev libc6-dev libncurses5-dev xserver-xorg-dev tk-dev tcl-dev -y
wget http://prdownloads.sourceforge.net/linuxwacom/linuxwacom-0.8.0-3.tar.bz2
tar xjf linuxwacom-0.8.0-3.tar.bz2
cd linuxwacom-0.8.0-3 也有说是0.8.0,实际上我测试了一下,已经没有0.8.0这个版本了,所以我根据The Linux wacom project 里面的版本改成了0.8.0-3
sudo ln -s /usr/include/pixman-1/pixman.h /usr/include/pixman.h
sudo ln -s /usr/include/pixman-1/pixman-version.h /usr/include/pixman-version.h

./configure --enable-wacom
make
sudo make install
cd ..
cp /etc/X11/xorg.conf .
gksudo gedit /etc/X11/xorg.conf
将下面的文本行写进开头部分,确认他们被安置在"Synaptics Touchpad" Section 之前 Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
Option "USB" "on"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
Option "USB" "on"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
Option "USB" "on"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "pad"
Option "Device" "/dev/input/wacom"
Option "Type" "pad"
Option "USB" "on"
EndSection

找到下面section ,他们大约在文件末尾处
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
Inputdevice "Synaptics Touchpad"
EndSection
在找到的地方inputdevice后面继续添加下面的代码行
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "pad"
保存(CTRL+S)关闭(CTRL+Q)
cp /lib/modules/`uname -r`/kernel/drivers/input/tablet/wacom.ko wacom.ko.`uname -r`
sudo cp linuxwacom-0.8.0-3/src/2.6.24/wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/wacom.ko
返回可能会报错,记录下来提示,如果最后TABLET不能工作,再把错误反馈给我(或者其他人)这样大家便能帮助你了
sudo depmod -e
cd linuxwacom-0.8.0-3/prebuilt
sudo ./uninstall
sudo ./install
wget 'http://git.debian.org/?p=users/ron/wacom-tools.git;a=blob_plain;f=debian/xserver-xorg-input-wacom.udev;hb=master' -O wacom.udev
cp /etc/udev/rules.d/50-xserver-xorg-input-wacom.rules wacom.udev.backup
sudo cp wacom.udev /etc/udev/rules.d/50-xserver-xorg-input-wacom.rules
sudo apt-get remove wacom-tools xserver-xorg-input-wacom -y
sudo apt-get install wacom-tools xserver-xorg-input-wacom -y
sudo ./uninstall
cd ..
sudo make install

重新启动计算机
这个时候,我的tablet开始工作了,如果你还没有,记录下问题,看看后面的trubleshooting
Troubleshooting

1.问题:第一次重新启动后x.org不工作了
解决:
1.重新启动一次,你可以按住你的电源键不动或试下Ctrl+Alt+Delete.
2. 当出现"GRUB Loading... Please Wait" 按Esc
3. 重启动进入 "Recovery mode"模式,一般系统启动时候第2个选项
4. 如果启动信息停在那里了,输入下面命令,在任意行按下确认键, 记住修改 "USERNAME" 为你自己的用户名. 要是你不记得了,看第2个问题吧

cp /etc/X11/xorg.conf /etc/X11/xorg.conf.wacom_modified
cp /home/USERNAME/wacom/xorg.conf /etc/X11/xorg.conf
重启

2.问题: 你不记得你的用户名了 ....
解决: 运行下面的代码,可能你会重新得到
Code:
cat /etc/passwd | grep "/home" | cut -d: -f1


完毕,希望给需要GIMP+WACOM工作的艺术工作者们带来一些帮助。

相关内容