Chinaunix首页 | 论坛 | 博客
  • 博客访问: 635516
  • 博文数量: 205
  • 博客积分: 7891
  • 博客等级: 少将
  • 技术积分: 2168
  • 用 户 组: 普通用户
  • 注册时间: 2008-06-29 13:16
文章分类

全部博文(205)

文章存档

2015年(4)

2014年(5)

2013年(1)

2012年(4)

2011年(51)

2010年(86)

2009年(45)

2008年(9)

分类: LINUX

2010-10-20 15:58:09

**Bugs:寻找多点触控触摸板支持,Ubuntu Multi Touchpad**
Google for "Ubuntu Multi Touchpad"

find this:http://ubuntu-snippets.blogspot.com/2009/03/multi-touch-for-anyall-synaptics.html(Need proxy)
原文如下:
==================>file:multi-touch-for-anyall-synaptics<==================
Multi touch for any,all synaptics touchpad
Multi-touch became trendy after iphone came up with it. We are seeing many new laptops with multi-touch. At hardware level, there is nothing special that you need, to make multi-touch work. You can also do two-finger scroll and two-finger tap to right/middle click. Also, three-finger tap, but, for me it is very hard to press three fingers at the same time(1 out of 10).

Create new file

gksudo gedit /etc/hal/fdi/policy/11-x11-synaptics.fdi
Paste the following code into the file and save it.
 
  
       synaptics
       On
       90
       1
       1
       1
       3  
       2  
  
 
Restart hal and enjoy multitouch touchpad.
sudo /etc/init.d/hal restart
Update: Diagnosing your touchpad for multi-finger-sensing-capability
Few people have problem with this not working, while it works for few others. This is posted in ubuntu forums
synclient -m 100
Fifth column in the output f is number of fingers on your touchpad. Put two or more fingers on your touchpad and watch the column. If you see it more than one, this should work for you.
==================>EOF:multi-touch-for-anyall-synaptics<==================
But hal doesn't exist any more in ubuntu 10.04 and 10.10.
And someone advise to try with these command:

xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Two-Finger Scrolling" 8 1
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Scrolling" 8 1 1
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Pressure" 32 10
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Width" 32 8

I got response as follow:
----------------------------------------------------------------------------------------------- 
peter@peter-K42Jc:~$ xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Two-Finger Scrolling" 8 1
unable to find device SynPS/2 Synaptics TouchPad
-----------------------------------------------------------------------------------------------

Then, I try this:
-----------------------------------------------------------------------------------------------
peter@peter-K42Jc:~$ xinput list
⎡ Virtual core pointer                     id=2 [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer               id=4 [slave  pointer  (2)]
⎜   ↳ ETPS/2 Elantech Touchpad                 id=13 [slave  pointer  (2)]
⎜   ↳ Logitech USB Optical Mouse               id=14 [slave  pointer  (2)]
⎣ Virtual core keyboard                   id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard             id=5 [slave  keyboard (3)]
    ↳ Power Button                             id=6 [slave  keyboard (3)]
    ↳ Video Bus                               id=7 [slave  keyboard (3)]
    ↳ Video Bus                               id=8 [slave  keyboard (3)]
    ↳ Sleep Button                             id=9 [slave  keyboard (3)]
    ↳ USB Camera                               id=10 [slave  keyboard (3)]
    ↳ Asus Laptop extra buttons               id=11 [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard             id=12 [slave  keyboard (3)]
peter@peter-K42Jc:~$ xinput set-int-prop "ETPS/2 Elantech Touchpad" "Two-Finger Scrolling" 8 1
peter@peter-K42Jc:~$ xinput set-int-prop "ETPS/2 Elantech Touchpad" "Synaptics Two-Finger Scrolling" 8 1 1
peter@peter-K42Jc:~$ xinput set-int-prop "ETPS/2 Elantech Touchpad" "Synaptics Two-Finger Pressure" 32 10
peter@peter-K42Jc:~$ xinput set-int-prop "ETPS/2 Elantech Touchpad" "Synaptics Two-Finger Width" 32 8
----------------------------------------------------------------------------------------------- 

Bingo!

Then touch .elantech-touchpad_setting.sh file:
-----------------------------------------------------------------------------------------------
#!/bin/bash
sleep 5
xinput set-int-prop "ETPS/2 Elantech Touchpad" "Two-Finger Scrolling" 8 1
xinput set-int-prop "ETPS/2 Elantech Touchpad" "Synaptics Two-Finger Scrolling" 8 1 1
xinput set-int-prop "ETPS/2 Elantech Touchpad" "Synaptics Two-Finger Pressure" 32 10
xinput set-int-prop "ETPS/2 Elantech Touchpad" "Synaptics Two-Finger Width" 32 8
------------------------------------------------------------------------------------------------

Add it into System--> preferences -->startup applications.

Ends.
阅读(1614) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-10-23 14:54:13

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com