Ubuntu8.10完美支持x61t的触摸屏

笔记本/便携移动设备,手机平板等软硬件
回复
RunningOn
帖子: 71
注册时间: 2006-03-18 14:17
来自: 9#
联系:

Ubuntu8.10完美支持x61t的触摸屏

#1

帖子 RunningOn » 2008-11-07 21:51

不用装任何驱动,只需要改文件/etc/X11/xorg.conf
具体方法和原理我是参见的这篇文章:
http://blog.aliencam.net/2008/10/ubuntu ... let-setup/
照顾一下E文不好的同志,我稍稍解释一下。Ubuntu支持触摸屏,但默认没有打开,我们要做的就是改改配置文件让它启用就可以了。

x61t是Lenovo ThinkPad的一款Tablet Laptop,其它的触摸屏笔记本应该类似。
不多说了,直接上配置文件,同款本本的同志们直接覆盖掉/etc/X11/xorg.conf的原有内容就可以了。
附件是我用笔在屏幕上写字的效果(compiz-fusion支持屏幕画图):

因为配置文件内容贴上后行首的tab消失了,特此说明一下,以Section和EndSection开头的行行首都没有空格或tab,其它行除了空行外行首都有且只有一个tab。
Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection


Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

#BEGIN TABLET SECTION
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom" # USB ONLY
Option "Type" "stylus"
Option "USB" "on" # USB ONLY
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
Option "Button2" "3" # Added for stylus click
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom" # USB ONLY
Option "Type" "eraser"
Option "USB" "on" # USB ONLY
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
Option "Button3" "2" # Added for eraser working
EndSection

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

# This section is for the TabletPC that supports touch
Section "InputDevice"
Driver "wacom"
Identifier "touch"
Option "Device" "/dev/input/wacom" # USB ONLY
Option "Type" "touch"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
Option "USB" "on" # USB ONLY
EndSection
#END TABLET SECTION

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
# InputDevice "Synaptics Touchpad"

#added to get tablet working
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "touch" "SendCoreEvents"
EndSection
附件
screenshot1.png
yuan1112
帖子: 3
注册时间: 2008-11-29 11:19

Re: Ubuntu8.10完美支持x61t的触摸屏

#2

帖子 yuan1112 » 2009-07-27 10:33

哈哈,多谢,那就不需要等windows 7
头像
bozhi_fan
帖子: 4
注册时间: 2009-10-09 11:20

Re: Ubuntu8.10完美支持x61t的触摸屏

#3

帖子 bozhi_fan » 2009-10-12 2:38

lz 有个问题 我的904完全支持触摸和手写
但是就是用手指点压的时候总会偏来偏去的
不知道是什么问题
lz的qq pm告诉下小弟吧 :em01
zhangjin5411
帖子: 14
注册时间: 2009-08-30 10:30

Re: Ubuntu8.10完美支持x61t的触摸屏

#4

帖子 zhangjin5411 » 2010-07-07 23:50

我的还是不行,我的UMPC是华硕R2E,装上YLMF的10.10后,一点触屏后,鼠标就跑到左上角了,哪也不动,同样的在WIN7下就正常,哎
回复