Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp21293pxb; Wed, 30 Mar 2022 21:44:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLzK6sJELyREKORvRaycS805GwCJp8APFNx5P+NkXhtwDbaP2L/8uXmaDP76Nf/OsVKkWo X-Received: by 2002:a63:a66:0:b0:373:c36b:e500 with SMTP id z38-20020a630a66000000b00373c36be500mr9027508pgk.419.1648701869712; Wed, 30 Mar 2022 21:44:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648701869; cv=none; d=google.com; s=arc-20160816; b=VvmyIO2bnYXMWujroIj92H+gtrZ5pBS6SOYh+NP3wceGNXwGFP+3PDLJ0taRvgcIdp iUXxE+G1FY3r0OyyNuYK7yTpS0vUd5gMKOYi+LpGkvtgJsTtIgQ1ABTwQhip4INswIkj b9TCD27jugu9uM/Wfrvra/9DvX+fBERRRY9A23Txas9s6Buve70706wgMrrpQngjUNmb HOsNP3tNuiFSf5Camar+h80jAlews7E83s5GKIonYSt3L/o12nbyBi9xAnvtjgQ5sm3L ag8I6fq/wbQuTVI+56ICoTLJyTVsdtRcrCW10TKOURIh/1hriRvILOWXbhbBBzWII3dT iqXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=220FvBfvs98k1iEJqsZ+bl0CZjmlZ3jc/CXvJx3fxGs=; b=HXqnCOpiuMFx1CZ+k4J7KFxHHrLccnKzndGObR7Qy/nCQleq8SkjoOzY9qChlCAdf2 bS9Ytz52231OQhDS5fBjnSdear1zD66kVjuGOWTryOW/3KCNnOBIsKdigeNcu/vuaV4K 9wvL/w/ZnbB/qZ8MpB+wY4bUEXQPGKPpcEQBR/K6sdKXvVcCLvd0JrlnyQkk5OXsO8xY s7t9y8yrsF3s+LpIrqTBVZriPsIlHp+Uf1F/eTNWCFh7F6t+ALf6IZihLdu8asc8xB7R uKH2MKcVvUNgRLCBmE4KT0SC89XzUzvWIuTrbJQKEncVBIa2n96Goe2MlwTfVKwg9biZ 1FKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@who-t.net header.s=fm3 header.b=RLMQq0lr; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=oluUQ17m; 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 z10-20020a63e54a000000b003816043f053si23143356pgj.584.2022.03.30.21.44.15; Wed, 30 Mar 2022 21:44:29 -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=@who-t.net header.s=fm3 header.b=RLMQq0lr; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=oluUQ17m; 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 S229642AbiCaEka (ORCPT + 99 others); Thu, 31 Mar 2022 00:40:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbiCaEk1 (ORCPT ); Thu, 31 Mar 2022 00:40:27 -0400 Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1AC05370F; Wed, 30 Mar 2022 21:38:40 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 4ACA83201F94; Thu, 31 Mar 2022 00:38:37 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 31 Mar 2022 00:38:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=who-t.net; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; bh=220FvBfvs98k1i EJqsZ+bl0CZjmlZ3jc/CXvJx3fxGs=; b=RLMQq0lrMr2v0PWc4EJtO7H7pUDfT7 ZQ0a9TP8mentwV2H54yDA8k0sp/kUiNNZ92krGTF9ZXYE/r++Vf5sHXYxa/BtHiD b3Kxp1cykXI/FXIJhkBcpIpkNpHYhM1HTD2bRBgJx6+CPSn3tiupa5iMOP6RvBoV 9/Iflj0E3pirSCqWLxAkqEEdacIYOPIsqA3Q8USU3eduMeC/IL3J0+ec4Rw89Ve8 ln55npPmY2teiTKh7xVx9M6V1AIt+8Vcm9ALl9cr4AlsmLNq9/UJqOpO7atd1RFX bMjvsBKm+poxrS3VOc5wlBDBgkHMQfQA+aHdFCD4OpGJHrvNj4LTG0kA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=220FvBfvs98k1iEJqsZ+bl0CZjmlZ3jc/CXvJx3fx Gs=; b=oluUQ17m7MAC9vzPWeqgJ6avk9ohDHnMVbQD+I12ByS95TD8cUXcXl6p4 JlRBWqn0g8LbVwptRKoOWM/kyveSovgI6pVS1Lh2TTleOMbc/sM5cVi4+VYaHOZp ZOUObEuFywn6p/dXHNBhFLwpL16fuiYvo5PVdnu/DZnA824igC+k1wiHoAkshReX L0YMggj3GLdJGAZdS9e0C+EehFlewx7NVQFP66+wJE9sVWa/+2kbAVXU2+qzo0pf RqCmcI7NIfwEZnWAtVFRHbsRiCHbpZAjmB+6d/6FrDP96AIskfm0IBsvadGG1s/M oZXTBG6uPdHLMYAymzfRBAUNiNsTQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeifedgkedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtugfgjgesthekredttddtudenucfhrhhomheprfgvthgv rhcujfhuthhtvghrvghruceophgvthgvrhdrhhhuthhtvghrvghrseifhhhoqdhtrdhnvg htqeenucggtffrrghtthgvrhhnpeevfeejhedvffeuhfelfefghfdtvddvfffhleejffeu gfekvdefhfeffffgueefleenucffohhmrghinhepfhhrvggvuggvshhkthhophdrohhrgh dprhgvughhrghtrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm rghilhhfrhhomhepphgvthgvrhdrhhhuthhtvghrvghrseifhhhoqdhtrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 31 Mar 2022 00:38:33 -0400 (EDT) Date: Thu, 31 Mar 2022 14:38:28 +1000 From: Peter Hutterer To: Dmitry Torokhov Cc: Benjamin Tissoires , Thorsten Leemhuis , =?iso-8859-1?Q?Jos=E9_Exp=F3sito?= , Jiri Kosina , Takashi Iwai , "open list:HID CORE LAYER" , "3.8+" , regressions@lists.linux.dev, lkml Subject: Re: [PATCH] Revert "Input: clear BTN_RIGHT/MIDDLE on buttonpads" Message-ID: References: <20220321184404.20025-1-jose.exposito89@gmail.com> <44abc738-1532-63fa-9cd1-2b3870a963bc@leemhuis.info> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,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 Wed, Mar 30, 2022 at 09:13:30PM -0700, Dmitry Torokhov wrote: > On Wed, Mar 30, 2022 at 02:30:37PM +0200, Benjamin Tissoires wrote: > > On Wed, Mar 30, 2022 at 2:27 PM Thorsten Leemhuis > > wrote: > > > > > > Hi, this is your Linux kernel regression tracker. > > > > > > On 21.03.22 19:44, Jos? Exp?sito wrote: > > > > This reverts commit 37ef4c19b4c659926ce65a7ac709ceaefb211c40. > > > > > > > > The touchpad present in the Dell Precision 7550 and 7750 laptops > > > > reports a HID_DG_BUTTONTYPE of type MT_BUTTONTYPE_CLICKPAD. However, > > > > the device is not a clickpad, it is a touchpad with physical buttons. > > > > > > > > In order to fix this issue, a quirk for the device was introduced in > > > > libinput [1] [2] to disable the INPUT_PROP_BUTTONPAD property: > > > > > > > > [Precision 7x50 Touchpad] > > > > MatchBus=i2c > > > > MatchUdevType=touchpad > > > > MatchDMIModalias=dmi:*svnDellInc.:pnPrecision7?50* > > > > AttrInputPropDisable=INPUT_PROP_BUTTONPAD > > > > > > > > However, because of the change introduced in 37ef4c19b4 ("Input: clear > > > > BTN_RIGHT/MIDDLE on buttonpads") the BTN_RIGHT key bit is not mapped > > > > anymore breaking the device right click button and making impossible to > > > > workaround it in user space. > > > > > > > > In order to avoid breakage on other present or future devices, revert > > > > the patch causing the issue. > > > > > > > > Cc: stable@vger.kernel.org > > > > Link: https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/481 [1] > > > > Link: https://bugzilla.redhat.com/show_bug.cgi?id=1868789 [2] > > > > Signed-off-by: Jos? Exp?sito > > > > [...] > > > > > > Jiri, Benjamin, what the status here? Sure, this is not a crucial > > > regression and we are in the middle of the merge window, but it looks > > > like nothing has happened for a week now. Or was progress made somewhere > > > and I just missed it? > > > > No, I think it just wasn't picked up by the input maintainer yet > > (Dmitry, now in CC). > > > > FWIW: > > Acked-by: Benjamin Tissoires > > > > Jos?, please do not forget to add the input maintainer when you target > > the input tree, not the HID one :) > > I see that there were several ACKs, but how many devices misuse the > HID_DG_BUTTONTYPE? Would it be better to quirk against either affected > Dell models, or particular touchpads (by HID IDs) instead of reverting > wholesale? fwiw, a quick git grep in libinput shows 12 entries for disabling BTN_RIGHT and 9 entries for enabling/disabling INPUT_PROP_BUTTONPAD. That's not the number of devices affected by this bug, merely devices we know advertise the wrong combination. Note that the cause for the revert is loss of functionality. Previously, a device was just advertising buttons incorrectly but still worked fine. This was mostly a cosmetic issue (and could be worked around in userspace). With the patch in place some devices right button no longer works because it's filtered by the kernel. That's why the revert is needed. The device could/should still be quirked to drop INPUT_PROP_BUTTONPAD but that is only required to work around the cosmetic issues then. Cheers, Peter