Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9192616pxu; Mon, 28 Dec 2020 08:55:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJyx4Fcxd/BFeHiBR3tmBzVgj4AvsGUmWATm/DZgfjniq86UO+SpjDzVi0wGONRoByQquZnV X-Received: by 2002:a05:6402:a53:: with SMTP id bt19mr43743671edb.104.1609174523856; Mon, 28 Dec 2020 08:55:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609174523; cv=none; d=google.com; s=arc-20160816; b=YiiLgi/gt+4ZPMKsjRumi+YEkzM1skrlys6qMtpxlAmbIqOrrGrTeyHpgjfn+O73c5 CA32mMqZtVGIqgQHXIFwGHZo8vfRqS1fPhO2xg0UOhHXhHswFPykuiAM3sfcKI41Lb+v bsOamGCvr2FYvvapHTQnmwObbHY0FOUkLFcgnQL9bB2FP0xgJMuoCyUCmDrrWnSHQ2wU YqxlmwBWlTrRIWS/93rgJLhrndj50DmOfgxhTYh82/1OnF04P+XpsULwW7ZayG2TFKDK SLaTXFQw8a5i12dkUa1tfeDPtg9MdSyzFyhSZYCeLmARpGbaFp7BRuueFAkK+HvO8xX3 IK0w== 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=QP4TUdQPt9Uu9ODGyGoPufvLYNDnsCH4jB+IkN+j/P8=; b=FHyRdYJpVNoOw8gQ2mYhb4bgeTZC5MNm1y2b8UUad6nNJQ+M0h1j6k6VAOEu+VJPgb NuPuuJvqAH22IaQeQVskI3nf940uTASk+JLyZxTADNLQm+d3J6lj59JmAqoykTXBEhiF a0ijsD79u1oWENjwKwFuGbTFOmBRL2y7vvi3jQN/wlqbKFITv0BYoWQ17tn4479Kg0ko fZbxayoXBltcHRIYR/VVrUgW6E/FC4fIZ0UkrFbJ46PoEuxPh4hq5QI5WTslk1ySdGyS 16e63bymGVTTF3nUTOsv3hKdf9yAiHW2OuyHLVMRmUVWv6soyC2UxYLxlmhiyA6Zs4S+ Tucw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ytgUgnhL; 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 w2si18263437edx.591.2020.12.28.08.55.00; Mon, 28 Dec 2020 08:55:23 -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=ytgUgnhL; 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 S1728058AbgL1MxE (ORCPT + 99 others); Mon, 28 Dec 2020 07:53:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:49754 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728013AbgL1MxC (ORCPT ); Mon, 28 Dec 2020 07:53:02 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6CF1122B2A; Mon, 28 Dec 2020 12:52:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609159927; bh=y83sAJ3Is1xrklf1O2hNLhvCDjnjRU8zGUNWeQw0rKs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ytgUgnhL6TLIqOHy0xnkj+ELmBdApFfvjsd5J9rbmQjydoGmTdECsorF0Lwcdgpbg uuGUH67+o3/8zkVH4y5YDkaiDZEd1vQgCv0Od6eXMc1uTUOHpNpu/ljiw+kUEDEEby iyPdjoUXn69zw/M3ap/Yq3aP2aAlVS2bjU6AUpX0= 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.4 004/132] platform/x86: acer-wmi: add automatic keyboard background light toggle key as KEY_LIGHTS_TOGGLE Date: Mon, 28 Dec 2020 13:48:08 +0100 Message-Id: <20201228124846.633460236@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124846.409999325@linuxfoundation.org> References: <20201228124846.409999325@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 5c169a837ebdf..b336f2620f9dc 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