Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp454084rdh; Sat, 23 Sep 2023 19:25:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH6BoUgwAwW8jfClf1Tr1tWIsdXoagiMpufiblnWD+66rUYFDeZsAT1jyGdov7NQbPMR1CW X-Received: by 2002:a05:620a:2a09:b0:76d:5126:65d8 with SMTP id o9-20020a05620a2a0900b0076d512665d8mr3934700qkp.6.1695522336843; Sat, 23 Sep 2023 19:25:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695522336; cv=none; d=google.com; s=arc-20160816; b=eGeuUBO/v2xRlkFmFeRTNTyHLgBY/pVsws4uZaIHPaiL3+LitG0rdZowf55Z3EssmG ejnlEVRA+C/32oeAsUeRiOT95VWngOEm+zhseTri9mWJCy/Zv7fjX8B//zVKzr8GjaLM hJV2utUNVM41Y115yjbzOp5uH29YicoKDQ6LBzJOb97kK7F0jfn2urvgqY9pOAthk56v 0uwPa/FlQrg/nJR8PEO3yHgyt0pJUEjX3qqASMmDrg1bgjC+eAM957e5zKkJKVLALBFh OoNF2GAoe1J5qwuecFYpHaVEdtxUm7klugpAhNt70XJ0EQpJKUlUIlmAZCB91/AkuBQx dqfw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0uRl1ixYaY0Cpi2uIWGZyIKgL5GwL4twvNO8Ic4FyQA=; fh=mOe1ko3f8kPYDE7PL8LsZW2fNDy1pqWYuuuyh7fh9Yg=; b=w/VsxH4ZXFq5lxKYenxixQE4U6TvMzhjCUIBgqZMlW89ILVggeTxe9k/9L25CMv6eB 4D2VELpPQB/aWYNBLBawCmuJ3tUN7d5gtYZFpa9cG563yTPNfDVzwtvC/LUxbjSwtD95 Ni0wrMjhGRyBvMinzC65BHy5OlnlL5Y47bsg8U+Aqk1EXscuuSeH1HatM784oRMamcI/ /uByB+nz58ms/PG3nF89xAlN1tjCGP1dfV0JeO9JWG4NEwK8EkGFwSGJ9xaZWkdZ54LZ QDBt5YgsVqQo+CBI/4T5T1xEUVbBZzksLNh3aUkbOPogLUADETV20+m09Qok0UmXsa5R HDyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@khvoinitsky.org header.s=key1 header.b=OmWQJ+aY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=khvoinitsky.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id br4-20020a056a00440400b0068e2f6feab4si6737943pfb.374.2023.09.23.19.25.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Sep 2023 19:25:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@khvoinitsky.org header.s=key1 header.b=OmWQJ+aY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=khvoinitsky.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 8123581F3665; Sat, 23 Sep 2023 16:21:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229733AbjIWXVi (ORCPT + 99 others); Sat, 23 Sep 2023 19:21:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjIWXVh (ORCPT ); Sat, 23 Sep 2023 19:21:37 -0400 X-Greylist: delayed 350 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sat, 23 Sep 2023 16:21:31 PDT Received: from out-206.mta0.migadu.com (out-206.mta0.migadu.com [91.218.175.206]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AB5083 for ; Sat, 23 Sep 2023 16:21:31 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=khvoinitsky.org; s=key1; t=1695510937; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0uRl1ixYaY0Cpi2uIWGZyIKgL5GwL4twvNO8Ic4FyQA=; b=OmWQJ+aYfCmtK/4yAEmO2L/rjBRLJIsGYitOBfDiFnUCwyIoje8MOaz8m+nNGINMNUM/25 aSBpiFOhe5IOwtmD9r6H9pJqS1Kmze4/g6/W3ZlVGGEtdMquXa1IqV3Qo9HsIrr17ogpDj VSto72lNtmc+Pz5VEFNfevig6P+rudY= From: Mikhail Khvainitski To: Jiri Kosina , Benjamin Tissoires Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Mikhail Khvainitski Subject: Re: [PATCH] HID: lenovo: Add middleclick_workaround sysfs knob for cptkbd Date: Sun, 24 Sep 2023 01:58:29 +0300 Message-ID: <20230923231522.94060-1-me@khvoinitsky.org> In-Reply-To: <20230918145042.37368-1-me@khvoinitsky.org> References: <20230918145042.37368-1-me@khvoinitsky.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Sat, 23 Sep 2023 16:21:55 -0700 (PDT) So, while I was waiting for the review of the patch, I've come up with much better idea: we can just autodetect if stock and buggy or patched and bug-free firmware is used and have no need to introduce additional sysfs knob. So the patch which implements this follows in the next message. While the patch is ready to be merged as is (of course, if there are no comments from reviewers), I thought about the following: may be we should add a message to dmesg upon detecting stock and buggy firmware that user should consider patching the firmware? If so, what is the best place to put an instruction to? Post a link to dmesg? Can the link point directly to Dennis' blog or its better to put it somewhere else (with credits, of course)? Thanks.