Skip to contentSkip to conversation

wistron_btns.c: Add DMI entry for Medion WIM2030 laptop

PATCH Applied Sebastian Frei 3 participants 4 messages Sep 19, 2009 – Sep 28, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wistron_btns.c: Add DMI entry for Medion WIM2030 laptop

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

drivers/input/misc/wistron_btns.c +9 -0
@@ -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"),
#1 lore raw
Quoted 12 lines · Sebastian Frei

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

drivers/input/misc/wistron_btns.c +2 -0
@@ -669,6 +669,15 @@
        },
        {
                .callback = dmi_matched,
+               .ident = "Medion MD 42200",
+               .matches = {

drivers/input/misc/wistron_btns.c line 683

Quoted 10 lines
drivers/input/misc/wistron_btns.c +7 -0
+                       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

#2 lore raw

Am Samstag, 19. September 2009 15:26:50 schrieb Daniel Walker:

Quoted 26 lines · Sebastian Frei
Quoted 12 lines

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

drivers/input/misc/wistron_btns.c +2 -0
@@ -669,6 +669,15 @@
        },
        {
                .callback = dmi_matched,
+               .ident = "Medion MD 42200",
+               .matches = {

drivers/input/misc/wistron_btns.c line 683

Quoted 10 lines
drivers/input/misc/wistron_btns.c +7 -0
+                       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),

Quoted 8 lines

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:

--- 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"),

maintainer Applied
#3 lore raw
Quoted 33 lines · Sebastian Frei

Am Samstag, 19. September 2009 15:26:50 schrieb Daniel Walker:

Quoted 32 lines · Sebastian Frei
Quoted 12 lines

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

drivers/input/misc/wistron_btns.c +2 -0
@@ -669,6 +669,15 @@
        },
        {
                .callback = dmi_matched,
+               .ident = "Medion MD 42200",
+               .matches = {

drivers/input/misc/wistron_btns.c line 683

Quoted 10 lines
drivers/input/misc/wistron_btns.c +7 -0
+                       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.

Quoted 6 lines
Quoted 2 lines

Daniel

Next try, this time with tab stops:

Applied, thanks Sebastian.

Signature · 1 line
Dmitry