Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752353AbaLRMTT (ORCPT ); Thu, 18 Dec 2014 07:19:19 -0500 Received: from mail-lb0-f179.google.com ([209.85.217.179]:61264 "EHLO mail-lb0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751910AbaLRMTQ (ORCPT ); Thu, 18 Dec 2014 07:19:16 -0500 Message-ID: <5492C641.4040602@gmail.com> Date: Thu, 18 Dec 2014 15:19:13 +0300 From: Dmitry Tunin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: linux-acpi@vger.kernel.org CC: linux-kernel , stable@vger.kernel.org, aaron.lu@intel.com Subject: [PATCH 2/2] acpi: Add "acpi_osi=" for ASUS UX302LA to enable, brightness keys References: <5492C5A3.8090700@gmail.com> In-Reply-To: <5492C5A3.8090700@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch is a workaround quirk to enable brightness keys. BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=70241 Cc: stable@vger.kernel.org Signed-off-by: Dmitry Tunin --- drivers/acpi/blacklist.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c index f78ed08..a96295c 100644 --- a/drivers/acpi/blacklist.c +++ b/drivers/acpi/blacklist.c @@ -391,6 +391,14 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = { DMI_MATCH(DMI_PRODUCT_NAME, "X200MA"), }, }, + { + .callback = dmi_disable_osi_all, + .ident = "ASUSTeK COMPUTER INC. UX302LA", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_PRODUCT_NAME, "UX302LA"), + }, + }, {} }; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/