After suspend and after use of programs grabbing the mouse in X the
mouse goes nuts. Fortunately, restarting gpm in a console restores the
original behaviour. Moving to a software cursor in X did not affect
anything. I also tried the synps2 driver with no better luck.
This problem has been reported before for earlier versions, and it is
_very_ annoying. Is the solution hard to find? One obvious solution is
not to run gpm at all, thereby disabling the mouse in console mode.
/etc/gpm.conf
device=/dev/psaux
repeat_type=ms3
type=imps2
append=""
/etc/X11/XF86Config-4:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "Microsoft"
# /dev/mouse -> gpmdata
Option "Device" "/dev/mouse"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection