From patchwork Tue Jan 25 00:05:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Mostafa X-Patchwork-Id: 80294 X-Patchwork-Delegate: tim.gardner@canonical.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 571E7B710D for ; Tue, 25 Jan 2011 11:05:27 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1PhWPT-0007BL-UM; Tue, 25 Jan 2011 00:05:23 +0000 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1PhWPS-0007B2-4f for kernel-team@lists.ubuntu.com; Tue, 25 Jan 2011 00:05:22 +0000 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1PhWPR-0006qZ-MA; Tue, 25 Jan 2011 00:05:21 +0000 Received: from c-98-234-57-120.hsd1.ca.comcast.net ([98.234.57.120] helo=[192.168.1.7]) by hutte.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1PhWPR-00061j-84; Tue, 25 Jan 2011 00:05:21 +0000 Subject: Re: [lucid-SRU][PATCH 1/2] UBUNTU: dell-laptop: Add another Dell laptop family to the DMI whitelist From: Kamal Mostafa To: kernel-team@lists.ubuntu.com In-Reply-To: <1295913842.16789.87.camel@fourier> References: <1295913842.16789.87.camel@fourier> Date: Mon, 24 Jan 2011 16:05:18 -0800 Message-ID: <1295913918.16789.88.camel@fourier> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com From 51c14ac91eedd75f9fbf8a2da4fb67964a52ae1e Mon Sep 17 00:00:00 2001 From: Erik Andren Date: Sun, 14 Feb 2010 11:53:23 -0500 Subject: [PATCH 1/2] dell-laptop: Add another Dell laptop to the DMI whitelist The Latitude C640 has another variation of dell in its DMI vendor entry. Add it to the whitelist in order to enjoy the sweet fruits of software backlight toggling. Signed-off-by: Erik Andren (cherry picked from commit cb6a7937f4328a267e0806680ade500ed2c3c01a) Bring Dell DMI table up-to-date for... BugLink: http://bugs.launchpad.net/bugs/693078 Signed-off-by: Kamal Mostafa Acked-by: Stefan Bader --- drivers/platform/x86/dell-laptop.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index a224f49..6c2e1bc 100644 --- a/drivers/platform/x86/dell-laptop.c +++ b/drivers/platform/x86/dell-laptop.c @@ -84,6 +84,13 @@ static const struct dmi_system_id __initdata dell_device_table[] = { DMI_MATCH(DMI_CHASSIS_TYPE, "8"), }, }, + { + .ident = "Dell Computer Corporation", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Computer Corporation"), + DMI_MATCH(DMI_CHASSIS_TYPE, "8"), + }, + }, { } }; @@ -603,3 +610,4 @@ MODULE_AUTHOR("Matthew Garrett "); MODULE_DESCRIPTION("Dell laptop driver"); MODULE_LICENSE("GPL"); MODULE_ALIAS("dmi:*svnDellInc.:*:ct8:*"); +MODULE_ALIAS("dmi:*svnDellComputerCorporation.:*:ct8:*");