With GPM & X: A section of /etc/rc.d/rc.local for two mice:
#
# Use GPM to mux the Logitech mouse on ttyS0 and the Glidepoint mouse on
# psaux into a single Mouse Systems clone on /dev/gpmdata.
#
if [ -x /usr/bin/gpm ]; then
/usr/bin/gpm -m /dev/ttyS0 -t logi -M -m /dev/psaux -t ps2 -R
fi
That'll take care of the console portion of the problem. To get this
working under X, you'll have to set up the pointer section of your X
configuration file appropriately. Under the Xfree86 server, adding
the following lines to the XF86Config file should do the trick.
Section "Pointer"
Protocol "MouseSystems"
Device "/dev/gpmdata"