I found another thread here entitled using buttons 4 and 5 that was very helpful to me in getting the buttons working in Mandrake 9.1.
I kept trying to select the intellimouse too and it wouldn't seem to take either.
This is what I finally ended up with.
I installed IMWHEEL. It is included with the distriubution. I am thinking now it may have already been installed and I just didn't know, but I installed it using Mandrake's add software option, so I didn't have to go get it or compile it or anything.
I edited the file /etc/X11/XF86Config-4 so it looks like this.
All I had to do was add the line for Buttons.
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/psaux"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
Then I edited the file
immediately after the line that has ".*"
None, Up, Alt_L|Left
None, Down, Alt_L|Right
Then, I changed the file
I changed the line
[ "$WHEEL" = yes -a -n "$BINARY" ] && $BINARY -p
[ "$WHEEL" = yes -a -n "$BINARY" ] && $BINARY -p -b "67"
Then I created a file in my user folder ~/.Xdefaults that has this in it.
xmodmap -e "pointer = 1 2 3 6 7 4 5"
imwheel -k -b "67"
I am pretty sure the second line is redundant and can be removed, but it is still there at the moment and it is working. I think since I made all the other changes to more global files, that I should add the first line to the /etc/X11/xsession file, but it is working the way it is so I am not going to mess with it. I am not even sure I need this file at all, but I created it sometime during the process while I was still getting this to work and it was still there when it was finally working, so I left it there.
That was about it. After doing these things I can restart the system and the buttons seem to work fine.