
ubuntu應該很多人玩過了,小弟在hp2710p上裝了雙系統,Windows部份就不說了,裝上ubuntu,所有的驅動都搞定,唯獨最重要的wacom

經多次嘗試,wacom封印終於解除

(看起來好像粉麻煩,其實只要依序不停在終端機上複製-貼上)
wacom安裝步驟,開啟終端即後,請依序進行:
第一步驟
--------------
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
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 ..
--------------
第二步驟
--------------
gksudo gedit /etc/X11/xorg.conf
在
Section "InputDevice"
Identifier "Synaptics Touchpad"
...
EndSection
這個段落前添加下面語法:
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 "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
Inputdevice "Synaptics Touchpad"
EndSection
在Inputdevice "Synaptics Touchpad"後面添加:
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "pad"
存檔離開
--------------
第三步驟
--------------
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
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
--------------
完工,請重新開機,觸碰筆活起來了

就差手寫輸入法了....