This experimental and incomplete application tries to help in detecting which protocol does your mouse speak. It is able to detect MouseMan devices, and to choose between -t ms (three-buttons aware) and -t bare old two-buttons-only serial mice.
I know the application is buggy, but I only own one mouse device. If you are interested in this application, just call me and awake me from my laziness.
Check this device for a mouse. If no devices are listed, mouse-test will try all possible devices.
/dev/* The devices used to search for a mouse
gpm(8)