Message ID | cover.1708399689.git.soyer@irl.hu |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-72278-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp174476dyc; Mon, 19 Feb 2024 19:40:56 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX9G5YPXgoVwFWYGWhAKfOJO/3c8hcH6yq/F1MzGk4M2kKoDW7SUj+EUv7GTQ+FRQu7aJ9ZONRiYDavvRFUtksPCzrzBw== X-Google-Smtp-Source: AGHT+IFBsJ9a9iphhzFy+BlA8VcIYGhBGLFe44Je1I0zJlDEXw/QEQkuvX7cUQiSQ4na16ZefAew X-Received: by 2002:a05:6214:3b89:b0:68e:fa6c:4fa9 with SMTP id nf9-20020a0562143b8900b0068efa6c4fa9mr29597913qvb.4.1708400456388; Mon, 19 Feb 2024 19:40:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708400456; cv=pass; d=google.com; s=arc-20160816; b=gwXa4YxrLpfp6YWPpWQSX2uhGJfYJSYUEBIkkNEwh3tZf6qJnoV8mzFE4ptm778hYL 6wk9xzPHXtwTFMbhHCxAJVEsN+cxYfUFxkV2OFxBgE/R/hcnhfCYAUboZHzE1vLuuZMn M1BR9c8n4FRZkDf2qqQZhxc5tPddIBZ8yTx3gUlKTqblH5r+Ypyy7DQuShFCieWOPVbT dKGYJlp4ZUBFU36PYzFZCp+Ea9gmFbVKpuS1UNMgCrWetem9hEPrq6khBjgd6Ia/gwGI zbUF2xorl/koIXd7JILIVbM8GNls3C1tiYvfdzgvoJEZzvC2j2I26Zl7MkqblfEwbezI 8q9Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=3KNWeEEM7VqgeUeN0MpYQTkT7M52oTLfe5Aoe+kD1C0=; fh=pUadl2wNriNRNgSk6HblFoWJzIWMP/JJG3bNQeUlSko=; b=FrDf349+T0jPktRVEnsPC+UM/bbk3d7uklGrSCh7S7SFAyyV5TxgF7TnL9h6t+Ff0I FO+Ue8Hvw5TQxks0k7d6t6hwUe/R7PIy3rXQ5H5MI13x1h5LDfkASrKbEa/4YWCzkqLk ohwF4e8AawS5V715nv11tMIPZ4O3Wsumo6s+NhfNu+Il1mZua8Z4N1Gd3zMbN401TWGV aqXPkHdX+HZcl2A5oR+wzHGxd62QnEoQWi810hda7Ui0CyMN0Vs1ON+eL1L/JVtndPFm qon6wp3FS7Zh3tQn+XwhJgqV3UGl4UZxMbu2MQhKK+UqLWOxbdbpCxAAOy6suRfcLrK1 c83Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=irl.hu dmarc=pass fromdomain=irl.hu); spf=pass (google.com: domain of linux-kernel+bounces-72278-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72278-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=irl.hu Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id gc4-20020a056214230400b0068d04c92f28si7675959qvb.241.2024.02.19.19.40.56 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 19:40:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72278-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=irl.hu dmarc=pass fromdomain=irl.hu); spf=pass (google.com: domain of linux-kernel+bounces-72278-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72278-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=irl.hu Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 66AD71C215A0 for <ouuuleilei@gmail.com>; Tue, 20 Feb 2024 03:40:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3798457307; Tue, 20 Feb 2024 03:40:08 +0000 (UTC) Received: from irl.hu (irl.hu [95.85.9.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 617E4535B4; Tue, 20 Feb 2024 03:40:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.85.9.111 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708400406; cv=none; b=gsfT3TA9j+npYamENbVgABZbePg9OY9z0onurzVRDUJSL11hL0dfQYQmtaD99/PAhMC5sGFSVujwJW7LNeDRLuEZ6H0h9+OGHUiNflennfJiV6O8UUC8eVmfbJitoUO2arqXOMdHqksuXGFub05QOsyYSweWzOhVeCjm/iOVas0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708400406; c=relaxed/simple; bh=DhsKxd0UYvlAjNOP3Fxs14d3du1xy4aJ2UZPCODhw7o=; h=From:To:Cc:Subject:Date:Message-ID:Mime-Version:Content-Type; b=hgO1IhyewVaykA4JYS6Z+EHSXBoKQTvbtGpc/1uwR3FRkbBHqAQfhTrG0utsUK4E0Xf1XOPWgXk5r4vr8LRb54BO86aISv2WrkMuqHWfXRxBnInaYBNBjR9djXKSas6/Foql3zoaaDGPwCGU68qyRhNwXKhrs9PDCHdoL3kREwY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=irl.hu; spf=pass smtp.mailfrom=irl.hu; arc=none smtp.client-ip=95.85.9.111 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=irl.hu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=irl.hu Received: from fedori.lan (51b68dc5.dsl.pool.telekom.hu [::ffff:81.182.141.197]) (AUTH: CRAM-MD5 soyer@irl.hu, ) by irl.hu with ESMTPSA id 00000000000735C0.0000000065D41F12.001D1CAC; Tue, 20 Feb 2024 04:40:01 +0100 From: Gergo Koteles <soyer@irl.hu> To: Ike Panhc <ike.pan@canonical.com>, Hans de Goede <hdegoede@redhat.com>, =?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com>, Dmitry Torokhov <dmitry.torokhov@gmail.com>, Philipp Jungkamp <p.jungkamp@gmx.net> Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, Gergo Koteles <soyer@irl.hu> Subject: [PATCH 0/2] map Fn + R key on newer Yogas and Legions Date: Tue, 20 Feb 2024 04:39:34 +0100 Message-ID: <cover.1708399689.git.soyer@irl.hu> X-Mailer: git-send-email 2.43.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mime-Autoconverted: from 8bit to 7bit by courier 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791387717014937211 X-GMAIL-MSGID: 1791387717014937211 |
Series |
map Fn + R key on newer Yogas and Legions
|
|
Message
Gergo Koteles
Feb. 20, 2024, 3:39 a.m. UTC
Hi All, This patch series adds a new KEY_FN_R input event code and map the Fn + R key to it in the ideapad-laptop driver. It affects two WMI keycodes and I couldn't try the 0x0a, but I couldn't find any indication that the refresh rate toggle should not be Fn + R. Regards, Gergo Gergo Koteles (2): Input: allocate keycode for Fn + R platform/x86: ideapad-laptop: map Fn + R key to KEY_FN_R drivers/platform/x86/ideapad-laptop.c | 4 ++-- include/uapi/linux/input-event-codes.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) base-commit: b401b621758e46812da61fa58a67c3fd8d91de0d prerequisite-patch-id: 66a1ec71f181c6468a8226430af7ee917f40138a
Comments
On Tue, 20 Feb 2024 04:39:34 +0100, Gergo Koteles wrote: > This patch series adds a new KEY_FN_R input event code and map the > Fn + R key to it in the ideapad-laptop driver. > > It affects two WMI keycodes and I couldn't try the 0x0a, but I couldn't > find any indication that the refresh rate toggle should not be Fn + R. > > Regards, > Gergo > > [...] Thank you for your contribution, it has been applied to my local review-ilpo branch. Note it will show up in the public platform-drivers-x86/review-ilpo branch only once I've pushed my local branch there, which might take a while. The list of commits applied: [1/2] Input: allocate keycode for Fn + R commit: 4e45fa464aeef4e803412b5dcce73aad48c94b0e [2/2] platform/x86: ideapad-laptop: map Fn + R key to KEY_FN_R commit: cd4525993e49f1449e9380bd28fa1179b05c911d -- i.