LinuxSir.cn,穿越时空的Linuxsir!

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

Mandrake Linux中鼠标的问题!

[复制链接]
发表于 2002-12-17 11:13:14 | 显示全部楼层 |阅读模式
在我安装完成Mandrake linux后,进入X窗口后,鼠标停在左上角不动.移动鼠标的时候看不到指针.这是为什么?我的是LG三键鼠标。安装的时候选的是PS2普通三键鼠标。
发表于 2002-12-17 12:59:52 | 显示全部楼层
看一下/etc//X11/XF86Config-4
如有问题,把 有关mouse部分贴出来
估计你的问题是protocol不对
 楼主| 发表于 2002-12-17 17:57:15 | 显示全部楼层

谢谢

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    Option "XkbOptions" ""
EndSection

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

Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "1024x768 @ 60 Hz"
    HorizSync 31.5-48.5
    VertRefresh 50-70
   
    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync
   
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
   
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    BoardName "NVIDIA GeForce4 (generic)"
    Driver "nv"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 16
   
    Subsection "Display"
        Depth 8
        Modes "800x600" "640x480"
    EndSubsection
   
    Subsection "Display"
        Depth 15
        Modes "800x600" "640x480"
    EndSubsection
   
    Subsection "Display"
        Depth 16
        Modes "800x600" "640x480"
    EndSubsection
   
    Subsection "Display"
        Depth 24
        Modes "800x600" "640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
EndSection
发表于 2002-12-17 18:56:31 | 显示全部楼层
你是三键鼠标怎么还要模拟呢
 楼主| 发表于 2002-12-18 08:22:51 | 显示全部楼层

什么是模拟啊?我不太懂那些代码.

能不能告诉我怎么改啊,不胜感激!
发表于 2002-12-18 14:26:25 | 显示全部楼层
用#drakconf来改一下,里面有鼠标的选项,把鼠标设置成Microsoft INTEL LI的就行。
 楼主| 发表于 2002-12-18 18:03:52 | 显示全部楼层

我去看过了.

没有你说的到是有Microsoft INTEL LI
到是有Microsoft exeplor.
设置过了不行.看不到鼠标指针,好痛苦
发表于 2002-12-23 16:34:02 | 显示全部楼层
我现在的鼠标接口是USB的,原来是用PS/2的,否则把鼠标代码拷过去就能用。
请弟兄们帮助一下,把PS/2的鼠标代码帖上一个来,供   zzqljj兄弟参考 。

多谢
发表于 2002-12-23 23:03:51 | 显示全部楼层
这是我的,你试试看
Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "rotocol" "IMPS/2"
    Option "Device" "/dev/psaux"
    Option "ZAxisMapping" "4 5"
EndSection
发表于 2002-12-27 00:26:28 | 显示全部楼层
遇到这个问题的办法是不去管它。

只要用键盘选下一步进入鼠标测试,此时屏幕上的鼠标显示会十分混乱。然后用键盘返回上一步,重新选择,再测试。如此反复,直到测试正确为止。

根据Mandrake的官方解释,这一bug是由于许多鼠标厂商为了增加功能而使用了非标准的硬件微代码所致。除了反复选择,恐怕没有更加简单的办法。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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