http://firmworks.com/linux/MouseTesting.html tells how to use Open Firmware to get a quick test of the PS/2 mouse hardware to see if it is fried. It involves booting Open Firmware from a USB key, so you don't have to reflash the BIOS.