Fixing evdev 'module ABI major version' error

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.


Last modified: 03/01/2012 Tags:

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top