From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754895Ab0A0XzX (ORCPT ); Wed, 27 Jan 2010 18:55:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753740Ab0A0XzW (ORCPT ); Wed, 27 Jan 2010 18:55:22 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:54129 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753719Ab0A0XzV (ORCPT ); Wed, 27 Jan 2010 18:55:21 -0500 Date: Wed, 27 Jan 2010 15:55:14 -0800 From: Andrew Morton To: jon - Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, Dmitry Torokhov Subject: Re: [PATCH] Generic PS/2 mouse detected on Fujitsu Lifebook B-Series model laptop instead of LBPS/2 Fujitsu Lifebook TouchScreen Message-Id: <20100127155514.cc743fa4.akpm@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (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? 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". Your email client wordwrapped the patch and replaced its tabs with spaces. Anyway, thanks. Please work this with Dmitry.