lkml.org 
[lkml]   [2004]   [Feb]   [15]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 15 Feb 2004 09:06:47 +0100
FromVojtech Pavlik <>
SubjectRe: psmouse.c: Mouse at isa0060/serio1/input0 lost synchronization, throwing 2 bytes away.
On Sat, Feb 14, 2004 at 10:59:26PM +0100, Michael Buesch wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Saturday 14 February 2004 22:43, you wrote:
> > Changed from kernel 2.6.1 to 2.6.2 an get this error in dmesg
> > 
> > psmouse.c: Mouse at isa0060/serio1/input0 lost synchronization, throwing 2 bytes away.
> > 
> > My mouse goes crazy for a few secs and then returns to normal for a while. Is this a 2.6.2 problem or is this is something old?
> 
> here's the fix:

... no, that's a fix for a different bug. Actually, without this fix it
works more or less OK.

> - --- linux-2.6.3-rc2/drivers/input/serio/i8042.c.orig	2004-02-10 21:33:21.000000000 +0100
> +++ linux-2.6.3-rc2/drivers/input/serio/i8042.c	2004-02-10 21:37:03.000000000 +0100
> @@ -379,6 +379,8 @@
>  	unsigned int dfl;
>  	int ret;
> 
> +	mod_timer(&i8042_timer, jiffies + I8042_POLL_PERIOD);
> +
>  	spin_lock_irqsave(&i8042_lock, flags);
>  	str = i8042_read_status();
>  	if (str & I8042_STR_OBF)
> @@ -433,7 +435,6 @@
>  irq_ret:
>  	ret = 1;
>  out:
> - -	mod_timer(&i8042_timer, jiffies + I8042_POLL_PERIOD);
>  	return IRQ_RETVAL(ret);
>  }

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

\
 
 \ /
  Last update: 2005-03-22 13:00    [from the cache]
©2003-2008