Problems with evdev driver for keyboard
Dmitry Dzhus
mail at sphinx.net.ru
Wed Dec 26 00:44:11 PST 2007
Peter Hutterer <mailinglists at who-t.net> writes:
>> Output of `X -version` follows:
>>
>> X.Org X Server 1.4.0.90
>>
>> I'm using xf86-input-evdev of version 1.1.5.
>
> AFAIK these two are incompatible.
> server 1.4 requires evdev 1.2 or greater
>
> Cheers,
> Peter
I've updated my evdev to 1.2 version. The configuration broke as evdev'd
advanced device matching (using vendor or product name fields) support
was deleted [1] (I don't know why, that was such a cool feature) so I
had to switch to dirty config using plain `"Device"` option:
Section "InputDevice"
Identifier "MSnek"
Driver "evdev"
Option "CoreKeyboard"
Option "Device" "/dev/input/event3"
Option "XkbRules" "xorg"
Option "XkbModel" "evdev"
Option "XkbLayout" "us,ru"
Option "XkbVariant" ",winkeys"
Option "XkbOptions" "grp:caps_toggle,grp_led:caps,compose:ralt"
Option "Pass" "3"
EndSection
Section "InputDevice"
Identifier "MSnek1"
Driver "evdev"
Option "SendCoreEvents"
Option "Device" "/dev/input/event4"
Option "XkbRules" "xorg"
Option "XkbModel" "evdev"
Option "XkbLayout" "us,ru"
Option "XkbVariant" ",winkeys"
Option "XkbOptions" "grp:caps_toggle,grp_led:caps,compose:ralt"
Option "Pass" "3"
EndSection
It's all the same though, see last lines of X.org log:
(II) evaluating device (Mouse1)
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) evaluating device (MSnek1)
(II) XINPUT: Adding extended input device "MSnek1" (type: KEYBOARD)
(II) evaluating device (MSnek)
(II) XINPUT: Adding extended input device "MSnek" (type: KEYBOARD)
(**) MSnek1: 1 valuators.
(**) MSnek1: Configuring in Absolute mode.
(**) MSnek1: Registering 18 buttons.
evdev: leds are 0x0 for device 3
(II) MSnek1: Init
evdev: leds are 0x0 for device 4
(II) MSnek: Init
(--) Mouse1: PnP-detected protocol: "ExplorerPS/2"
(II) Mouse1: ps2EnableDataReporting: succeeded
(II) MSnek1: On
(II) MSnek: On
(II) MSnek1: Off
(II) MSnek: Off
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Mouse1: ps2EnableDataReporting: succeeded
(II) MSnek1: On
(II) MSnek: On
(II) MSnek1: Off
(II) MSnek: Off
(II) MSnek: Off
(II) MSnek1: Off
Evdev devices still get switched off. Now I also cannot even enter
my username in display manager.
[1]: http://cgit.freedesktop.org/xorg/driver/xf86-input-evdev/commit/?id=a0ea7363f51ff6c2bb81006b7220b7daa9ee9221
--
Happy Hacking.
Dmitry Dzhus
http://sphinx.net.ru
む
More information about the xorg
mailing list