Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9176386pxu; Mon, 28 Dec 2020 08:28:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZ/QRrkjoRFNL4/uJACLtUPnjWAJEQ52jc1qAMyL0Gatt9PkT0bv1JCDEGaPYeBifVx9ks X-Received: by 2002:aa7:c7d8:: with SMTP id o24mr43355885eds.328.1609172932584; Mon, 28 Dec 2020 08:28:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609172932; cv=none; d=google.com; s=arc-20160816; b=cOO/cy88C0xa5MDdP5/Ol4wkpI1+QZSPqtGKwkFjAfwLuTT65GVb95+l03VgUCv2/H zLRK0nfxwfiSS+IhEC1fl+n+etZihGU61eXpbfpE56X9PNFs+2YLOW4x87GbKz71aYn+ 0GPiz5BLv7TbpwyRzyAzSZ+CBFfrfan56Xn0mkBj3E1oPB/sRn/DhIXAPzzggxAQfCvk 5BCTudmMA4caeGuOqkS1EN0pPyrWVmetTG6pHYk0JJxqq2trW2mU/AxSl7acrLWgHdRN B6kn12qXOHPrV14JFBMRE4Avy/3Kh5aSsJ6lVXFzLnEuICdz6R6cAX6W5P1/DHvO38BN lYPQ== 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=bWaUlHrhjMBaes85mPo/4V3WCOurekDxyKp98fE7Y+w=; b=r3+Zr+GmVP25/XiU4QJ8d7yKGbzeAcSPWfRsfsnsQ5hnObRnA5aOLKCgnzTYUQT6e4 tAimn1La/8pB6/eli1IpNX94oY2cNlS+0NBPBPNiIagsCzyugChiq3Hirt/ObsmXH7dr Xoqv3SgBDZ9SofRCdUtSSnfqc6BxAuIej0Sqh+HymZN75RJ3u03UeBMcIZxp2PdWT+ms uIh7kKK51mlgDKqcbDUY16ROSZPMa8IaQ9PM3+NKb3t0xeQlAwnQFftAv6rCRcUJc1jJ pm/IMOfXvVDYcB02GmaYNkA6ftOAoZPvdji7j7ophJNVcEfOM+seWBmvYBprTKXdQHZ/ gc5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Cm7KnQyO; 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 p18si9240987ejm.276.2020.12.28.08.28.30; Mon, 28 Dec 2020 08:28:52 -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=Cm7KnQyO; 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 S2633396AbgL1Q0v (ORCPT + 99 others); Mon, 28 Dec 2020 11:26:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:35794 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730978AbgL1NIq (ORCPT ); Mon, 28 Dec 2020 08:08:46 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 33175207C9; Mon, 28 Dec 2020 13:08:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609160910; bh=KyTdHlhqvA3ADKEJ/GXypxElvwVqUxk7Lv+osuPptec=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Cm7KnQyOFcQSiw1vUG5ILQbJ3ohlwo9VNNzDKSO+bZ0PSdu12WKKb1ZQt/JEUu5Zy eYl+tPUoLASaj2DGA41buocqLGO9q8Iabbz2kpYF7YfNT8xbQ2OEWHE09Ify8Gg0op DsyUjYM9YXMPRCz+LJtfsq/Bch/NolKpEgPRRx20= 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.14 009/242] platform/x86: acer-wmi: add automatic keyboard background light toggle key as KEY_LIGHTS_TOGGLE Date: Mon, 28 Dec 2020 13:46:54 +0100 Message-Id: <20201228124905.116676832@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124904.654293249@linuxfoundation.org> References: <20201228124904.654293249@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 1be71f956d5c2..29f6f2bbb5fff 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