LinuxSir.cn,穿越时空的Linuxsir!

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

急啊,鼠标不动了

[复制链接]
发表于 2005-3-19 01:29:25 | 显示全部楼层 |阅读模式
今天重装了一个linux系统,通过该系统的grub引导arch,奇怪的是系统出现登录管理器是鼠标不动了,重启几次还是如此啊,怎么办呢?在另外的linux系统没有问题啊??而且重装的linux与没重装的位置,版本等都不变。。。。鼠标是光电鼠标。。。。
发表于 2005-3-19 09:40:36 | 显示全部楼层
modprobe uhci-hcd 试试看。

还有你的xorg.conf中的鼠标设备设置正确了吗?/dev/psaux
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-19 10:24:01 | 显示全部楼层
谢谢!不知把别的系统的xorg.conf拿过来 用行不?
回复 支持 反对

使用道具 举报

发表于 2005-3-19 10:27:42 | 显示全部楼层
别的系统的环境不一定一样。最首要的就是鼠标设备/dev/psaux
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-19 10:30:54 | 显示全部楼层
我不懂啊,你能说说嘛?我现在在别的linux系统。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-19 10:32:24 | 显示全部楼层
要不介绍一个贴看看
回复 支持 反对

使用道具 举报

发表于 2005-3-19 10:41:52 | 显示全部楼层
编辑/etc/X11/xorg.conf,查找Driver "mouse"
然后修改,我的如下:

  1.     Identifier        "Mouse1"
  2.     Driver        "mouse"
  3.     Option "Protocol"    "Auto"
  4.     Option "Device"      "/dev/psaux"
  5.     Option "Buttons"         "5"
  6.     Option "ZAxisMapping" "4 5"
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-19 10:50:10 | 显示全部楼层
[root@MagicLinux etc]# cd X11
[root@MagicLinux X11]# ls
app-defaults             sysconfig         Xresources
cursors                  X                 xserver
default-display-manager  XF86Config-4      Xsession
fonts                    XF86Config-4~     Xsession.d
gdm                      XF86Config-4.bak  Xsession.options
rgb.txt                  xinit             xsm
rstart                   xkb               Xwrapper.config
[root@MagicLinux X11]# ls -a
.                        rstart            Xresources
..                       sysconfig         xserver
app-defaults             X                 Xsession
cursors                  XF86Config-4      Xsession.d
default-display-manager  XF86Config-4~     Xsession.options
fonts                    XF86Config-4.bak  xsm
gdm                      xinit             Xwrapper.config
rgb.txt                  xkb
你看都没有那个文件???????
回复 支持 反对

使用道具 举报

发表于 2005-3-19 10:56:42 | 显示全部楼层
你用的xfree86?那就是XF86Config-4这个文件了。

如果装的是xorg,可以用xorgconfig生成xorg.conf。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-19 11:09:25 | 显示全部楼层
找到,帮忙看看有没有问题:
Section "ServerLayout"
Identifier     "XFree86 Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
# USB Mouse not detected
EndSection

Section "ServerFlags"
        Option "AllowMouseOpenFail"  "true"
       
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
        FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
        FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
#        FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
#        FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath     "/usr/share/fonts/ttf/western"
        FontPath     "/usr/share/fonts/ttf/decoratives"
        FontPath     "/usr/share/fonts/truetype"
        FontPath     "/usr/share/fonts/truetype/openoffice"
        FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
        FontPath     "/usr/share/fonts/latex-ttf-fonts"
        FontPath     "/usr/X11R6/lib/X11/fonts/defoma/CID"
        FontPath     "/usr/X11R6/lib/X11/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
        Load  "GLcore"
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "bitmap" # bitmap-fonts
        Load  "speedo"
        Load  "type1"
        Load  "freetype"
        Load  "record"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "CoreKeyboard"
        Option "XkbRules" "xfree86"
        Option "XkbModel" "pc105"
        Option "XkbLayout" ""

EndSection

Section "InputDevice"
        Identifier  "Serial Mouse"
        Driver      "mouse"
        Option      "rotocol" "Microsoft"
        Option      "Device" "/dev/ttyS0"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option            "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier  "S/2 Mouse"
        Driver      "mouse"
        Option      "rotocol" "auto"
Option          "ZAxisMapping"          "4 5"
        Option      "Device" "/dev/psaux"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option            "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
Option  "SendCoreEvents" "true"
        Option          "rotocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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