Keyboard and mouse broken after xorg-server update
So, in a case of RTFM (or perhaps RTFF, read the f-ing forum), keyboard and mouse on my home router were out of commission after an update of Xorg server. I’d even run revdep-rebuild without any library name to try to sort out exactly what was meant by the “You MUST run revdep-rebuild after this update” message the dbus update gave me. Everything checked out clean.
But (who knew?) an Xorg server version bump might break various other modules, especially driver modules. A quick search of the Gentoo Forums gave a particularly elegant one-liner:
emerge -av1 $(qlist -I -C x11-drivers)
which reads, “emerge, verbosely and asking for confirmation, any installed package from the category x11-drivers”. qlist is part of portage-utils.
That would include display drivers, but stripping those out left x11-drivers/xf86-input-evdev (and -keyboard and -mouse, for good measure). My keyboard and mouse immediately worked again.
*headdesk*
Tags: Gentoo, Linux, one-liners, RTFM
You can comment below, or link to this permanent URL from your own site.