From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755205Ab0A1APP (ORCPT ); Wed, 27 Jan 2010 19:15:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753902Ab0A1APO (ORCPT ); Wed, 27 Jan 2010 19:15:14 -0500 Received: from mail-pw0-f42.google.com ([209.85.160.42]:57513 "EHLO mail-pw0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751914Ab0A1APN (ORCPT ); Wed, 27 Jan 2010 19:15:13 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=OJRTW/NQTtgjl2Y0nUt/J7BA42p0kgOBFYhsCa36F15nmaPxakuq5b2Twn6zD0MeDw RrdDWm6x6qwDXp8DpdLUhX7esFa3p89WzN8SYMCS+JWnHQJhMUsl7EgoipeY3CfghWd8 rAgsVF27ZzUO7Hm122ZZXmwf8lLWagLnnrjPc= Date: Wed, 27 Jan 2010 16:15:01 -0800 From: Dmitry Torokhov To: Andrew Morton Cc: jon - , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: Re: [PATCH] Generic PS/2 mouse detected on Fujitsu Lifebook B-Series model laptop instead of LBPS/2 Fujitsu Lifebook TouchScreen Message-ID: <20100128001500.GA17185@core.coreip.homeip.net> References: <20100127155514.cc743fa4.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100127155514.cc743fa4.akpm@linux-foundation.org> User-Agent: Mutt/1.5.20 (2009-08-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 27, 2010 at 03:55:14PM -0800, Andrew Morton wrote: > (suitable cc's added) > > On Mon, 25 Jan 2010 16:12:43 +0000 > jon - wrote: > > > From: Jon Dodgson > > > > Fix Detection of Lifebook B-Series Laptop touch screen with DMI > > product Name string 'Lifebook B Series' > > > > Signed-off-by: Jon Dodgson > > > > --- > > diff -Nurb linux-2.6.26.2/drivers/input/mouse/lifebook.c > > linux-2.6.26.2_patched/drivers/input/mouse/lifebook.c > > --- linux-2.6.26.2/drivers/input/mouse/lifebook.c 2008-08-06 > > 17:19:01.000000000 +0100 > > +++ linux-2.6.26.2_patched/drivers/input/mouse/lifebook.c 2010-01-25 > > 02:56:41.000000000 +0000 > > @@ -51,6 +51,12 @@ > > { > > .ident = "LifeBook B", > > .matches = { > > + DMI_MATCH(DMI_PRODUCT_NAME, "Lifebook B Series"), > > + }, > > + }, > > + { > > + .ident = "LifeBook B", > > + .matches = { > > DMI_MATCH(DMI_PRODUCT_NAME, "LifeBook B Series"), > > }, > > }, > > So the problem is "LifeBook" versus "Lifebook"? These matches are > case-sensitive? Yep. And trust to the BIOS writers wil fill this data with as many permutations as possible. > > I don't know what kernel you were patching, but current kernels no > longer have the ".ident" initialisation in that table. If it _was_ > still there then I'd wonder why you set the ident to "LifeBook B" > rather than "Lifebook B". Ident is just for information purposes only (and is was not used by input that's why it was removed. > > Your email client wordwrapped the patch and replaced its tabs with > spaces. Yeah ;( Anyway, I ahve it now, thanks. -- Dmitry