Re: psmouse.c, throwing 3 bytes away

From: Vojtech Pavlik
Date: Mon Feb 09 2004 - 04:55:01 EST


On Mon, Feb 09, 2004 at 05:49:51PM +0800, Isaac Claymore wrote:
> On Mon, Feb 09, 2004 at 10:09:55AM +0100, Vojtech Pavlik wrote:
> > On Mon, Feb 09, 2004 at 02:15:32PM +0800, Isaac Claymore wrote:
> >
> > > > > I saw the same here yesterday, using a logitech wheel mouse:
> > > > >
> > > > > Feb 4 18:19:46 vega kernel: psmouse.c: Wheel Mouse at isa0060/serio1/input0
> > > > > lost synchronization, throwing 2 bytes away.
> > > > >
> > > > > Before this happened the mouse in X just went nuts with random clicks in
> > > > > many windows, but after that it's been ok up to now.
> > > > >
> > > > I've been suffering this same problem ever since upgrade to 2.6 kernel.
> > > >
> > > > FYI, here is an article giving some possible solutions to this, but I
> > > > failed to fix my mouse problem by any method it suggests:
> > > >
> > > > http://kerneltrap.org/node/view/2199
> > > >
> > > >
> > >
> > > Just FYI:
> > >
> > > This annoying mouse problem hasn't shown up for 3 days, after I did a
> > > 'hdparm -u1 /dev/hda'. But be sure to read the hdparm man page before
> > > doing this on your box.
> >
> > I think you're looking for 'hdparm -d1 /dev/hda', if your mainboard is
> > not very very old. That'll have a better effect.
> >
>
> using_dma was already turned on, before I tried that '-u1'. At least in
> my case, turning on using_dma alone didn't seem to help much.
>
> Thanks for the hint.

That's interesting, because -d1 makes -u1 irrelevant, -u1 is for PIO
accesses only, and -d1 switches to DMA mode.

--
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/