Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp5063236rwj; Tue, 20 Dec 2022 19:57:31 -0800 (PST) X-Google-Smtp-Source: AMrXdXuejSE1zqLwh9XPi+L4GeiMZa/1osZdMaRx5cTnFbh6AzFQUtseOZ7zpxxEDiiNgb9T5CqQ X-Received: by 2002:a05:6a20:1455:b0:af:730d:204a with SMTP id a21-20020a056a20145500b000af730d204amr1184856pzi.8.1671595051582; Tue, 20 Dec 2022 19:57:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671595051; cv=none; d=google.com; s=arc-20160816; b=OgYrk/GK6hnTv0ZxWk7Nf+esDpKH5FNEUCZLz5U50vB3yiqCZ+awvUMbs49+LPduB+ VKOwGK8cRgtkm2AH2q4mJ4AFjxT8cIiE5y7hn+Yt4LI/dxH4SCX2mqAvTRrYy9F+RS/O 1mBy5VfL+l3UYZUZOOm3kEZwjHqwOpIuM0N84wqvHGiAzY5mw9HIBTAIMSlWSh+doYfS yRU4pfwLxSJbrmpNCFXNNmZZtAFKEk+chEm+YJm9ugyj/Sgyx4Jh6BMDMwHMiAE9GCQb Urvc/zaRDfP+b1waIHOzNCVG9dRX6l8m6lxYHwAJBiz5c6mAPJOSOb3pnaUEPDK+dnGB +49w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:dkim-signature:from; bh=jo/GWqySxx6vSJxBmkWqx9czpIQ2hUsE56k0JB6522I=; b=TbA47mMZqg2rIJa8cOHPFYCo8XoPN3IOx4wa+xb5+60xpZIBMCCx3p5Xw9uULt+BEY LW3s3b+MOQqK6PEbwuV2/NldJbWXJ+6SNxUBcjGphuzyRHWTIKvUgBYrJr2iwn5u5+3p LP7CyMaLV2Wp35PIMfiFJj5eIbfzAhNfLuss8Qn2DlEdetfI/SS85Pzsky5abgiESvJE Q0Mcba1sRenE43Y9BaXSbyOjy/bFSJ5f85LE7AUQm/s72CDY8xprjKI+QLlwp5HUcQnM wGvk2PI3KQlHxz+nCK7Mo973m9UC7jXKtXX3QCBrIfXc9+87HoBVfOeYI9lobAFQWXOp LZhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=PYir1pHB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a71-20020a63904a000000b00477a3989772si15595306pge.12.2022.12.20.19.57.22; Tue, 20 Dec 2022 19:57:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=PYir1pHB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233820AbiLUDuK (ORCPT + 70 others); Tue, 20 Dec 2022 22:50:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbiLUDuI (ORCPT ); Tue, 20 Dec 2022 22:50:08 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57DA1BE6; Tue, 20 Dec 2022 19:50:07 -0800 (PST) From: Thomas =?utf-8?q?Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1671594605; bh=vm8LMVsbwRZQxgihhWF8na4eZeHZD1RVft5RuFXZE+c=; h=From:Date:Subject:To:Cc:From; b=PYir1pHBLyivz5JXOkNmuNwSywDHvABj4NSGsP+boTCMvDWEJ92L4Tj/1Zl+W9317 nm6C0b6z+93LS8zAz4v/rSxCfa5S9VzHulxMTgSQ4rL2HknI15EC90f8iJK4vi5VuI ry9X9pu0ehjaeMByRUUma1uM6z8RxBZP6wEjK7Es= Date: Wed, 21 Dec 2022 03:49:59 +0000 Subject: [PATCH] platform/x86: asus-nb-wmi: Add alternate mapping for KEY_CAMERA MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: <20221216-asus-key-v1-1-45da124119a3@weissschuh.net> X-B4-Tracking: v=1; b=H4sIAGeComMC/w2LQQqAIBAAvyJ7biE3SOg3altKYuBiENLf28McB mYGCLfMApsZ0PjJku+qYicDMfl6MuZdHWgmsmRX9NIFL34xLOFQIrFzoHnwwhiarzHpUHsp3/cD l+zOXV8AAAA= To: Corentin Chary , Hans de Goede , Mark Gross Cc: acpi4asus-user@lists.sourceforge.net, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas =?utf-8?q?Wei=C3=9Fschuh?= X-Mailer: b4 0.11.0-dev-e429b X-Developer-Signature: v=1; a=ed25519-sha256; t=1671594602; l=1123; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=vm8LMVsbwRZQxgihhWF8na4eZeHZD1RVft5RuFXZE+c=; b=09P9ObfPmPrh6SciSdjxoGA+sQ4g3LcPnn8Q2oW1VdDbgqHqnOqjFjbiei8ugHVInOCyi//h/voI EWUFoJQLAEsXBzzKAIuAsGOveNezNS3N4wc9VhFHeYYOvYomuWuR X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This keycode is emitted on a Asus VivoBook E410MAB with firmware E410MAB.304. The physical key has a strikken-through camera printed on it. Signed-off-by: Thomas Weißschuh --- drivers/platform/x86/asus-nb-wmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c index c685a705b73d..8ee5d108e9e0 100644 --- a/drivers/platform/x86/asus-nb-wmi.c +++ b/drivers/platform/x86/asus-nb-wmi.c @@ -544,6 +544,7 @@ static const struct key_entry asus_nb_wmi_keymap[] = { { KE_KEY, 0x7D, { KEY_BLUETOOTH } }, /* Bluetooth Enable */ { KE_KEY, 0x7E, { KEY_BLUETOOTH } }, /* Bluetooth Disable */ { KE_KEY, 0x82, { KEY_CAMERA } }, + { KE_KEY, 0x85, { KEY_CAMERA } }, { KE_KEY, 0x86, { KEY_PROG1 } }, /* MyASUS Key */ { KE_KEY, 0x88, { KEY_RFKILL } }, /* Radio Toggle Key */ { KE_KEY, 0x8A, { KEY_PROG1 } }, /* Color enhancement mode */ --- base-commit: b6bb9676f2165d518b35ba3bea5f1fcfc0d969bf change-id: 20221216-asus-key-b3bfb3bc2e77 Best regards, -- Thomas Weißschuh