Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp385887iog; Wed, 15 Jun 2022 04:26:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyE5Rsmi9NGEcLq4ehcFgmoZKljfB7Gtrudburllo6Ks0UKwec8d7zyQzd5N+RHzLp1LPsc X-Received: by 2002:a05:6402:40c9:b0:42d:da4a:9a72 with SMTP id z9-20020a05640240c900b0042dda4a9a72mr12130076edb.380.1655292414966; Wed, 15 Jun 2022 04:26:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655292414; cv=none; d=google.com; s=arc-20160816; b=XV41GaDlAa4GkBeT0UGPlKMwR2FhMnxZRuhGehSHXvrb0ZzcaGNen1GijmmAywwADr j3jDn98QdmBeu2vIixBTV8n5ZdRRh9K8vK+1XP0WdM23UYxNC8dHJlboxkcPyH7o12ML /i5sqvenAGYhFfxx9nbM0MA2683MBjWjAvR5WBpt6/HxisZ2ShS8oFdDxWjukmgxjYBH dMWOVkOlYepzO8jgN899NYisUxn4K5rRJzbwcVQLw0Jw6ZGONCFqXaBGjAdksrOatMzo gkTaOYLgLXqhKuqmqj84LU1fw/WgMwgfdZuL3eO6BVlVknP7rkBqERxSBYZJP/wtziSS Z1KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=yS4AEQhVOxYtw9bkG8bQ5OUIdbAZ8lf4Xr7hDzTTOJM=; b=Bp2y+iND4rAYsbSTc0/Nwliu255xhNx5aT9fflH4ho0GSJMbexVmZu+RtUHM5qNkad qFXw1iQCS1Ubsc/RIi+tSCGW5XnXzH7X5fxi1OgPxWt0XHCssOmGj9r3j2nzc5M7bjlj csw2naDgKqJqogAkXxI5IQpSoqaGzWxAp4uIPZrY/fdBpCLAkKVbC5wMCHHuvpI0kXnR GMolyJYWE0i5iAMvVkRCuw1zmC45kfUM18HioqxsZC20UiofssgsFSLUZp1ik0zO7V5D CKbVsRm1NosS0qY7tWtVKeIkF7LCvQAZKjxPxRSpRUWS1Y8YyCVTJDltv51kGQZc4aEC YPJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Ukb88aqE; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l3-20020aa7c3c3000000b0043154993965si13328756edr.489.2022.06.15.04.26.29; Wed, 15 Jun 2022 04:26:54 -0700 (PDT) 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=pass header.i=@gmail.com header.s=20210112 header.b=Ukb88aqE; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346376AbiFOLW5 (ORCPT + 99 others); Wed, 15 Jun 2022 07:22:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345753AbiFOLWv (ORCPT ); Wed, 15 Jun 2022 07:22:51 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA945220; Wed, 15 Jun 2022 04:22:27 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id n10so22557910ejk.5; Wed, 15 Jun 2022 04:22:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yS4AEQhVOxYtw9bkG8bQ5OUIdbAZ8lf4Xr7hDzTTOJM=; b=Ukb88aqEEeeeaHcbY7m5Yr493yWZYALiPv7J935rjlqmAkTRvWBSLWYid+GWmUtZay 9qgRnoYrTB/T1cZVFUrYv+iPpMQQGHv1/DZkDWzbCKXxqoe9auDAOMubA9OoogE8Fcke h9eOcqRDKr339Mth5LsC8YXDbLmlAbpx3C1WTw068dDJJNn81mcHEa/kLF2bzVZ/YSDQ HP/K+L3oswilfZRHy9tjMktcoPBBxdjWKRJWcCoBTrVUbOcyvkxz1d7E3w+r3jEaOMxP NqEXRziLhZiDj/3GIO8YI8nZMaufL3i0vbRSfzlkkEKKW2Ky8N2y+ihLdgOg3HHAD/dJ T0sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yS4AEQhVOxYtw9bkG8bQ5OUIdbAZ8lf4Xr7hDzTTOJM=; b=z3jJ5fKIPg1gXLYkzVnRZbDoIC4CXC8GDNMWFSJaymOM9SfkfqT28ltQZrxLchgnxv 01L2mlCiSzveOkjjo07xDtf7TOcW4MIXlmfuh/O4VWjNIqSej9T5LN3b2YgQrdzxBmjW NrpGNCnyyxgg5k1WnXxcBijQrgMyeQqrUmEojdehoj+XvDCIW12mIJDXks43eaEFvLon lCPoTwE5z8cV/SWBt+vWY+TJr3XJif6QDx7AHi6Ht/WFDEzZ8ivrZEStQ1i8GoPlTFll rJckCLIGZW0s0NYa0AmUfwdX6clpeFxlTKhDt8gb/o2lHFzlu4kvfv8BaPsCf+Ft7J5p WOUQ== X-Gm-Message-State: AOAM530GeZDoZ61S6IDoltwECC7oIAECeTBKhihfyxVzK0mCjQR/FxWT BBkQgqIMKJG+G74qk51qwLSGlezojE+wjx8T6erm7j4YHU3OPg== X-Received: by 2002:a17:906:1193:b0:70d:cf39:a4db with SMTP id n19-20020a170906119300b0070dcf39a4dbmr8469334eja.44.1655292144186; Wed, 15 Jun 2022 04:22:24 -0700 (PDT) MIME-Version: 1.0 References: <20200821181433.17653-8-kenneth.t.chan@gmail.com> <20220612090507.20648-1-stefan.seyfried@googlemail.com> <20220612090507.20648-3-stefan.seyfried@googlemail.com> In-Reply-To: <20220612090507.20648-3-stefan.seyfried@googlemail.com> From: Andy Shevchenko Date: Wed, 15 Jun 2022 13:21:46 +0200 Message-ID: Subject: Re: [PATCH 2/2] platform/x86: panasonic-laptop: allow to use all hotkeys To: stefan.seyfried@googlemail.com Cc: Kenneth Chan , Platform Driver , Linux Kernel Mailing List , Stefan Seyfried Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Sun, Jun 12, 2022 at 3:54 PM wrote: > > From: Stefan Seyfried > > commit ed83c9171829 broke the hotkeys on my Toughbook CF-51. The commit > I'm questioning the general validity of that commit, but as I only > have a single machine to test, add a module parameter to allow making > it work at runtime. Thanks for the report and the fix, my comments below. > +static bool hotkey_input; > +module_param(hotkey_input, bool, 0644); > +MODULE_PARM_DESC(hotkey_input, "Send all hotkeys to the input subsystem"); We usually add module options in very bad cases where it's very useful for debugging or when some devices require the opposite settings while can't be distinguished automatically. Here I do not see either of such cases. Hence, I would prefer to see a DMI based quirk as it's done a lot in the PDx86 drivers. Can you do that? -- With Best Regards, Andy Shevchenko