In Oct 2004 I posted to lkml with subject "KVM -> jumping mouse... still no solution?" Dmitry Torokhov (hi :) responded that this would work on 2.6.9-rc3+:
echo -n "reconnect" > /sys/bus/serio/devices/serioX/driver
That was GREAT and it worked for a while, but now my last few 2.6.10 kernels don't seem to care when I do that, and again, unplugging the mouse is the only thing that works. I'm currently running 2.6.10-gentoo-r6.
It still should work fine, but in a bit different form:
echo -n "reconnect" > /sys/bus/serio/devices/serioX/drvctl
I.e. substitute "driver" with "drvctl" as now "driver" is a symlink to
a currently bound driver that is set up by driver core.