LinuxSir.cn,穿越时空的Linuxsir!

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

还是鼠标问题,老大们帮忙啊

[复制链接]
发表于 2003-8-5 10:19:11 | 显示全部楼层 |阅读模式
装系统用的USB光电鼠,插上就能用了。现在换了ps/2的机械鼠,就跟死了一样。无论文本模式还是图形界面,一点动静也没有。是不是要把鼠标从usb接口改成ps/2接口的啊?
我真是没办法了,大侠们指点一下,谢谢了。
发表于 2003-8-5 10:20:50 | 显示全部楼层
重新配置xfree86
发表于 2003-8-5 11:04:03 | 显示全部楼层
鼠标部分这样配:

# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier        "USBMouse"
    Driver        "mouse"

   
    Option        "CorePointer"
    Option        "rotocol"        "Auto"
    Option        "Device"        "/dev/sysmouse"
    Option        "Emulate3Buttons" "true"
    Option        "ZAxisMapping"        "4 5"
   


    EndSection

Section "InputDevice"
    Identifier        "TrackPoint"
    Driver        "mouse"
   
    Option        "SendCoreEvents" "true"
    Option        "Device"        "/dev/psm0"
    Option        "rotocol"        "Auto"
    Option        "Emulate3Buttons" "true"
    Option        "ZAxisMapping"        "4 5"
   

EndSection

然后layout这样配
# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"

# The Identifier line must be present

    Identifier        "IBM ThinkPad Layout"

    Screen        "IBM TFT Screen"
    InputDevice        "Internal Keyboard"
   
    InputDevice "TrackPoint"
    InputDevice "USBMouse"
   

EndSection


这样就以usb mouse为首选,ps/2 mouse为第二选择,可同时使用两种鼠标,也可单独使用每种。
发表于 2003-8-5 11:13:45 | 显示全部楼层
还有另外一种更简单的方法
在/etc/rc.conf 中加一行
moused_enable="YES"
然后在你的XFConfig中鼠标设备使用/dev/sysmouse 就可以了。
 楼主| 发表于 2003-8-5 12:50:37 | 显示全部楼层
谢谢你了,不过问题还是没有解决。
改过设置以后,可以进入X,但鼠标还是老样子。但是USB鼠标还是插上就能用。如果实在搞不好,就换鼠标算了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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