using 3.0.4 here (on 12.1) with a G9 and no issues with fwd back etc.
Here is my mouse section.
Code:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "9"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7 8 9"
EndSection
Check with 'xev' to see what the buttons are mapped to. Mine are button6 and button7.