For some reason xorg is blocking the output of all raw evdev events (or, that's what I think is happening) to my keyboard and mouse. When I run evtest on my mouse device, it sees the mouse, displays the button list, but activity does not generate output. I had gentoo in the past, and this program worked, so I know it's possible. I got a new computer and installed 2008.0 and now it's not working.
Why I Think It's X
- Make sure evdev was enabled in the kernel. 'zcat /proc/config.gz | grep EVDEV' returns 'CONFIG_INPUT_EVDEV=y'. Check.
- Try it a console, to make sure the evdev process is working. './evtest /dev/input/event0' shows the mouse, displays the button list, and activity generates hordes of output. Check.
- Try running evtest on my joystick in X. I get evdev output on all activity. Check.
- Try running evtest on my mouse/keybord in KDE, Gnome, and whatever the basic desktop is when root runs 'startx'. It fails on all 3, as above.
- Gentoo 2008.0
- gentoo-sources-2.6.25-r6
- xorg-server-1.4.2. The INPUT_DEVICES includes evdev.
- xf86-input-evdev-2.0.1
/etc/X11/xorg.conf
In the interests of brevity, I have included only the info relevant to the mouse/keyboard. For the various revisions, whenever I commented out something, I put the revision number after the #, so I could regress as needed. If you need something else, let me know.
Code: Select all
Section "Module"
...
Load "evdev"
...
EndSection
Section "InputDevice"
Identifier "Keyboard0"
# (0) Driver "kbd"
Driver "evdev"
EndSection
Section "InputDevice"
Identifier "Mouse0"
# (0) Driver "mouse"
Driver "evdev"
# (1) Option "Protocol" "auto"
# (1) ZAxisMapping "4 5 6 7"
# (2) Option "Device" "/dev/input/mice"
# (3) Option "Device" "/dev/input/mouse0"
# (4) Option "Device" "/dev/input/event0"
Option "evBits" "+1-2"
Option "keyBits" "~272-287"
Option "relBits" "~0-2 ~6 ~8"
Opiton "Pass" "3"
EndSection
