jiangtao9999 发表于 2006-1-8 09:44:15

Xorg 6.9 怎么不支持 evdev 啊?

在 xorg.conf 里的 mouse 配置里用
Option"Protocol" "evdev"
结果 X 不能启动, log 里是 evdev 没有找到?

我的 MX500 还指着 evdev 来支持全部的鼠标按键啊…………
虽然 xorg 6.9 已经可以认出我的鼠标全部的按键…………

KanKer 发表于 2006-1-8 10:44:21

evdev 是指内核的一个模块,可以在 modprobe.conf 里加上。新的 2.6.15 内核,我已将其编译进内核,就不需要了:P

demonlj 发表于 2006-1-8 11:01:17

赞,rc2的evdev没有进去。搞的很多笔记本用户的触摸板搞不定哦

jiangtao9999 发表于 2006-1-8 11:21:31

:roll:

# cat /usr/src/linux-2.6.15-mm1/.config|grep EVDEV
CONFIG_INPUT_EVDEV=y
#   

但似乎是 xorg 没有支持…………

jiangtao9999 发表于 2006-1-8 11:36:12

(II) RADEON(0): no multimedia table present, disabling Rage Theatre.
(WW) RADEON(0): Direct rendering disabled
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(**) Option "Protocol" "evdev"
(EE) Mouse1: Unknown protocol "evdev"
(EE) PreInit failed for input device "Mouse1"
(II) UnloadModule: "mouse"
(**) Option "CoreKeyboard"
(**) Keyboard1: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard1: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard1: XkbRules: "xorg"
(**) Option "XkbModel" "pc104"
(**) Keyboard1: XkbModel: "pc104"
(**) Option "XkbLayout" "us"
(**) Keyboard1: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard1: CustomKeycodes disabled
(WW) No core pointer registered
(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
No core pointer

Fatal server error:
failed to initialize core devices

Please consult the The X.Org Foundation support
         at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional                                                                        information.

#

KanKer 发表于 2006-1-8 11:41:53

对啊,你在 xorg.conf 里设置 protocol 为 endev 肯定是错误的。目前新鼠标配置程序能支持的鼠标类型和协议如下:

       # (shortname: make, model, gpm protocol, X protocol, input protocol, device, emulate3)
      "ascii": (N_("ASCII"), N_("MieMouse (serial)"),
                  "ms3", "IntelliMouse", "ms3", "ttyS", 0),
      "generic": (N_("Generic"), N_("2 Button Mouse (serial)"),
                  "Microsoft", "Microsoft", "bare", "ttyS", 1),
      "generic3": (N_("Generic"), N_("3 Button Mouse (serial)"),
                     "Microsoft", "Microsoft", "ms", "ttyS", 0),
      "genericps/2": (N_("Generic"), N_("2 Button Mouse (PS/2)"),
                        "imps2", "IMPS/2", None, "input/mice", 1),
      "generic3ps/2": (N_("Generic"), N_("3 Button Mouse (PS/2)"),
                         "imps2", "IMPS/2", None, "input/mice", 0),
      "genericwheelps/2": (N_("Generic"), N_("Wheel Mouse (PS/2)"),
                           "imps2", "IMPS/2", None, "input/mice", 0),
      "genericusb": (N_("Generic"), N_("2 Button Mouse (USB)"),
                     "imps2", "IMPS/2", None, "input/mice", 1),
      "generic3usb": (N_("Generic"), N_("3 Button Mouse (USB)"),
                        "imps2", "IMPS/2", None, "input/mice", 0),
      "genericwheelusb": (N_("Generic"), N_("Wheel Mouse (USB)"),
                            "imps2", "IMPS/2", None, "input/mice", 0),
      "geniusnm": (N_("Genius"), N_("NetMouse (serial)"),
                     "ms3", "IntelliMouse", "ms3", "ttyS", 1),
      "thinking": (N_("Kensington"), N_("Thinking Mouse (serial)"),
                     "Microsoft", "ThinkingMouse", "bare", "ttyS", 1),
      "logitech": (N_("Logitech"), N_("C7 Mouse (serial, old C7 type)"),
                     "Logitech", "Logitech", "mman", "ttyS", 0),
      "logitechcc": (N_("Logitech"), N_("CC Series (serial)"),
                     "logim", "MouseMan", "mman", "ttyS", 0),
      "logimman": (N_("Logitech"), N_("MouseMan/FirstMouse (serial)"),
                     "MouseMan", "MouseMan", "mman", "ttyS", 0),
      "logimman+": (N_("Logitech"), N_("MouseMan+/FirstMouse+ (serial)"),
                      "pnp", "IntelliMouse", "ms3", "ttyS", 0),
      "microsoft": (N_("Microsoft"), N_("Compatible Mouse (serial)"),
                      "Microsoft", "Microsoft", "bare", "ttyS", 1),
      "msnew": (N_("Microsoft"), N_("Rev 2.1A or higher (serial)"),
                  "pnp", "Auto", "ms", "ttyS", 1),
      "msintelli": (N_("Microsoft"), N_("IntelliMouse (serial)"),
                      "ms3", "IntelliMouse", "ms3", "ttyS", 0),
      "mousesystems": (N_("Mouse Systems"), N_("Mouse (serial)"),
                         "MouseSystems", "MouseSystems", "msc", "ttyS", 1),
      "mmseries": (N_("MM"), N_("MM Series (serial)"),
                     "MMSeries", "MMSeries", "bare", "ttyS", 1),
      "mmhittab": (N_("MM"), N_("MM HitTablet (serial)"),
                     "MMHitTab", "MMHittab", "bare", "ttyS", 1),
      "none": ("No", "mouse" , "none", "none", None, None, 0),
      "sun": (N_("Sun"), N_("Mouse"), "sun", "sun", "sun", "sunmouse", 0),
      "synaptics": (N_("Synaptics"), N_("Synaptics Touchpad"),
                      "imps2", "IMPS/2", None, "input/mice", 1)

jiangtao9999 发表于 2006-1-8 11:46:49

:roll:
http://forum.hardware.fr/hardwarefr/OSAlternatifs/Logitech-MX1000-sujet-42416-2.htm


Section "InputDevice"
      Identifier "Logitech MX700"
      Driver"mouse"
      Option"Protocol" "evdev"
      Option"Dev Name" "Logitech USB Receiver"
      Option"Dev Phys" "usb-0000:00:02.1-1.2/input0"
      Option"Device" "/dev/input/mice"
      Option"Buttons" "8"
      Option"ZAxisMapping" "4 5"
      Option"Resolution" "800"
      Option"SampleRate" "800"
      Option"CorePointer"
EndSection

KanKer 发表于 2006-1-8 12:27:31

http://www.ubuntuforums.org/showthread.php?t=3828&pp=10
jiangtao99999 仔细看看这个贴子,大概在第7、8页会指出为何X不能启动。照着做做试试。

jiangtao9999 发表于 2006-1-8 18:38:31

https://bugs.freedesktop.org/show_bug.cgi?id=968
freedesktop.org 的 evdev 的 buglist

jiangtao9999 发表于 2006-1-8 18:42:57

:evil:
难道公社里就我一个人用超过 3 个按键的鼠标么??!!

郁闷死了………

jiangtao9999 发表于 2006-1-8 18:45:01

这个人的方法似乎可行………
http://www.ubuntuforums.org/showpost.php?p=317343&postcount=86

KanKer 发表于 2006-1-8 20:24:02

我给 xorg-6.9 打上了支持 evdev 协议的补丁,你更新了试试,3mgc。

jiangtao9999 发表于 2006-1-8 22:10:26

/people/kanker/xorg/6.9.0/rpms/
都是 -3mgc 吧?

jiangtao9999 发表于 2006-1-8 22:11:25

什么时候可以 http 啊??? :-(

再见情人 发表于 2006-1-8 22:21:35


什么时候可以 http 啊???

就是就是,太狠了
页: [1] 2
查看完整版本: Xorg 6.9 怎么不支持 evdev 啊?