From patchwork Thu Mar 29 21:17:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brad Figg X-Patchwork-Id: 149493 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 7467CB7033 for ; Fri, 30 Mar 2012 08:17:53 +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 1SDMj4-0007Cp-C2; Thu, 29 Mar 2012 21:17:46 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SDMj2-0007BO-7p for kernel-team@lists.ubuntu.com; Thu, 29 Mar 2012 21:17:44 +0000 Received: from static-50-53-107-235.bvtn.or.frontiernet.net ([50.53.107.235] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SDMj1-0001Tz-Sk for kernel-team@lists.ubuntu.com; Thu, 29 Mar 2012 21:17:44 +0000 From: Brad Figg To: kernel-team@lists.ubuntu.com Subject: [RESUBMIT] [PATCH] UBUNTU: SAUCE (no-up) Quirk for enabling backlight hotkeys on Samsung N150P Date: Thu, 29 Mar 2012 14:17:40 -0700 Message-Id: <1333055860-16161-2-git-send-email-brad.figg@canonical.com> X-Mailer: git-send-email 1.7.9.1 In-Reply-To: <1333055860-16161-1-git-send-email-brad.figg@canonical.com> References: <1333055860-16161-1-git-send-email-brad.figg@canonical.com> 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: , MIME-Version: 1.0 Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com BugLink: http://bugs.launchpad.net/bugs/875893 This patch is a very small part of a much larger patch that is upstream. I felt the full patch was too invasive to try to backport. (partial backport of upstream commit: a979e2e2af7d5b4bb3b20f6a716c627bb23a6753) Signed-off-by: Brad Figg --- drivers/platform/x86/samsung-laptop.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c index 09e26bf..7f208fd 100644 --- a/drivers/platform/x86/samsung-laptop.c +++ b/drivers/platform/x86/samsung-laptop.c @@ -579,6 +579,16 @@ static struct dmi_system_id __initdata samsung_dmi_table[] = { .callback = dmi_check_cb, }, { + .ident = "N150P", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, + "SAMSUNG ELECTRONICS CO., LTD."), + DMI_MATCH(DMI_PRODUCT_NAME, "N150P"), + DMI_MATCH(DMI_BOARD_NAME, "N150P"), + }, + .callback = dmi_check_cb, + }, + { .ident = "X125", .matches = { DMI_MATCH(DMI_SYS_VENDOR,