Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2307063pxp; Mon, 21 Mar 2022 16:29:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXmoC5OXP0KzsmLw9tW6h5/04csG7QPmZuOcSso2xzW9NFuxbTYE3rYJusgmNmBLAslONl X-Received: by 2002:a17:903:2ca:b0:14f:522c:d33c with SMTP id s10-20020a17090302ca00b0014f522cd33cmr14930747plk.143.1647905363852; Mon, 21 Mar 2022 16:29:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647905363; cv=none; d=google.com; s=arc-20160816; b=EzkdY67OYvmCcpbnMbg8vABLJdb52PCdnqx2zTvDRydTcUJhXrJCJFaEwKXB8e+5fS umJU9o7m/aR4Fz3zEAmsHim+najySZxcP6s7o0GoyC+Pcn3bCE5TXmsT6d+pIuKgcx7i 1IsoX88XUMP9U3uDqH9DsbOhTn0U3Rf3xweXoWfznizQU/U/6XaxkoFO26yTVmM7C6u/ b852F5Yp/bh39BBJFVivI+wpajkpbZEWwfr/iQ8YsyPBk20KUVp5V0NB9j3MiHH1OJX8 bD7F4E7wHwmCazlE82Kg6aefnzm4CulgNo6IgliGaM2VGAUGoisfQCMhgbA4853fNN6Y ngNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=aoL3VqgyP+wgyjZGXboVj7wxod8FRUZLZoI6A+m2OHo=; b=hNAvPcadjwrJpeTlUHgm9wjoh8+qFjOwLih969WKGqlmG64vHN4XUW1pf2/mnseeTU 5rR+mVMvOjBLDvDqbJBbRv8DlP6PP8pNmhdMrqfSec0FWSghMdQuPP5rZN2O25s9VTa7 e1UdV8NxkkDLmxD+fhTE59WWTFKmkgS1LoZEf9w9QANllewvN8V7J/SRUuaR1Oh2IcXy QxpGAlUmIF8QYGg0C0iyYIBLMYG/sVltxLT1cTWczmyqUKKVHWfAzSbEOB/fgCuQWww+ pqgiD263jYDMgVBOP0mw1Jz2OUn1Uud2wvLom28hPVvJmffBYsKMQuTezTxBQP/00Nbe mVDw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id f3-20020a170902e98300b00153b2d16525si11360562plb.301.2022.03.21.16.29.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 16:29:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BC402466843; Mon, 21 Mar 2022 15:19:50 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344592AbiCUGat (ORCPT + 99 others); Mon, 21 Mar 2022 02:30:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232580AbiCUGao (ORCPT ); Mon, 21 Mar 2022 02:30:44 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8234::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 313DA35847; Sun, 20 Mar 2022 23:29:20 -0700 (PDT) Received: from ip4d144895.dynamic.kabel-deutschland.de ([77.20.72.149] helo=[192.168.66.200]); authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1nWBXX-0004rC-64; Mon, 21 Mar 2022 07:29:15 +0100 Message-ID: <818a4927-b204-3eab-da9f-466841ec9a16@leemhuis.info> Date: Mon, 21 Mar 2022 07:29:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH] HID: multitouch: fix Dell Precision 7550 and 7750 button type Content-Language: en-US To: =?UTF-8?B?Sm9zw6kgRXhww7NzaXRv?= , jkosina@suse.cz Cc: tiwai@suse.de, benjamin.tissoires@redhat.com, peter.hutterer@who-t.net, linux-input@vger.kernel.org, stable@vger.kernel.org, regressions@lists.linux.dev, linux-kernel@vger.kernel.org References: <20220320190602.7484-1-jose.exposito89@gmail.com> From: Thorsten Leemhuis In-Reply-To: <20220320190602.7484-1-jose.exposito89@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1647844160;011dcebc; X-HE-SMSGID: 1nWBXX-0004rC-64 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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 thx for working on this On 20.03.22 20:06, José Expósito wrote: > 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. > > In order to fix the issue, create a quirk for the device forcing its > button type to touchpad regardless of the value reported by the > firmware. > > [1] https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/481 > [2] https://bugzilla.redhat.com/show_bug.cgi?id=1868789 Nitpicking: those should be "Link" tags, as explained in 'Documentation/process/submitting-patches.rst' and 'Documentation/process/5.Posting.rst'? Never tried, but if you want to make them footnote-style this should work according to the docs: Link: https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/481 [1] Link: https://bugzilla.redhat.com/show_bug.cgi?id=1868789 [2] In anyone wonders why I care: there are internal and publicly used tools and scripts out there that reply on proper "Link" tags. I don't known how many, but there is at least one public tool I'm running that cares: regzbot, my regression tracking bot, which I use to track Linux kernel regressions and generate the regression reports sent to Linus. Proper "Link:" tags allow the bot to automatically connect regression reports with fixes being posted or applied to resolve the particular regression -- which makes regression tracking a whole lot easier and feasible for the Linux kernel. That's why it's a great help for me if people set proper "Link" tags. While at it, let me tell regzbot about this thread: #regzbot ^backmonitor: https://linux-regtracking.leemhuis.info/regzbot/regression/s5htubv32s8.wl-tiwai@suse.de/ > Fixes: 37ef4c19b4 ("Input: clear BTN_RIGHT/MIDDLE on buttonpads") > Signed-off-by: José Expósito > [...] Ciao, Thorsten