Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 19 Oct 2002 16:16:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 19 Oct 2002 16:16:51 -0400 Received: from twilight.ucw.cz ([195.39.74.230]:43207 "EHLO twilight.ucw.cz") by vger.kernel.org with ESMTP id ; Sat, 19 Oct 2002 16:16:49 -0400 Date: Sat, 19 Oct 2002 22:22:45 +0200 From: Vojtech Pavlik To: Christopher Hoover Cc: "'Vojtech Pavlik'" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] 2.5.43: Fix for Logitech Wheel Mouse Message-ID: <20021019222245.A3018@ucw.cz> References: <20021019095117.A1354@ucw.cz> <000901c2779f$b1b88300$8100000a@bergamot> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000901c2779f$b1b88300$8100000a@bergamot>; from ch@murgatroid.com on Sat, Oct 19, 2002 at 11:45:28AM -0700 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2898 Lines: 101 On Sat, Oct 19, 2002 at 11:45:28AM -0700, Christopher Hoover wrote: > Yes, that works. Great, I'll send that patch to Linus soon. > [ch@jukebox ch]$ cat /proc/bus/input/devices > I: Bus=0011 Vendor=0002 Product=0002 Version=0035 > N: Name="PS2++ Logitech Wheel Mouse" > P: Phys=isa0060/serio1/input0 > H: Handlers=mouse0 event0 > B: EV=7 > B: KEY=70000 0 0 0 0 0 0 0 0 > B: REL=103 > > I: Bus=0011 Vendor=0001 Product=0002 Version=ab02 > N: Name="AT Set 2 keyboard" > P: Phys=isa0060/serio0/input0 > H: Handlers=kbd event1 > B: EV=120003 > B: KEY=4 2000000 8061f9 fbc9d621 efdfffdf ffefffff ffffffff fffffffe > B: LED=7 > > Thanks. > > -ch > > > -----Original Message----- > From: Vojtech Pavlik [mailto:vojtech@suse.cz] > Sent: Saturday, October 19, 2002 12:51 AM > To: Christopher Hoover > Cc: 'Vojtech Pavlik'; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] 2.5.43: Fix for Logitech Wheel Mouse > > > On Fri, Oct 18, 2002 at 10:41:25AM -0700, Christopher Hoover wrote: > > > > No, it unfortunately is not a proper fix. I'll have to analyze the > > > problem some more. > > > > Would you say more? I looked at XFree86 sources and it seemed that > the > > ImPS/2 protocol best matched what my mouse was sending. > > > > What about a module param/setup arg to force the mouse protocol? > > > > > > > Can you send me the output of /proc/bus/input/devices on your system > > > (without your fix, preferably)? > > > > With*out* the patch: > > > > I: Bus=0011 Vendor=0002 Product=0002 Version=0035 > > N: Name="PS2++ Logitech Mouse" > > P: Phys=isa0060/serio1/input0 > > H: Handlers=mouse0 event0 > > B: EV=7 > > B: KEY=70000 0 0 0 0 0 0 0 0 > > B: REL=3 > > Thanks! Can you try this patch? > > psmouse.c | 2 +- > 1 files changed, 1 insertion(+), 1 deletion(-) > > =================================================================== > > diff -Nru a/drivers/input/mouse/psmouse.c > b/drivers/input/mouse/psmouse.c > --- a/drivers/input/mouse/psmouse.c Sat Oct 19 09:50:17 2002 > +++ b/drivers/input/mouse/psmouse.c Sat Oct 19 09:50:17 2002 > @@ -348,7 +348,7 @@ > > int i; > static int logitech_4btn[] = { 12, 40, 41, 42, 43, 52, > 73, 80, -1 }; > - static int logitech_wheel[] = { 52, 75, 76, 80, 81, 83, > 88, -1 }; > + static int logitech_wheel[] = { 52, 53, 75, 76, 80, 81, > 83, 88, -1 }; > static int logitech_ps2pp[] = { 12, 13, 40, 41, 42, 43, > 50, 51, 52, 53, 73, 75, > 76, 80, 81, 83, > 88, 96, 97, -1 }; > psmouse->vendor = "Logitech"; > > =================================================================== > > -- > Vojtech Pavlik > SuSE Labs -- Vojtech Pavlik SuSE Labs - 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/