hp2710p+ubuntu8.04+wacom功能

hp2710p+ubuntu8.04+wacom功能

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

--------------
完工,請重新開機,觸碰筆活起來了

就差手寫輸入法了....
2008-11-13 0:23 發佈
文章關鍵字 功能 04
大大太神了,還有其他的驅動是否都可以設定,另外想問可以螢幕翻轉嗎?
旋轉螢幕:

步驟:
1、開啟終端機,輸入:
gedit ~/rotate.sh

2、複製貼上下面資料:

#!/bin/bash
#script by Francisco Athens modified from Gentoo Wiki Intructions:
#http://gentoo-wiki.com/HARDWARE_HP_Compaq_2710p#Brightness_and_Rotation
#get current setting
testrot=`xrandr -q |grep LVDS | awk '{print $3}'`
#test if screen is rotated in protrait mode
if [ "$testrot" = "800x1280+0+0" ];then
#optional kill any old xvkbd instances so that
# fresh one can load in the correct place in the screen
#killall xvkbd
xrandr -o normal
xsetwacom set stylus rotate 0
xsetwacom set eraser rotate 0
else
#killall xvkbd
xrandr --output LVDS --rotate right
xsetwacom set stylus Rotate CW
xsetwacom set eraser Rotate CW
#optional: put xvkbd on the bottom of the screen
#xvkbd -always-on-top -geometry 800x150+0-0
fi

存檔離開gedit程式

3、設定權限:
chmod +x ~/rotate.sh

4、使用方式:(無法自動選轉螢幕方向,無法360度旋轉)
開啟終端機,輸入

./rotate.sh

5、成果:



不敢掠美,這些資料都是網路上找了的,我只是扮演成功的白老鼠而已.....資料來源網站如下:

Free Like GNU | New HP 2710p and Notes
Linux on the HP 2710p/
Wacom Digitizer tablet on an HP 2710p with Ubuntu Gutsy (and Hardy) works fine
http://www.linuxidc.com/Linux/2008-09/15984.htm
超感恩

終於不用帶滑鼠了 我進行到第二部就重新啟動 就可以用了


因為第三步驟好像怪怪的 終端機說 無法創造目錄之類的....

布過 管他的 可以用就好....

布過我很貪心.... 中文手寫輸入程式有人知道哪找嗎..?? 我只找到日文的手寫輸入
太棒了..應該早點看到這篇文章的..
前陣子安裝了Ubuntu 8.10在我的隨身碟上
結果接上我的HP 2710p wacom竟然沒辦法驅動..
所以只好放棄了Ubuntu
看來現在我的Ubuntu又可以復活了..
只是不知道有沒有適用在 8.10版上哩...
有空就來試試...感謝分享..

HP 2710p真是台好機..
只是1.8吋的硬碟真是慢爆了..
還在等待SSD 64G降價的那一天到來...
哈哈~~~!!可以了耶!!
太感謝了~~~
我也成功的在我的Ubuntu 8.10驅動了Wacom了..
而且8.10的安裝看起來比8.04簡單多了哩..

謝謝啦...!!!
手寫輸入法在裝完 cellwrite後 覺得英文輸入很順

中文不支如何設定 嘗試中 感謝 http://blog.kanru.info/archives/285
內文搜尋
X
評分
評分
複製連結
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?