Re: Synaptics Touchpad workaround for strange behavior after Sync loss (With Patch).

From: Dmitry Torokhov
Date: Sat Jan 10 2004 - 03:48:41 EST


On Friday 09 January 2004 05:17 am, Gunter Königsmann wrote:
> Don't know if I'm supposed to the list or to the maintainer, mailing
> tho both.
>
> PROBLEM: My Touchpad generates rapid movements, random clicks and even
> keypress events on the keyboard connected to the same BUS. Resetting
> the Touchpad after bad syncs doesn't help.
>
> Throwing away two packets after a bad sync loss fixed the whole
> problem. One packet is not sufficient.
>

Hi,

As I wrote in my other email the patch as it written does not discard
2 first packets after restoring synchronization, instead it ignores every
2nd packet.

It seems that your laptop can't keep up with 480 bytes/sec data stream that
Synaptics generates in 'high' report rate mode (80 packets/sec, 6 bytes per
packet). Luckily Synaptics offers low rate mode, 40 packets/sec, and I think
you should get the same result as by your patch switching your touchpad in
that mode.

I am going to send 2 patches, one that allows switching high and low rate
for Synaptics using psmouse.rate option (>=80 sets high rate and its default
state). You should try psmouse.rate=40 (or just rate=40 if psmouse is compiled
as a module). The second patch makes psmouse check status of received byte and
drop it early if i8042 reports timeout or parity error.

The patches are on top of my other input patches, you can find all of them at
http://www.geocities.com/dt_or/input/2_6_1/

Or you can grab 2.6.1-mm1 and apply just the 2 I am sending...

I am very interested in results.

Thank you in advance,

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