From: Takashi Iwai Subject: Re: synaptics touchpad doesn't click Date: Wed, 16 Dec 2009 07:50:54 +0100 Message-ID: References: <20091214014828.GA28402@ldl.fc.hp.com> <20091214173450.GB2373@core.coreip.homeip.net> <20091215034127.GC587@ldl.fc.hp.com> <20091215062628.GA12669@core.coreip.homeip.net> <20091215073358.GC12669@core.coreip.homeip.net> <20091215082518.GD12669@core.coreip.homeip.net> <20091216010506.GA26367@ldl.fc.hp.com> <20091216025934.GA2699@core.coreip.homeip.net> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from cantor.suse.de ([195.135.220.2]:38745 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753958AbZLPGuz (ORCPT ); Wed, 16 Dec 2009 01:50:55 -0500 In-Reply-To: <20091216025934.GA2699@core.coreip.homeip.net> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Dmitry Torokhov Cc: Alex Chiang , linux-kernel , linux-input@vger.kernel.org At Tue, 15 Dec 2009 18:59:34 -0800, Dmitry Torokhov wrote: > > On Tue, Dec 15, 2009 at 06:05:06PM -0700, Alex Chiang wrote: > > * Dmitry Torokhov : > > > > > > The updated patch is below. > > > > > > -- > > > Dmitry > > > > Should I test this one or wait one more iteration to address > > Takashi's last comments? > > > > Actually I think we took the wrong direction with the original patch and > we should do what other buttonless devices (bcm5974) do: report touchpad > click as left button and have Synaptics X driver provide enhanced > support. This way we can have both modes (ClickZones and ClickButtons) > and users will get to chose (provided that someone takes time to add > that support to Synaptics driver of course ;) ). My concern is, still, how would you identify this device. Will you extend also some ioctls to expose caps and extcaps? Otherwise it's difficult to identify this device automatically from the user-space. The user-space can know that it's button-less, yes. But, how can it know whether the device should be emulated via ClickZone? We can use a driver option to x11 synaptics driver for that, as I already sent you another patch. However, the driver option is nowadays not preferred because xorg.conf is being dead on new systems... Or maybe HAL (or whatever upcoming one) can check the vendor/product id of the machine (not the device) to provide the information. OTOH this will also need frequent updates. Takashi