I did some googling and came up with this configuration for the MX510. Give it a try and see what happens.
Code:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Buttons" "10"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "false"
Option "ButtonMapping" "1 2 3 6 7 8 9 10 4 5"
EndSection
This should make all seven buttons work. I don't think the configuration you have could do that.
Also, in your file reverse the oder of Identifier and Driver lines. This may well be your main problem. You didn't tell me it is a USB or PS/2 mouse. My guess is PS/2 based on the protocol you have set.
I think you have to at lease restart the desktop after you edit the /etc/X11/xorg.conf file. Ctrl + Alt + backspace should cause the desktop to restart. Let me know how it goes...
If this doesn't deliver the results you want, have a look at this link. This approach is not trivial, but may well give you the best results.
http://www.linux-gamers.net/modules/...+Mouse+Buttons