Input: elantech - provide a workaround for jumpy cursor on firmware 2.34
authorArjan Opmeer <arjan@opmeer.net>
Sun, 19 Apr 2009 02:05:40 +0000 (19:05 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 19 Apr 2009 02:11:51 +0000 (19:11 -0700)
commit3f8c0df43dec51fbdfb2627f7574aa00a5fce98c
treeb3d3f433d6542ce2f94b05d1ca77be226fe637d0
parent3deb649e654ff87b87de9e415ac43ca8afbdff07
Input: elantech - provide a workaround for jumpy cursor on firmware 2.34

It seems that Elantech touchpad firmware version 2.34 on the Hercules eCAFÉ
suffers from a problem where bogus coordinates get reported at the beginning
of a touch action. This causes the mouse cursor or the scrolled page to
jump.

Included patch provides a workaround that discards mouse packets that are
likely to contain bogus coordinates. The workaround is activated when we
detect touchpad with fimware version 2.34.

Signed-off-by: Arjan Opmeer <arjan@opmeer.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/elantech.c
drivers/input/mouse/elantech.h