Friday, April 23, 2010

Tip: Fixing xorg-server 1.7.6 keyboard and mouse issues on Gentoo

I came across a weird issue on my Gentoo box: both keyboard and mouse weren't working. I immediately though of hal and X11...

A quick stroll to the Gentoo Forums pointed to x11-drivers/xf86-input-keyboard, x11-drivers/xf86-input-mouse and x11-drivers/xf86-input-evdev has the culprits!

Here's how to fix the issue:
  1. $ su
  2. # eix-sync
  3. # emerge -1 $(qlist -IC x11-drivers)
This will rebuild X11 drivers in you system and have you using your keyboard and mouse again. If you don't have qlist installed in your system just emerge app-portage/portage-utils.

Now wasn't that fun?