Received: by 2002:a05:6500:1b8a:b0:1ef:a0f1:aef6 with SMTP id df10csp44316lqb; Sun, 10 Mar 2024 04:32:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUFNu3qsM5yiI25TG9BqTUSAwApX+eRC7td5YowmOTEuVq4rFVLECSeSF8KAG9cTjMK7xZY4HzqNVKrDz+JUhQ8q1DknmK0Q796BPo76w== X-Google-Smtp-Source: AGHT+IEBDCw8uPI2FlzKcH5Dm9FYwfcPC2Jau9+6L5n4WuYmK5TddNjzN75ODtJyY6OE77MvUi4A X-Received: by 2002:a17:906:752:b0:a45:c6a0:f572 with SMTP id z18-20020a170906075200b00a45c6a0f572mr2428693ejb.68.1710070335510; Sun, 10 Mar 2024 04:32:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710070335; cv=pass; d=google.com; s=arc-20160816; b=b9WlwI8/01QZy+BEUau+IlkYHt/EWMWCv/7TnfiKrIpb/64hCwYiPoUjVK69OeQ9TK 9YGp9Gq3GFYGvbLm4nhUC1ajzqTf75La4psPa4Dv9TKLcdFgWU+RMxgEUUqFrXrag97H hv8qIfET6nx2xf4gG2SbU0Adbs3Lyel7nEUE4z4nqLyS17RobaaHd1zTm4IF7I8XTxDf 4aKJlXThuVHcxxff/ipRYNEseZwhV5wh7rGA55AGK00w6hFfbmLdSo/O2F9A10x3EwT5 lgJwH++8AX547YCOuWwd8uA7zpRdd21jwm1BlL9Fz2XKYQtBriqJCz3gFQud+KED8Glk uP7Q== 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=9mw6QU8dOrkpPjppqRhcjgEEvxHZqkRBS/vuqfs5Nus=; fh=frKFMPxcN12FnAP0Ruo1zHVlnfiU+QldVXkbXXfnPzs=; b=CnH4+6ZQ6lgSMrMK4YyoVxs4Yrr4iXTdBoFIi9z66aPZQu225RB9Ft137GvKDDX6O/ GDPZjELlR3jJj6AX2PUUylNY3vka+jxV0VUPBoXcWys/cYlmXXu1kRiYUoegFKBnSMid B6LgnemUOUPfEkIcOb71BeiJsUt6BwWxF4PdWB/9XEVOUqUOohQu8ZAxnqD92oxJB3gy Kmiz63ST/hnBo5AOPpb0CuTda/uEHlojap9BWjLsFdsVG5jrquweK9V+Vxq7jaoF8WcV njHKIhvwg793Ki1XzbiofoKGRVkK91MtEn7Mjw9JRXjYy85/g1LjlfMI+eu4LUEtoY1l CbBQ==; 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-98192-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98192-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=irl.hu Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id nb34-20020a1709071ca200b00a461af7a1efsi547746ejc.1045.2024.03.10.04.32.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 04:32:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98192-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; 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-98192-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98192-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 42D661F210E1 for ; Sun, 10 Mar 2024 11:32:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A3E32031D; Sun, 10 Mar 2024 11:32:05 +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 15BCA1EB25; Sun, 10 Mar 2024 11:32:02 +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=1710070324; cv=none; b=Hd4DsXykttpgv0YW75C2sRwx+LXs79KB1tKN9Yz915e+soLQvK6NdXWERpJ0hX5OudRCb8X5/fgU+UA2oymYTe3Xm8QrM5eeSuKXFIxTPDRUrAdC59ToBLa4pCeNpZwn5qJmT7AXV9c9bc/foaH6okIK9n8NchilC8fkKWwCCaM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710070324; c=relaxed/simple; bh=YchC4Jus50krrCPc6Kl0ip+CMbfwroi2I2+N25DVqa8=; h=From:To:Cc:Subject:Date:Message-ID:Mime-Version:Content-Type; b=BwT06wRI9+APuduSgqn5IDbLoXYUnMKHsb01n99NcTNM8cMNXGNVGcbCkxf/lVNDKHk1EE5qeGpIkI80tKds8gXFRbNYoJhSLva5YSrQ9VlE1kwqerxeSd79gXx26hjtGHffPBkTwQCdUW8np2cj4/f7c0djIoC/U4gyDrq89NY= 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 (51b693e7.dsl.pool.telekom.hu [::ffff:81.182.147.231]) (AUTH: CRAM-MD5 soyer@irl.hu, ) by irl.hu with ESMTPSA id 00000000000769FF.0000000065ED9A2A.0020EFC5; Sun, 10 Mar 2024 12:31:54 +0100 From: Gergo Koteles To: Ike Panhc , Hans de Goede , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Dmitry Torokhov Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, Gergo Koteles Subject: [PATCH v2 0/2] map Fn + R key on newer Lenovo Yogas and Legions Date: Sun, 10 Mar 2024 12:31:40 +0100 Message-ID: X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 Hi All, This patch series adds a new KEY_REFRESH_RATE_TOGGLE input event code and maps the Fn + R key to it in the ideapad-laptop driver. It affects two WMI keycodes. I couldn't try the 0x0a. Regards, Gergo Changes in v2: - use KEY_REFRESH_RATE_TOGGLE instead of KEY_FN_R [1]: https://lore.kernel.org/all/cover.1708399689.git.soyer@irl.hu/ Gergo Koteles (2): Input: allocate keycode for Display refresh rate toggle platform/x86: ideapad-laptop: map Fn + R key to KEY_REFRESH_RATE_TOGGLE 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 -- 2.44.0