aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-laptop/tp_smapi/files/0.40-add-x120e-and-t520-to-whitelist.patch')
-rw-r--r--app-laptop/tp_smapi/files/0.40-add-x120e-and-t520-to-whitelist.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-laptop/tp_smapi/files/0.40-add-x120e-and-t520-to-whitelist.patch b/app-laptop/tp_smapi/files/0.40-add-x120e-and-t520-to-whitelist.patch
new file mode 100644
index 0000000..6e0c8d9
--- /dev/null
+++ b/app-laptop/tp_smapi/files/0.40-add-x120e-and-t520-to-whitelist.patch
@@ -0,0 +1,12 @@
+diff -ur tp_smapi-0.40.orig//thinkpad_ec.c tp_smapi-0.40//thinkpad_ec.c
+--- tp_smapi-0.40.orig//thinkpad_ec.c 2011-05-25 20:01:04.623516726 -0500
++++ tp_smapi-0.40//thinkpad_ec.c 2011-05-25 20:02:01.303273850 -0500
+@@ -456,6 +456,8 @@
+ TP_DMI_MATCH("IBM", "ThinkPad A30"),
+ TP_DMI_MATCH("IBM", "ThinkPad T23"),
+ TP_DMI_MATCH("IBM", "ThinkPad X24"),
++ TP_DMI_MATCH("LENOVO", "ThinkPad X120e"),
++ TP_DMI_MATCH("LENOVO", "ThinkPad T520"),
+ { .ident = NULL }
+ };
+ return dmi_find_substring(DMI_DEV_TYPE_OEM_STRING,