Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261838AbVCUPra (ORCPT ); Mon, 21 Mar 2005 10:47:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261814AbVCUPr3 (ORCPT ); Mon, 21 Mar 2005 10:47:29 -0500 Received: from rproxy.gmail.com ([64.233.170.199]:34975 "EHLO rproxy.gmail.com") by vger.kernel.org with ESMTP id S261838AbVCUPpA (ORCPT ); Mon, 21 Mar 2005 10:45:00 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=UVhj6CvSQfgoM4i2NCP15oYqcr5n0XMsoXWZ2//4HbVoZzOKjiJFKVCgI7mXQTGv1WzxRJgx/RG0DxCU7MhPMbduV6RRRPSAqqKr8wHX7TXMzRD1UP9kEBVqUtyr1TD9j2l/2xdyPKGj8337qaOcZL5YQ2c7CrpeSuDwSzf4LhU= Message-ID: Date: Mon, 21 Mar 2005 10:44:57 -0500 From: Dmitry Torokhov Reply-To: dtor_core@ameritech.net To: Kenan Esau Subject: Re: [rfc/rft] Fujitsu B-Series Lifebook PS/2 TouchScreen driver Cc: harald.hoyer@redhat.de, linux-input@atrey.karlin.mff.cuni.cz, linux-kernel@vger.kernel.org, Vojtech Pavlik In-Reply-To: <1111419068.8079.15.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <20050217194217.GA2458@ucw.cz> <20050224090338.GA3699@ucw.cz> <1109664709.18617.10.camel@localhost> <20050301120839.GA5720@ucw.cz> <1110180436.3444.17.camel@localhost> <20050307073406.GA2026@ucw.cz> <1110893143.4777.31.camel@localhost> <20050321124407.GA1762@ucw.cz> <1111419068.8079.15.camel@localhost> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2526 Lines: 58 On Mon, 21 Mar 2005 16:31:08 +0100, Kenan Esau wrote: > Am Montag, den 21.03.2005, 09:52 -0500 schrieb Dmitry Torokhov: > > On Mon, 21 Mar 2005 13:44:07 +0100, Vojtech Pavlik wrote: > > > On Tue, Mar 15, 2005 at 02:25:42PM +0100, Kenan Esau wrote: > > > > Here is a new version of the patch: > > > > - minimal changes > > > > - reintroduced DMI-probing > > > > > > > > I had a look at the synaptic-sources to see how the pass-through-mode is > > > > implemented. We'll see if something similar to this also works with the > > > > lifebook. > > > > > > Thanks, I applied this version of the patch to my tree. It'll appear in > > > next -mm, and in 2.6.13. > > > > > > > There are couple of things that I an concerned with: > > > > 1. I don't like that it overrides meaning of max_proto parameter to be > > exactly the protocol specified. > > Yeah -- I agree. I also don't like that double-meaning. That was the > reason why I originally proposed the use of a new parameter... > > > However, if you take my psmouse > > protocol switching through sysfs patch we can drop that change and > > require that non auto-detectable protocols be activated through sysfs > > after loading the driver. > > I think that would also be a good solution. > > > 2. It looks like it bypasses rate and resolution setting in > > psmouse_initialize. What was the reason for it? Does setting rate or > > resolution disturbs lifebook mode? If so the driver has to implement > > it's own set_rate and set_resolution handlers so when one tries to > > change rate from userspace (through sysfs) the request would be > > ignored. > > IMHO it does not make sense to call psmouse_initialize() although it > does not disturb lifebook-mode. But setting resolution is already done > during lifebook_initialize(). And there psmouse->set_resolution() and > psmouse->set_rate() are used so setting resolution and rate should also > work via sysfs. > Oh, I see. But I think that setting rate and resolution as well as enabling the device should be removed from lifebook_initialize. *_initialize() functions should only be used to set up corresponding protocol, the reset of the initializationis done by psmouse-base independent of the protocol used. -- Dmitry - 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/