LinuxSir.cn,穿越时空的Linuxsir!

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

求助:xorg,Failed to load module "evdev"(solved)

[复制链接]
发表于 2008-4-3 15:38:13 | 显示全部楼层 |阅读模式
昨天重新编译了一把内核,把内核中的evdev编译到kernel里了,并没有编译成模块,以前是编译成模块的。而且xorg.conf里也没有load evdev,但是每次启动X,得到的Xorg.0.log里都有Failed to load module "evdev",重新编译了xorg-server,也运行了modules-update还不行,哪位能分析下是怎么回事,应该怎么做?是不是要装xf86-input-evdev,这个我没装。
附Xorg.0.log和xorg.conf
部分Xorg.0.log:
(II) LoadModule: "evdev"
(WW) Warning, couldn't open module evdev
(II) UnloadModule: "evdev"
(EE) Failed to load module "evdev" (module does not exist, 0)
(EE) No input driver matching `evdev'
(II) LoadModule: "evdev"
(WW) Warning, couldn't open module evdev
(II) UnloadModule: "evdev"
(EE) Failed to load module "evdev" (module does not exist, 0)
(EE) No input driver matching `evdev'
(II) LoadModule: "evdev"
(WW) Warning, couldn't open module evdev
(II) UnloadModule: "evdev"
(EE) Failed to load module "evdev" (module does not exist, 0)
(EE) No input driver matching `evdev'
(II) 3rd Button detected: disabling emulate3Button

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

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "xtrap"
        Load  "GLcore"
        Load  "dri"
        Load  "dbe"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
        Load  "drm"
EndSection

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

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

Section "Monitor"
        #DisplaySize      410   260     # mm
        Identifier   "Monitor0"
        VendorName   "VSC"
        ModelName    "VA1912w-4"
### Comment all HorizSync and VertRefresh values to use DDC:
        HorizSync    30.0 - 82.0
        VertRefresh  50.0 - 85.0
        Option      "DPMS"
EndSection

Section "Device"
        Identifier  "ATI"
        Driver      "radeon"
        Option          "AGPMode" "4"
        Option          "EnablePageFlip" "True"
        Option          "XAANoOffscreenPixmaps" "true"
        # This two lines are needed to prevent fonts from being scrambled
        Option          "XaaNoScanlineImageWriteRect"
        Option          "XaaNoScanlineCPUToScreenColorExpandFill"
        VendorName  "ATI Technologies Inc"
        BoardName   "RV350 AS [Radeon 9550]"
        BusID       "CI:1:0:0"
        Screen  0
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "ATI"
        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
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "DRI"
        Mode    0666
EndSection
发表于 2008-4-3 15:56:59 | 显示全部楼层
xorg的模块不是内核模块

你自己可以很容易试验的东西就自己试验,就不要拿出来问了
谢谢!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-4-3 16:21:51 | 显示全部楼层
我是想问xf86-input-evdev这个组件默认是可以不装的,对系统没什么影响,但是为什么xorg要默认加载呢,有没有什么办法让xorg不加载呢?
回复 支持 反对

使用道具 举报

发表于 2008-4-3 16:47:06 | 显示全部楼层
有些事情是不需要深究的
回复 支持 反对

使用道具 举报

发表于 2008-7-13 11:09:33 | 显示全部楼层
因为 Option "rotocol" "auto" 这个参数。xorg 就会自动检测后调用 evdev 这个基于 HID 的驱动。

现在还有不用 evdev 驱动的人?
回复 支持 反对

使用道具 举报

发表于 2008-7-13 12:48:08 | 显示全部楼层
Post by 江涛;1874031
因为 Option "rotocol" "auto" 这个参数。xorg 就会自动检测后调用 evdev 这个基于 HID 的驱动。

现在还有不用 evdev 驱动的人?


呃……我就不用evdev,开始在INPUT_DEVICE里加了这个东东,结果在GNOME里键盘经常莫名其妙,按UP会变成截屏,看GENTOO-WIKI说endev在某些机器上和GNOME有冲突,回想起原来也没用它,一切也正常,所以就去掉这个东东重新emerge了XORG,现在的确也一切正常。
回复 支持 反对

使用道具 举报

发表于 2008-7-15 18:52:18 | 显示全部楼层
鼠标和键盘可以分开用不同的驱动。
键盘还是 xkb 比较好,鼠标现在都是 evdev 了。
回复 支持 反对

使用道具 举报

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

本版积分规则

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