aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2011-05-25 20:05:17 -0500
committerDonnie Berkholz <dberkholz@gentoo.org>2011-05-26 09:03:04 -0500
commit50241131ba628cbf7a393e710cfae7c25a44cf49 (patch)
tree02fc1c758faa70e46e662075db688c655cbc38ef /app-laptop/tp_smapi/files/0.40-add-x120e-and-t520-to-whitelist.patch
parentopenbabel: 2.3 is in the tree now. (diff)
downloaddberkholz-50241131ba628cbf7a393e710cfae7c25a44cf49.tar.gz
dberkholz-50241131ba628cbf7a393e710cfae7c25a44cf49.tar.bz2
dberkholz-50241131ba628cbf7a393e710cfae7c25a44cf49.zip
tp_smapi: Whitelist X120e and T520 so thinkpad_ec will load.
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,