分页: 1 / 1

诡异的触摸板udev互斥和火狐...

发表于 : 2009-03-13 13:26
adam8157
按照ee的udev规则弄好了触摸板和鼠标互斥,一切都很好,其他软件也很正常,和ee唯一不同的是我原来触摸板是由psmouse这个模块控制,我在xorgconf里手动加了两段以支持Synaptics,结果,其他软件正常,触摸板正常,只有鼠标加火狐的情况下才有问题..

单击变双击,右键失效,标签页点两下才关掉..

help..

代码: 全选

sudo vim /etc/X11/xorg.conf

###############
#Add these lines after "mouse"
Section "InputDevice"
        Identifier        "Synaptics Touchpad"
        Driver            "synaptics"
        Option            "SendCoreEvents"        "true"
        Option            "Device"                "/dev/psaux"
        Option            "Protocol"              "auto-dev"
        Option            "HorizScrollDelta"      "0"
        Option            "SHMConfig"             "on"
EndSection

#Add these lines at the ending
Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "Synaptics Touchpad"
EndSection
###############

sudo vim /etc/udev/rules.d/66-touchpad.rules

###############
ACTION=="add", SUBSYSTEM=="input", ID_CLASS=="mouse", RUN+="/usr/bin/synclient TouchpadOff=1"
ACTION=="remove", SUBSYSTEM=="input", ID_CLASS=="mouse", RUN+="/usr/bin/synclient TouchpadOff=0"
###############

Re: 诡异的触摸板udev互斥和火狐...

发表于 : 2009-03-13 16:04
adam8157
都恢复回去,udev规则里面改成rmmod psmouse的形式

结果一个udev进程耗尽cpu...我快疯掉了

Re: 诡异的触摸板udev互斥和火狐...

发表于 : 2009-03-16 14:26
ax100
搞那么复杂干嘛。。。装个gsynaptics不就可以关闭触摸板么?

Re: 诡异的触摸板udev互斥和火狐...

发表于 : 2009-03-22 10:35
adam8157
ax100 写了:搞那么复杂干嘛。。。装个gsynaptics不就可以关闭触摸板么?
同样要启用synaptics驱动,还没这个方便