Here's a hack-job ebuild for mouseconfig-4.4 from srpm. It's not been repoman'd, but I tested it on x86 and amd64. It doesn't seem very useful but eh. It also is sed'ed for python 2.3 (it wants 1.5); what we really need is a way to get the current python dir, like /usr/include/python -> python2.3 It comes with a patch to make it operate on xorg.conf instead of XF86Config. I don't see ANYTHING in the current code that actually alters the X device. It seems Red Hat, in their infinite wisdom, decided to make it create a symlink /dev/mouse -> appropriate/device; I prefer just /dev/input/mice myself *shrug* Reproducible: Always Steps to Reproduce:
Created attachment 38354 [details] mouseconfig-4.4.ebuild The ebuild
Created attachment 38355 [details, diff] files/mouseconfig-xorg.diff Patch for mouseconfig.c, used by the ebuild. This keeps it from playing with /dev, and makes it use xorg.conf
aww crap this breaks X, it seems to say Protocor "IMPS/2" instead of Option "Protocol" "IMPS/2" etc etc. I hate parsers. guess I could update the patch.
Created attachment 38361 [details, diff] files/mouseconfig-xorg.diff Replacement patch Protocol "foo" becomes Option "Protocol" "foo" plus everything else.
I'm not convinced that this is needed, to be honest, but I'm open to be convinced. Having said that, Mr. Moser, you did some decent work on this. Your help on some other bugs assigned to x11@gentoo.org would be welcome.
Kudzu tries to use mouseconfig to hack the XF86Config or xorg.conf file. I only made the ebuild and patch for completeness, not really because 'we need it'. I like hardware autoconfiguration. I can hack the configs by hand; but after doing it so much, I realized that there's no glory in refusing to use the easier method :) It's still up to you. Honestly I don't see Gentoo's user base using this a lot.
Dead...