Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9184879pxu; Mon, 28 Dec 2020 08:42:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJz9f9HR6NbEWJA308YZJI/FDyS89NPRrYQkGZ/3R2CQ41XqBADD/nQQC3In8iJqAyAeA7Yb X-Received: by 2002:aa7:cb16:: with SMTP id s22mr44129653edt.53.1609173742582; Mon, 28 Dec 2020 08:42:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609173742; cv=none; d=google.com; s=arc-20160816; b=IeiQA6dNFQEr5ye4Wk58DTwo2lGHsUVoSDT8x+ZB2LqgamcV94TXRYGaesZ6DxaXlV 4xTCL+wiy8WUE0XHmIDDBVlcwcliEB75bB8IlgbPVPl9CsX4yG0ptEAzQBYj6CT16ZsK DF/FlA1MT+ERjc+VPQBdNxTG5BT8y6dU2nMf6TNrxfL3P1TUrNXGciypg6uJJYN0K0ub lg1s81UPz6yUV8JgoWHaMJMYtxsZ7tv5rt95r7ZuGR+G1am8nt7rpmclzkQR7snaMW2y +mUa5BVqI1z/PHuXP8n7i1Drnea6PzGUHVlfIPsWX35y4x4qt0faJ92Y5oyQ1G7rloFZ v+SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=M1AG6yHzrYCF8yLBmzvNfRC+8W0gNlpWAX9xulH3Bpk=; b=1DsM4kBA/K6xb6D/n3T8zXQwUhAEsFd0x8aWNfWEDi1cdWtGorveVsnYsqc8GfjpFG H2Xih47Od+MApkyyYdjpk4A8BVA1ZPiPy/LqcmFXkQQkvA79IdFDigXzozB2NrjoBHgP 13MYcaAusROT0IALjx24Tv1e4qWgvERs1rH0ENQUI3Y/h8oE4z9XTKFvncE85gsvQSkT RwAucziY//9wHCrfFPF3hVZsVsGINMwOiIeTZf7a469IIZ6R7anREszZnuozpoxNVM6t /6wgnHzE9PqZ4QXPyfsfiWvsVnFxCC0ulW28iNaut7UfsoLiSncBCMaUUM0LTHonb2La heow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KbFkbGNN; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e8si20509874edq.377.2020.12.28.08.41.58; Mon, 28 Dec 2020 08:42:22 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=KbFkbGNN; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2441249AbgL1Qjr (ORCPT + 99 others); Mon, 28 Dec 2020 11:39:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:56110 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729366AbgL1M74 (ORCPT ); Mon, 28 Dec 2020 07:59:56 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id AC3DF22582; Mon, 28 Dec 2020 12:59:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609160356; bh=mVeXhq4sJ2hihUK43w8WVwVZbrqDMGkLZY7ds9Ra2Ks=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KbFkbGNNjSyarhvHPck62oxgIT2/i+IkgRckqLpvhSCQVV6Ddy5i6C47e9OBm6rvW rUGYv19b4OLLYoTMJ1b1Y3g3zWiMWXDBTWcqm9atuZB8dBVeI6H9I4GwIxxdoyce8T XdK0uSPSOiHKvIHe7g7kojKX5vKFStLq+S0Np74I= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Timo Witte , "Lee, Chun-Yi" , Hans de Goede , Sasha Levin Subject: [PATCH 4.9 006/175] platform/x86: acer-wmi: add automatic keyboard background light toggle key as KEY_LIGHTS_TOGGLE Date: Mon, 28 Dec 2020 13:47:39 +0100 Message-Id: <20201228124853.555789949@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124853.216621466@linuxfoundation.org> References: <20201228124853.216621466@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Timo Witte [ Upstream commit 9e7a005ad56aa7d6ea5830c5ffcc60bf35de380b ] Got a dmesg message on my AMD Renoir based Acer laptop: "acer_wmi: Unknown key number - 0x84" when toggling keyboard background light Signed-off-by: Timo Witte Reviewed-by: "Lee, Chun-Yi" Link: https://lore.kernel.org/r/20200804001423.36778-1-timo.witte@gmail.com Signed-off-by: Hans de Goede Signed-off-by: Sasha Levin --- drivers/platform/x86/acer-wmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c index 1515c9480f89f..90015e2cce9bf 100644 --- a/drivers/platform/x86/acer-wmi.c +++ b/drivers/platform/x86/acer-wmi.c @@ -124,6 +124,7 @@ static const struct key_entry acer_wmi_keymap[] __initconst = { {KE_KEY, 0x64, {KEY_SWITCHVIDEOMODE} }, /* Display Switch */ {KE_IGNORE, 0x81, {KEY_SLEEP} }, {KE_KEY, 0x82, {KEY_TOUCHPAD_TOGGLE} }, /* Touch Pad Toggle */ + {KE_IGNORE, 0x84, {KEY_KBDILLUMTOGGLE} }, /* Automatic Keyboard background light toggle */ {KE_KEY, KEY_TOUCHPAD_ON, {KEY_TOUCHPAD_ON} }, {KE_KEY, KEY_TOUCHPAD_OFF, {KEY_TOUCHPAD_OFF} }, {KE_IGNORE, 0x83, {KEY_TOUCHPAD_TOGGLE} }, -- 2.27.0