linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] wistron_btns.c: Add DMI entry for Medion WIM2030 laptop
@ 2009-09-19 10:43 Sebastian Frei
  2009-09-19 13:26 ` Daniel Walker
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Frei @ 2009-09-19 10:43 UTC (permalink / raw)
  To: mitr; +Cc: linux-kernel, dmitry.torokhov, linux-input

This patch adds a DMI entry for the Medion WIM2030 laptop.

Signed-off-by: Sebastian Frei <dr.nop@gmx.net>

--- linux-2.6.31.orig/drivers/input/misc/wistron_btns.c
+++ linux-2.6.31/drivers/input/misc/wistron_btns.c
@@ -669,6 +669,15 @@
        },
        {
                .callback = dmi_matched,
+               .ident = "Medion MD 42200",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Medion"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "WIM 2030"),
+               },
+               .driver_data = keymap_fs_amilo_pro_v2000
+       },
+       {
+               .callback = dmi_matched,
                .ident = "Fujitsu N3510",
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] wistron_btns.c: Add DMI entry for Medion WIM2030 laptop
  2009-09-19 10:43 [PATCH] wistron_btns.c: Add DMI entry for Medion WIM2030 laptop Sebastian Frei
@ 2009-09-19 13:26 ` Daniel Walker
  2009-09-19 14:55   ` Sebastian Frei
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Walker @ 2009-09-19 13:26 UTC (permalink / raw)
  To: Sebastian Frei; +Cc: mitr, linux-kernel, dmitry.torokhov, linux-input

On Sat, 2009-09-19 at 12:43 +0200, Sebastian Frei wrote:
> This patch adds a DMI entry for the Medion WIM2030 laptop.
> 
> Signed-off-by: Sebastian Frei <dr.nop@gmx.net>
> 
> --- linux-2.6.31.orig/drivers/input/misc/wistron_btns.c
> +++ linux-2.6.31/drivers/input/misc/wistron_btns.c
> @@ -669,6 +669,15 @@
>         },
>         {
>                 .callback = dmi_matched,
> +               .ident = "Medion MD 42200",
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "Medion"),
> +                       DMI_MATCH(DMI_PRODUCT_NAME, "WIM 2030"),
> +               },
> +               .driver_data = keymap_fs_amilo_pro_v2000
> +       },
> +       {
> +               .callback = dmi_matched,
>                 .ident = "Fujitsu N3510",
>                 .matches = {
>                         DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),

Form email below (your the second person to do this today),

Your patch is whitespace damaged .. All the tabs have been removed from
your code, and the context code in the patch. That usually means the
patch can't be applied .. It can happen when you X copy&paste the patch
into an email. If your using quilt you can use "quilt mail" , or have
your mailer "insert text file" instead of copy&paste.

Daniel



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] wistron_btns.c: Add DMI entry for Medion WIM2030 laptop
  2009-09-19 13:26 ` Daniel Walker
@ 2009-09-19 14:55   ` Sebastian Frei
  2009-09-28 17:02     ` Dmitry Torokhov
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Frei @ 2009-09-19 14:55 UTC (permalink / raw)
  To: mitr; +Cc: linux-kernel, dmitry.torokhov, linux-input

Am Samstag, 19. September 2009 15:26:50 schrieb Daniel Walker:
> On Sat, 2009-09-19 at 12:43 +0200, Sebastian Frei wrote:
> > This patch adds a DMI entry for the Medion WIM2030 laptop.
> >
> > Signed-off-by: Sebastian Frei <dr.nop@gmx.net>
> >
> > --- linux-2.6.31.orig/drivers/input/misc/wistron_btns.c
> > +++ linux-2.6.31/drivers/input/misc/wistron_btns.c
> > @@ -669,6 +669,15 @@
> >         },
> >         {
> >                 .callback = dmi_matched,
> > +               .ident = "Medion MD 42200",
> > +               .matches = {
> > +                       DMI_MATCH(DMI_SYS_VENDOR, "Medion"),
> > +                       DMI_MATCH(DMI_PRODUCT_NAME, "WIM 2030"),
> > +               },
> > +               .driver_data = keymap_fs_amilo_pro_v2000
> > +       },
> > +       {
> > +               .callback = dmi_matched,
> >                 .ident = "Fujitsu N3510",
> >                 .matches = {
> >                         DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),
> 
> Form email below (your the second person to do this today),
> 
> Your patch is whitespace damaged .. All the tabs have been removed from
> your code, and the context code in the patch. That usually means the
> patch can't be applied .. It can happen when you X copy&paste the patch
> into an email. If your using quilt you can use "quilt mail" , or have
> your mailer "insert text file" instead of copy&paste.
> 
> Daniel
> 
Next try, this time with tab stops:

Signed-off-by: Sebastian Frei <dr.nop@gmx.net>

--- linux-2.6.31/drivers/input/misc/wistron_btns.c.orig	2008-09-12 
20:47:24.000000000 +0200
+++ linux-2.6.31/drivers/input/misc/wistron_btns.c	2008-03-13 
22:18:02.000000000 +0100
@@ -669,6 +669,15 @@
 	},
 	{
 		.callback = dmi_matched,
+		.ident = "Medion MD 42200",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Medion"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "WIM 2030"),
+		},
+		.driver_data = keymap_fs_amilo_pro_v2000
+	},
+	{
+		.callback = dmi_matched,
 		.ident = "Fujitsu N3510",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] wistron_btns.c: Add DMI entry for Medion WIM2030 laptop
  2009-09-19 14:55   ` Sebastian Frei
@ 2009-09-28 17:02     ` Dmitry Torokhov
  0 siblings, 0 replies; 4+ messages in thread
From: Dmitry Torokhov @ 2009-09-28 17:02 UTC (permalink / raw)
  To: Sebastian Frei; +Cc: mitr, linux-kernel, linux-input

On Sat, Sep 19, 2009 at 04:55:54PM +0200, Sebastian Frei wrote:
> Am Samstag, 19. September 2009 15:26:50 schrieb Daniel Walker:
> > On Sat, 2009-09-19 at 12:43 +0200, Sebastian Frei wrote:
> > > This patch adds a DMI entry for the Medion WIM2030 laptop.
> > >
> > > Signed-off-by: Sebastian Frei <dr.nop@gmx.net>
> > >
> > > --- linux-2.6.31.orig/drivers/input/misc/wistron_btns.c
> > > +++ linux-2.6.31/drivers/input/misc/wistron_btns.c
> > > @@ -669,6 +669,15 @@
> > >         },
> > >         {
> > >                 .callback = dmi_matched,
> > > +               .ident = "Medion MD 42200",
> > > +               .matches = {
> > > +                       DMI_MATCH(DMI_SYS_VENDOR, "Medion"),
> > > +                       DMI_MATCH(DMI_PRODUCT_NAME, "WIM 2030"),
> > > +               },
> > > +               .driver_data = keymap_fs_amilo_pro_v2000
> > > +       },
> > > +       {
> > > +               .callback = dmi_matched,
> > >                 .ident = "Fujitsu N3510",
> > >                 .matches = {
> > >                         DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),
> > 
> > Form email below (your the second person to do this today),
> > 
> > Your patch is whitespace damaged .. All the tabs have been removed from
> > your code, and the context code in the patch. That usually means the
> > patch can't be applied .. It can happen when you X copy&paste the patch
> > into an email. If your using quilt you can use "quilt mail" , or have
> > your mailer "insert text file" instead of copy&paste.
> > 
> > Daniel
> > 
> Next try, this time with tab stops:
> 
> Signed-off-by: Sebastian Frei <dr.nop@gmx.net>
> 

Applied, thanks Sebastian.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-28 17:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-19 10:43 [PATCH] wistron_btns.c: Add DMI entry for Medion WIM2030 laptop Sebastian Frei
2009-09-19 13:26 ` Daniel Walker
2009-09-19 14:55   ` Sebastian Frei
2009-09-28 17:02     ` 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).