[PATCH 4/5] Fix mute key for R series Thinkpads
Jerone Young
jerone.young at canonical.com
Sat Aug 29 16:28:53 UTC 2009
commit ce7df14a35dab994ece52112b33856eca1f9df5b
Author: Jerone Young <jerone.young at canonical.com>
Date: Thu Aug 27 01:07:23 2009 -0500
ACPI: Add Thinkpad R400 & Thinkpad R500 to OSI(Linux) white-list
acpi_osi=Linux helps the mute button work properly by sending Linux
a mute key press. This is the same behavior as seen with the Thinkpad
R61 already on the white list.
Signed-off-by: Jerone Young <jerone.young at canonical.com>
diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c
index 43c3619..e4aa9bc 100644
--- a/drivers/acpi/blacklist.c
+++ b/drivers/acpi/blacklist.c
@@ -307,6 +307,22 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = {
DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X301"),
},
},
+ {
+ .callback = dmi_enable_osi_linux,
+ .ident = "Lenovo ThinkPad R400",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad R400"),
+ },
+ },
+ {
+ .callback = dmi_enable_osi_linux,
+ .ident = "Lenovo ThinkPad R500",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad R500"),
+ },
+ },
{}
};
More information about the kernel-team
mailing list