|
发表于 2009-4-2 00:58:08
|
显示全部楼层
我gentoo 下面触摸板驱动配置,ubuntu应该类似
删掉/etc/xorg.conf 中触摸板对应内容,在/etc/hal/fdi/policy 中添加这个文件就行了。重启/etc/init.d/hald 和X Window.- cat /etc/hal/fdi/policy/11-x11-synaptics.fdi
复制代码- <?xml version="1.0" encoding="ISO-8859-1"?>
- <deviceinfo version="0.2">
- <device>
- <match key="info.capabilities" contains="input.touchpad">
- <merge key="input.x11_driver" type="string">synaptics</merge>
- <!-- Arbitrary options can be passed to the driver using
- the input.x11_options property since xorg-server-1.5. -->
- <merge key="input.x11_options.TapButton1" type="string">1</merge>
- <merge key="input.x11_options.TapButton2" type="string">2</merge>
- <merge key="input.x11_options.TapButton3" type="string">2</merge>
- <merge key="input.x11_options.SHMConfig" type="string">true</merge>
- <merge key="input.x11_options.MaxTapMove" type="string">2000</merge>
- <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
- <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
- <merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>
- <!-- <merge key="input.x11_options.CircularScrolling" type="string">true</merge> -->
- </match>
- </device>
- </deviceinfo>
复制代码 |
|