Latest working kernel version: d7a611 probably Earliest failing kernel version: 0d46ed1c747edfe6476961d4d9f732ceb7a29074 probably Distribution: Ubuntu 8.10 Hardware Environment: Dell E4300 Software Environment: Xorg + Gnome Problem Description: Both the trackpoint and the touchpad work if used independently, but if used simultaneously the mouse pointer jumps and the kernel logs: [ 4910.169668] psmouse.c: DualPoint TouchPad at isa0060/serio1/input0 lost sync at byte 5 [ 4910.170877] psmouse.c: DualPoint TouchPad at isa0060/serio1/input0 lost sync at byte 1 [ 4910.177877] psmouse.c: DualPoint TouchPad at isa0060/serio1/input0 - driver resynched. [ 4910.195946] psmouse.c: DualPoint TouchPad at isa0060/serio1/input0 lost sync at byte 5 [ 4910.197189] psmouse.c: DualPoint TouchPad at isa0060/serio1/input0 lost sync at byte 1 [ 4910.204163] psmouse.c: DualPoint TouchPad at isa0060/serio1/input0 - driver resynched. Steps to reproduce: build kernel, boot into Gnome, use touchpoint and accidentally brush trackpad with thumb. Mouse jumps and psmouse loses sync. The input probe reported: [ 3.772372] input: DualPoint Stick as /devices/platform/i8042/serio1/input/in put4 [ 3.809917] input: AlpsPS/2 ALPS DualPoint TouchPad as /devices/platform/i8042/serio1/input/input5 If I revert 0d46ed1c747edfe6476961d4d9f732ceb7a29074 the mouse is detected as: input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input1 and it doesn't lose sync when both inputs are used simultaneously, but I lose the other nifty features (scroll areas on touchpad).
Geert, could you please take a look? (please cc me on any patch) Thanks.
Can't reproduce in 2.6.29-rc5-00168-gba95fd4; apparently it got fixed at some point post -rc4. I'll bisect to figure out when it got fixed exactly.
OK, now I've reproduced in 2.6.29-rc5-00168-gba95fd4. Looking at my logs, it appears sometimes the dualpoint probes as [ 3.744303] input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input5 in which case it doesn't exhibit the "lost sync" problem; the trackpad and touchpoint work together, but fancy features like the scroll areas on the touchpad don't work.
Created attachment 20335 [details] dmesg.out dmesg from 2.6.29-rc5-00168-gba95fd4 showing probe of DualPoint.
This appears to be fixed by the patch from http://lkml.org/lkml/2008/12/8/182 which applies cleanly to 2.6.29-rc6. I've asked the author to resend for inclusion.
This problem is still present in 2.6.31-rc1. Matthew's patch still applies and fixes the problem.
I'm using a Toshiba Tecra M5 since 3 years, which brings an Alps DualPoint touchpad, and it also suffers from the same problem described in this bug. It was a nightmare to work on this laptop with X since the beginning, and I tested all the kernels (including 2.6.31), all the Xorg synaptic drivers and also all the tweaks I found. The tweaks mitigated the problem, but they did not solve it. A couple of days ago I deactivated the tweaks and applied the patch referred in comment #5 on kernel 2.6.31, and since then the symptoms have disappeared! No hanging mouse, no jumps since then! So, I think the patch at least works for my laptop.
The patch alleviates the issue, but it still occurs when docking/undocking when the ps/2 device changes (the docking station has ps/2 ports) so there are then 3 ps/2 mouse devices, touchpad, glidepoint and external mouse. The psmouse driver gets confused loses sync, then when it recovers the synaptics driver can trigger an oops and hard lockup when attempting double-click-drags etc. Unloading/reloading psmouse fixes it.
The support for interleaved PS/2 packets for ALPS was added as commit 1d9f26262aef6d63ff65eba0fd5f1583f342b69b and will be part of 2.6.33-rc1. As far as the driver oopsing docking/undocking - it is tracked as bug 12254; the full oops text from a recent kernel would be great. Or detailed instructions how to reproduce - I can't seem to trigger it on D630 with a port replicator. Thanks.