I've spent a number of hours reading through various threads, and am stuck, so any help would be appreciated.

--- Hardware ---
Macbook Pro 4,1 (penryn CPU) 2.5 GHz
Logitech Mx500 mouse

--- Software ---
Ubuntu 8.04 ("For standard computer")

I've installed Ubuntu sucessfully, and am now trying to get my mouse buttons working, right now for the game Wolfenstein Enemy Territory. The problem is that the thumb buttons (forward and backward) both are registering as "KP_EQUALS" instead of MOUSE4 and MOUSE5. Here is what the buttons register as in ET. If there is a better way of determining what they buttons linked to, I would appreciate information on that as well.

left mouse button: MOUSE1
right mouse button: MOUSE2
mousewheel up: MWHEELUP
mousewheel down: MWHEELDOWN
depressing the mousewheel: MOUSE3
forward thumb button: KP_EQUALS
backward thumb button: KP_EQUALS

I've followed the directions from the first post in this thread as follows:

sudo apt-get install xserver-xorg-input-evdev
cat /proc/bus/input/devices

--- begin quote ---
I: Bus=0003 Vendor=046d Product=c025 Version=0110
N: Name="B16_b_02 USB-PS/2 Optical Mouse"
P: Phys=usb-0000:00:1a.0-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1a.0/usb1/1-2/1-2:1.0/input/input1
U: Uniq=
H: Handlers=mouse1 event1
B: EV=20017
B: KEY=ff0000 0 0 0 0 0 0 0 0
B: REL=103
B: MSC=10
B: LED=ff00
--- end quote ---

Side question: Why does my Mx500 have a different name than the Mx500 as detected by detyabozhye in the first post?

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
sudo gedit /etc/X11/xorg.conf

My mouse section is now:
--- begin quote ---
Section "InputDevice"
Identifier "Configured Mouse"
Driver "evdev"
Option "CorePointer"
Option "Name" "B16_b_02 USB-PS/2 Optical Mouse"
--- end quote ---

sudo /etc/init.d/udev restart

At this point I logged out, and even restarted and logged in again. Upon logging in (and I have done this multiple times) my mouse (and trackpad) are both nonfunctional.

Any pointers at this point would be appreciated.