LinuxSir.cn,穿越时空的Linuxsir!

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

无法使用xorg.conf??!!

[复制链接]
发表于 2009-6-10 05:20:47 | 显示全部楼层 |阅读模式
如题,最近重装了archlinux0902,文件系统换成ext4,不过遇到了很让人头痛的问题,如果使用以前的xorg.conf配置,那么系统到slim界面就锁住,键盘鼠标完全失效,只能重启。如果没有xorg.conf的话则启动正常,dbus和hal都已安装,之前一直用的很正常。而且换到ext4格式后,在修改xorg.conf之后重启,尽然发现xorg.conf变成空文件了,wtf!系统为arch64,xorg为最新版的,显卡为mobility radeon x1300,用的是radeon驱动。重新用X -configure生成xorg.conf依然不行。那位知道如何解决呢?下面是我的xorg.conf
Section "ServerLayout"
        Identifier     "Xorg Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
        InputDevice    "USB Mouse" "CorePointer"
        Option "AIGLX" "true"
EndSection

Section "ServerFlags"
        Option "AllowMouseOpenFail"  "true"
        Option "AutoAddDevices" "False"
        Option "DontZap" "false"
EndSection

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

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

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "CoreKeyboard"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "us"
        Option "XkbVariant" ""
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

Section "Monitor"
        Identifier "Monitor0"
        Option "DPMS" "true"
        HorizSync    30.0 - 62.0
        VertRefresh  43.0 - 60.0
        # 1280x800 @ 60.00 Hz (GTF) hsync: 49.68 kHz; pclk: 83.46 MHz
        Modeline "1280x800"  83.46  1280 1344 1480 1680  800 801 804 828  -HSync +Vsync
        EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "radeon"
        Option "DRI" "true"
        Option "ColorTiling" "on"
        Option "AccelMethod" "EXA"
        Option "OpenGLOverlay" "off"
        Option "VideoOverlay" "on"
        Option "XAANoOffscreenPixmaps" "on"
        VendorName  "ATI Technologies Inc"
        BoardName   "Radeon Mobility X1300"
        BusID       "CI:1:0:0"
EndSection


Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        Option "AddARGBGLXVisuals" "True"
        Option "DisableGLXRootClipping" "True"
        DefaultColorDepth 24
        SubSection "Display"
                Depth     1
                Modes "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     32
                Modes "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Group        "video"
        Mode 0666
EndSection

Section "Extensions"
        Option "Composite" "Enable"
EndSection
发表于 2009-6-10 06:25:01 | 显示全部楼层
用livecd也可以生成一个xorg.conf
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-6-10 06:39:10 | 显示全部楼层
Post by aegean sea;1996031
用livecd也可以生成一个xorg.conf


问题是现在的xorg.conf根本就没有问题嘛,如果这个不行,livecd生成的恐怕也不一定有用。
回复 支持 反对

使用道具 举报

发表于 2009-6-10 07:58:35 | 显示全部楼层
pacman -S xf86-input-keyboard xf86-input-mouse
回复 支持 反对

使用道具 举报

发表于 2009-6-10 21:17:07 | 显示全部楼层
先看/var/log/Xorg.0什么什么那个  找出其中(EE)的行 如果说什么什么mouse之类模块没找到就pacman -S xf86-input-evdev
其他问题就贴出来看看~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-6-11 00:33:22 | 显示全部楼层
Post by v420041;1996039
pacman -S xf86-input-keyboard xf86-input-mouse


正解,我想起自己刚接触archlinux的时候似乎遇到过这个问题,不过很久没重装系统了,忘 的差不多了。感谢大家的回复。
回复 支持 反对

使用道具 举报

发表于 2009-6-11 20:17:49 | 显示全部楼层
不能用就干脆不用

ps:被xorg折腾的死去活来后有感......
回复 支持 反对

使用道具 举报

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

本版积分规则

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