Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp55004ybg; Mon, 8 Jun 2020 16:16:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjW21tc51UNqDEMsrnK9sT60fi1XaUthu6qH8Amf0/1cwiyR5XYiDW5/2F55XEPN/8/Ska X-Received: by 2002:aa7:ce13:: with SMTP id d19mr24917949edv.355.1591658162031; Mon, 08 Jun 2020 16:16:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591658162; cv=none; d=google.com; s=arc-20160816; b=BcAEC5XIp5sWO1vy9sohk83fOU2Tu89XmtRlM4b1DQgHjMz2eY7MDCsD2zLREmW+69 0ZfoU/EnObkm7hYKxt+A3SS8zfEOTko62IIZe2DFyBgfpBGizlcCRLYZpuUaYod8EZH2 KvgBdlbNsXc0bocURduO8TIi23RNwfSZ4rWLQF/TYBQPRLc+F6p3JsMxjdDJBSpf9NOn tAx612TYerYViq6l4WLPHKu95hAB80nM/LK8FXTIAiDwd/bsY2/TDJDlJPrQtin3CRCh 8zrKLBgxJfZBCt4EGSOa8Yp8gCumJrgURaE3kweLTfhLm7JFGfVmNPQQEUVsN1UEWJYw KKVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wIk8kjmBO7uyy7i60/MKk5EXxjwxjZWRJXuzBOZbx3I=; b=P+sPhZN9iFHav4Z/Hmif5DUgmcHlScmvM4y0UzI/Uc4JHIRlk1Oi57AWq67r+BfLEz AqSr8zdlzfl+joirlH0s8G3C6Ae5zKzMHQOGXZZFW7kSWEbzjMUgfuZEP8conZcQudaO 7zQLQiOkK6ZXKmL9AM/TIwXULAiZqIZ+ZUk06bhGpu4dt+gAFvtDqXGm/sIO8wLUSQTs ctCwOL3Q6JAEZQ4mgaBgLf+ZemfqCMU8tAV/68fzfznv4m08ZXOdNBTPX2OE5wsUspee uRPiez0w4QD7OdTO+KtgaDQScqyKGw+myc9khTJ1sg33GdYNFTJditOcmYNrn8fJcn4q TB4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Cm0AFNWn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dp17si11766276ejc.285.2020.06.08.16.15.39; Mon, 08 Jun 2020 16:16:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Cm0AFNWn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729378AbgFHXN1 (ORCPT + 99 others); Mon, 8 Jun 2020 19:13:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:58000 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727920AbgFHXLR (ORCPT ); Mon, 8 Jun 2020 19:11:17 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7DF86212CC; Mon, 8 Jun 2020 23:11:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591657877; bh=WalAKmd2wJyO633C/RRtz+BX1RofonbPiTJF5TW5uS0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Cm0AFNWnARbden/cCzJHjYhiAHojxkFzVL3SSQ4YgraW+FAC1pDDOyjrbteTIZlG5 hW+OLl7V0QzKuHt5UZokqLqR8bfRAAxpqmwCevnhQtreCKAK9eBHPoX3Zgh0modg5A B3tBtg/1WbdWZrV4DnTStEcn7mj1rs+vGXUNUc7A= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Paul Menzel , Hans de Goede , "Rafael J . Wysocki" , Sasha Levin , linux-acpi@vger.kernel.org Subject: [PATCH AUTOSEL 5.7 234/274] ACPI: video: Use native backlight on Acer TravelMate 5735Z Date: Mon, 8 Jun 2020 19:05:27 -0400 Message-Id: <20200608230607.3361041-234-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200608230607.3361041-1-sashal@kernel.org> References: <20200608230607.3361041-1-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Paul Menzel [ Upstream commit c41c36e900a337b4132b12ccabc97f5578248b44 ] Currently, changing the brightness of the internal display of the Acer TravelMate 5735Z does not work. Pressing the function keys or changing the slider, GNOME Shell 3.36.2 displays the OSD (five steps), but the brightness does not change. The Acer TravelMate 5735Z shipped with Windows 7 and as such does not trigger our "win8 ready" heuristic for preferring the native backlight interface. Still ACPI backlight control doesn't work on this model, where as the native (intel_video) backlight interface does work by adding `acpi_backlight=native` or `acpi_backlight=none` to Linux’ command line. So, add a quirk to force using native backlight control on this model. Link: https://bugzilla.kernel.org/show_bug.cgi?id=207835 Reviewed-by: Hans de Goede Signed-off-by: Paul Menzel Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- drivers/acpi/video_detect.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c index b4994e50608d..2499d7e3c710 100644 --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -361,6 +361,16 @@ static const struct dmi_system_id video_detect_dmi_table[] = { DMI_MATCH(DMI_BOARD_NAME, "JV50"), }, }, + { + /* https://bugzilla.kernel.org/show_bug.cgi?id=207835 */ + .callback = video_detect_force_native, + .ident = "Acer TravelMate 5735Z", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Acer"), + DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 5735Z"), + DMI_MATCH(DMI_BOARD_NAME, "BA51_MV"), + }, + }, /* * Desktops which falsely report a backlight and which our heuristics -- 2.25.1