LinuxSir.cn,穿越时空的Linuxsir!

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

启动X后屏幕中心出现“X”,但鼠标键盘失去反应(死机?),附xorg.conf

[复制链接]
发表于 2009-1-5 13:38:10 | 显示全部楼层 |阅读模式
大家好,我的显卡为GF2MX
第一次装的驱动时,根据《新手指南>

pacman -S nvidia-96xx

安装时好像自动删除了一个包

测试X时屏幕中心出现“X”,但鼠标键盘失去反应,ctrl+alt+bsp退出不了,大小写灯都罢工


附:

Xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
        Load  "xtrap"
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "freetype"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "rotocol" "auto"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "NV11 [GeForce2 MX/MX 400]"
        BusID       "CI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
发表于 2009-1-5 13:59:40 | 显示全部楼层
跟我的情况一样。
在ServerLayout一节中,添加:

Option "AllowEmptyInput" "false"

就可以了。但是当你装完gnome或者KDE之后,你会发现又要去掉这句配置,否则你打字的时候会发现打一个字母,出来一堆字母。

看看/var/log下的log文件,就会知道为什么需要添加这个option了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-5 14:30:43 | 显示全部楼层
(WW) AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0


额!我明白了,非常感谢!
回复 支持 反对

使用道具 举报

发表于 2009-1-5 15:04:22 | 显示全部楼层
看置顶,开启hal,dbus服务
回复 支持 反对

使用道具 举报

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

本版积分规则

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