When I upgraded packages on my slackware box this morning to the latest xorg server, my mouse wouldn’t scroll so I googled for a fixed. I don’t when the change occurs but that’s not relevant. At first I just though that the xmodmap changed on me. Well that prove to be right I actually found a better solution.
In File: /etc/X11/xorg.conf
Section "InputDevice"
Identifier "Mouse0"
Driver "evdev"
Option "evBits" "+1-2"
Option "keyBits" "~272-287"
Option "relBits" "~0-2 ~6 ~8"
EndSection
Under XOrg 7.1, this gets all buttons working normally (mostly), including Back, Forward, Scroll, and Cruise. xmodmap and imwheel are not needed. With this config the Quick Switch Program Selector button doesn’t do anything by default, but xev shows it as Button 8. Cruise Up triggers three events - Button 4 Press, Button 4 Release and Button 9 release. Cruise Down triggers three events - Button 5 Press, Button 5 Release and Button 10 Release.