[PATCH 2/5] Fix mute key for X200 series Thinkpads

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


commit 1e6df1b8003388c084d0751e88f7d81c69eba0cf
Author: Jerone Young <jerone.young at canonical.com>
Date:   Thu Aug 27 00:45:46 2009 -0500

    ACPI: Add Thinkpad X200, X200s, X200t 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
    X61 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 c201ac0..9f281bd 100644
--- a/drivers/acpi/blacklist.c
+++ b/drivers/acpi/blacklist.c
@@ -267,6 +267,30 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = {
 		     DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T500"),
 		},
 	},
+	{
+	.callback = dmi_enable_osi_linux,
+	.ident = "Lenovo ThinkPad X200",
+	.matches = {
+		     DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+		     DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X200"),
+		},
+	},
+	{
+	.callback = dmi_enable_osi_linux,
+	.ident = "Lenovo ThinkPad X200s",
+	.matches = {
+		     DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+		     DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X200s"),
+		},
+	},
+	{
+	.callback = dmi_enable_osi_linux,
+	.ident = "Lenovo ThinkPad X200t",
+	.matches = {
+		     DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+		     DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X200t"),
+		},
+	},
 	{}
 };
 






More information about the kernel-team mailing list