Re: [patch 3/3] input: handle bad parity PS/2 packets in mouse drivers better

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 27, 2010 at 02:12:39PM -0700, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> From: Damjan Jovanovic <damjan.jov@xxxxxxxxx>
> 
> 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.
> 
> Signed-off-by: Damjan Jovanovic <damjan.jov@xxxxxxxxx>
> Cc: Alessandro Rubini <rubini@xxxxxxxxxxxxx>
> Cc: Dmitry Torokhov <dtor@xxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

Andrew, an alternative path has been merged, please drop this one.

Thanks.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux