This fixes a regression introduced in Linux 2.6.2 where mice that sporadically produce bad parity go crazy and start jumping around and clicking randomly, which never happens in any version of Windows running on the same hardware. The bugzilla bug is https://bugzilla.kernel.org/show_bug.cgi?id=6105 The patch works by always accumulating a full PS/2 packet, then ignoring the packet if any byte had a bad checksum. A month of testing it against an affected mouse has revealed it works perfectly in practice. This is a resend, because the email sent on 28 March 2010 was ignored. Regards Damjan Jovanovic Signed-off-by: Damjan Jovanovic