From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264476AbUBIJwi (ORCPT ); Mon, 9 Feb 2004 04:52:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264479AbUBIJwi (ORCPT ); Mon, 9 Feb 2004 04:52:38 -0500 Received: from twilight.ucw.cz ([81.30.235.3]:35968 "EHLO shadow.ucw.cz") by vger.kernel.org with ESMTP id S264476AbUBIJwc (ORCPT ); Mon, 9 Feb 2004 04:52:32 -0500 Date: Mon, 9 Feb 2004 10:52:31 +0100 From: Vojtech Pavlik To: Isaac Claymore , kernel list Subject: Re: psmouse.c, throwing 3 bytes away Message-ID: <20040209095231.GA389@ucw.cz> References: <200402041820.39742.wnelsonjr@comcast.net> <200402050454.44936.ctpm@rnl.ist.utl.pt> <20040205102023.GB497@exavio.com.cn> <20040209061532.GA486@exavio.com.cn> <20040209090955.GA1222@ucw.cz> <20040209094951.GB486@exavio.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040209094951.GB486@exavio.com.cn> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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