[PATCH 5/5] Fix mute key for W series Thinkpads

Jerone Young jerone.young at canonical.com
Sat Aug 29 16:28:58 UTC 2009


commit 9d63fec73490e9705789357854ddeb9ee87a8baa
Author: Jerone Young <jerone.young at canonical.com>
Date:   Thu Aug 27 01:26:22 2009 -0500

    ACPI: Add Thinkpad W500, W700, & W700ds 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
    T61 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 e4aa9bc..c59e0e7 100644
--- a/drivers/acpi/blacklist.c
+++ b/drivers/acpi/blacklist.c
@@ -323,6 +323,30 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = {
 		     DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad R500"),
 		},
 	},
+	{
+	.callback = dmi_enable_osi_linux,
+	.ident = "Lenovo ThinkPad W500",
+	.matches = {
+		     DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+		     DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad W500"),
+		},
+	},
+	{
+	.callback = dmi_enable_osi_linux,
+	.ident = "Lenovo ThinkPad W700",
+	.matches = {
+		     DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+		     DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad W700"),
+		},
+	},
+	{
+	.callback = dmi_enable_osi_linux,
+	.ident = "Lenovo ThinkPad W700ds",
+	.matches = {
+		     DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+		     DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad W700ds"),
+		},
+	},
 	{}
 };
 






More information about the kernel-team mailing list