* Re: [PATCH] Generic PS/2 mouse detected on Fujitsu Lifebook B-Series model laptop instead of LBPS/2 Fujitsu Lifebook TouchScreen [not found] <a05e21071001250812x4461e4a0re7f46f7cd28c4162@mail.gmail.com> @ 2010-01-27 23:55 ` Andrew Morton 2010-01-28 0:15 ` Dmitry Torokhov 0 siblings, 1 reply; 2+ messages in thread From: Andrew Morton @ 2010-01-27 23:55 UTC (permalink / raw) To: jon -; +Cc: linux-kernel, linux-input, Dmitry Torokhov (suitable cc's added) On Mon, 25 Jan 2010 16:12:43 +0000 jon - <crayzeejon@gmail.com> wrote: > From: Jon Dodgson <crayzeejon@gmail.com> > > Fix Detection of Lifebook B-Series Laptop touch screen with DMI > product Name string 'Lifebook B Series' > > Signed-off-by: Jon Dodgson <crayzeejon@gmail.com> > > --- > 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. ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Generic PS/2 mouse detected on Fujitsu Lifebook B-Series model laptop instead of LBPS/2 Fujitsu Lifebook TouchScreen 2010-01-27 23:55 ` [PATCH] Generic PS/2 mouse detected on Fujitsu Lifebook B-Series model laptop instead of LBPS/2 Fujitsu Lifebook TouchScreen Andrew Morton @ 2010-01-28 0:15 ` Dmitry Torokhov 0 siblings, 0 replies; 2+ messages in thread From: Dmitry Torokhov @ 2010-01-28 0:15 UTC (permalink / raw) To: Andrew Morton; +Cc: jon -, linux-kernel, linux-input 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 - <crayzeejon@gmail.com> wrote: > > > From: Jon Dodgson <crayzeejon@gmail.com> > > > > Fix Detection of Lifebook B-Series Laptop touch screen with DMI > > product Name string 'Lifebook B Series' > > > > Signed-off-by: Jon Dodgson <crayzeejon@gmail.com> > > > > --- > > 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 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-28 0:15 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <a05e21071001250812x4461e4a0re7f46f7cd28c4162@mail.gmail.com> 2010-01-27 23:55 ` [PATCH] Generic PS/2 mouse detected on Fujitsu Lifebook B-Series model laptop instead of LBPS/2 Fujitsu Lifebook TouchScreen Andrew Morton 2010-01-28 0:15 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).