Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264788AbVBDNpW (ORCPT ); Fri, 4 Feb 2005 08:45:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262544AbVBDNpW (ORCPT ); Fri, 4 Feb 2005 08:45:22 -0500 Received: from styx.suse.cz ([82.119.242.94]:39660 "EHLO mail.suse.cz") by vger.kernel.org with ESMTP id S266197AbVBDNpN (ORCPT ); Fri, 4 Feb 2005 08:45:13 -0500 Date: Fri, 4 Feb 2005 14:45:28 +0100 From: Vojtech Pavlik To: Stephen Evanchik Cc: Dmitry Torokhov , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2.6.11-rc3] IBM Trackpoint support Message-ID: <20050204134528.GA12001@ucw.cz> References: <200502031934.16642.dtor_core@ameritech.net> <20050204063520.GD2329@ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1283 Lines: 35 On Fri, Feb 04, 2005 at 08:17:43AM -0500, Stephen Evanchik wrote: > On Fri, 4 Feb 2005 07:35:20 +0100, Vojtech Pavlik wrote: > > > > /* > > > > + * Try to initialize the IBM TrackPoint > > > > + */ > > > > + if (max_proto > PSMOUSE_PS2 && trackpoint_init(psmouse) == 0) { > > > > + psmouse->vendor = "IBM"; > > > > + psmouse->name = "TrackPoint"; > > > > + > > > > + return PSMOUSE_PS2; > > > > > > Why PSMOUSE_PS2? Reconnect will surely not like it. > > > > Indeed. IIRC this patch killed wheel mouse detection in ubuntu. > > Earlier versions of the patch didn't disable the device while probing > so events could be interpreted as the magic ID of a TrackPoint. It now > resets and disables the PS/2 device before detection but not after a > detect failure. Since we fixed libps2, this shouldn't happen anymore, as long as the BIOS doesn't inject an endless stream of data from an USB mouse. > I'll clean that up so its more sensible. Thanks. -- 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/