From patchwork Fri Apr 23 22:48:04 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerone Young X-Patchwork-Id: 94777 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o3NMmGeJ016907 for ; Fri, 23 Apr 2010 22:48:16 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750914Ab0DWWsJ (ORCPT ); Fri, 23 Apr 2010 18:48:09 -0400 Received: from adelie.canonical.com ([91.189.90.139]:43279 "EHLO adelie.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750835Ab0DWWsI (ORCPT ); Fri, 23 Apr 2010 18:48:08 -0400 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1O5RfL-0004Dj-B1 for ; Fri, 23 Apr 2010 23:48:07 +0100 Received: from rrcs-24-227-244-55.sw.biz.rr.com ([24.227.244.55] helo=[192.168.1.220]) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1O5RfL-0000YC-1K for linux-acpi@vger.kernel.org; Fri, 23 Apr 2010 23:48:07 +0100 Subject: [PATCH] Fix mute key on older Thinkpads by OSI blacklisting them From: Jerone Young To: linux-acpi@vger.kernel.org Date: Fri, 23 Apr 2010 17:48:04 -0500 Message-ID: <1272062884.1594.73.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 23 Apr 2010 22:48:17 +0000 (UTC) diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c index 2815df6..cce6e1a 100644 --- a/drivers/acpi/blacklist.c +++ b/drivers/acpi/blacklist.c @@ -285,6 +285,46 @@ 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[s][t]", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X200"), + }, + }, + { + .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"), + }, + }, + { + .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[ds]", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad W700"), + }, + }, {} };