Seeing this with XFree 4.1 on my Thinkpad T22, either talking directly to
/dev/mice or through /dev/gpmdata. Results in the mouse jumping across the
screen and occassionally pulling up the root menu.
--
"Love the dolphins," she advised him. "Write by W.A.S.T.E.."
On Wed, 13 Mar 2002, Samuel Hocevar wrote:
> Hi, I have a Thinkpad T20 and experienced the same problem as you
> with the 2.5.x series, and I'm trying to understand what's causing it.
> Are you using the preemptive kernel patch?
Yes, and now that I think about it, I was probably running with HZ=1024
too. Switched back to 2.4 due to problems with my wireless.
> The following simple change worked for me, would you maybe have time
> to test it and tell me whether it works?
>
> --- drivers/input/mouse/psmouse.c.orig Wed Mar 13 05:04:26 2002
> +++ drivers/input/mouse/psmouse.c Wed Mar 13 05:04:30 2002
> @@ -200,7 +200,7 @@
> return;
> }
>
> - if (psmouse->pktcnt && jiffies - psmouse->last > 2) {
> + if (psmouse->pktcnt && jiffies - psmouse->last > 10) {
> printk(KERN_WARNING "psmouse.c: Lost synchronization, throwing %d bytes away.\n", psmouse->pktcnt);
> psmouse->pktcnt = 0;
> }
Egads. I never even bothered to look up the code generating that message.
That should be HZ/50 or HZ/10.
Tempting to propose making HZ=HZ*100 and doing jiffies+=100 to ferret out
any code that makes assumptions about what the units of HZ are.
--
"Love the dolphins," she advised him. "Write by W.A.S.T.E.."