From patchwork Thu Nov 29 06:15:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "lan,Tianyu" X-Patchwork-Id: 1820251 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 21A633FC5A for ; Thu, 29 Nov 2012 06:20:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751692Ab2K2GU0 (ORCPT ); Thu, 29 Nov 2012 01:20:26 -0500 Received: from mga03.intel.com ([143.182.124.21]:53179 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751392Ab2K2GUZ (ORCPT ); Thu, 29 Nov 2012 01:20:25 -0500 Received: from azsmga002.ch.intel.com ([10.2.17.35]) by azsmga101.ch.intel.com with ESMTP; 28 Nov 2012 22:20:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,182,1355126400"; d="scan'208";a="173844292" Received: from lantianyu-ws.sh.intel.com (HELO localhost) ([10.239.13.8]) by AZSMGA002.ch.intel.com with ESMTP; 28 Nov 2012 22:20:23 -0800 From: Lan Tianyu To: rjw@sisk.pl, lenb@kernel.org Cc: Lan Tianyu , linux-pm@vger.kernel.org, linux-acpi@vger.kernel.org Subject: [FIX PATCH] acpi/video_detect: Add "Asus UL30VT" to acpi video detect blacklist Date: Thu, 29 Nov 2012 14:15:37 +0800 Message-Id: <1354169737-28558-1-git-send-email-tianyu.lan@intel.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The ACPI video driver can't control backlight correctly on Asus UL30VT. Vent driver(asus-laptop) can work. This patch is to add "Asus UL30VT" to acpi video detect blacklist in order to use vent driver for video control on the "Asus UL30VT" rather than ACPI video driver. https://bugzilla.kernel.org/show_bug.cgi?id=32592 Signed-off-by: Lan Tianyu --- drivers/acpi/video_detect.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c index b728880..4ac2593 100644 --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -156,6 +156,14 @@ static struct dmi_system_id video_detect_dmi_table[] = { DMI_MATCH(DMI_BOARD_NAME, "X360"), }, }, + { + .callback = video_detect_force_vendor, + .ident = "Asus UL30VT", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "UL30VT"), + }, + }, { }, };