On occasion I’ve updated X11 on Gentoo and evdev has failed to load, with the following error in /var/log/Xorg.0.log:
module ABI major version (12) doesn't match the server's version (13)
This prevents my keyboard (and presumably the mouse) working in X.
To fix this error you may need to re-emerge your xf86 evdev driver.
First, find out which xf86 drivers you have:
me@pc ~ $ equery l -f x11-drivers/xf86*
* Searching for x11-drivers/xf86* ...
[IP-] [ ] x11-drivers/xf86-input-evdev-2.6.0:0
Then emerge with:
emerge -1 x11-drivers/xf86-input-evdev
The -1
(or --oneshot
) will prevent the package being recorded in /var/lib/portage/world.
I’ve read elsewhere that you should re-install all xf86 drivers, but I wouldn’t know this as I’ve only got evdev.
Restart X and you should be good to go.
References
- As usual, it was the Gentoo Forums that came to the rescue: module ABI major version doesn’t match server’s ver [Solved]