LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1327|回复: 4

让笔记本电脑触摸板和外接USB鼠标滚轮都能用~

[复制链接]
发表于 2003-10-21 10:32:35 | 显示全部楼层 |阅读模式
根据本版上的一位朋友提供的代码实现了笔记本电脑的触摸板和外接USB光电
鼠标同时都可使用,但是发现一个问题,就是触摸板的滚轮不能使用,经试验
把XF86Config-4里的部分代码修改如下,就能实现触摸板的滚轮能使用。


Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "rotocol" "IMPS/2"
    Option "Device" "/dev/psaux"  
    Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
    Identifier "Mouse2"
    Driver "mouse"
    Option "rotocol" "IMPS/2"
    Option "Device" "/dev/usbmouse"
    Option "ZAxisMapping" "4 5"
EndSection
Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Mouse2" "SendCoreEvents"
    Screen "screen1"
EndSection
发表于 2004-4-26 15:11:55 | 显示全部楼层
我尝试解决
我尝试着按照
http://www.linuxsir.cn/bbs/showthr...hlight=êó±ê

http://www.linuxsir.cn/bbs/showthr...hlight=êó±ê
介绍的方法去解决,但是无论我在控制台或者root登陆x-windows修改/etc/X11/XF86Config-4均没有效果。

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "rotocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "rotocol" "IMPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "4 5"
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "SendCoreEvents"
Screen "screen1"
EndSection

没有效果,第二种方法

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "rotocol" "IMPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "rotocol" "S/2"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
EndSection


Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "SendCoreEvents"
Screen "screen1"
EndSection

还是没有效果,一切就像最开始的时候一样。

是我什莫地方做错了吗?
发表于 2004-4-26 22:37:57 | 显示全部楼层

我活不下去了

到目前为止我已经为了我的鼠标忙了一整天了,但没有结果。大家帮帮我
发表于 2004-4-26 23:07:10 | 显示全部楼层
我的自己就能识别
发表于 2004-4-27 00:47:17 | 显示全部楼层
我奇怪的是,无论是我修改x-windows修改/etc/X11/XF86Config-4,或者是直接在gnome下修改配置,都不能动摇那个默认的ps/2或usb鼠标的默认配置,而且我如果启动了hot...那个服务,关机的时候会死机。
为什么???
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表