Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 123294C60 for ; Fri, 18 Mar 2022 13:07:45 +0000 (UTC) Received: by mail-wr1-f46.google.com with SMTP id d7so11666526wrb.7 for ; Fri, 18 Mar 2022 06:07:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=lHJUxhr0q/fLLgAgJ1hsxiSujF7pe5kTN3TD9F1pmy0=; b=eVU8yYe+T+Yz5OFxsyacazuGOIeIzeIAWBxW+yz4AixAnUQl4NG8dtbNDDUoQcuW5A mArinQxBe505cQ1LSfe3u7HzhddDxGdis20BSGKJIPCTWJSLS1+uG9zI1Ut8w7NF3fSO piOJ5adSJ4D4oMuHbBYSBOa0zwvhC+pSct8SUOCDLynLEXB4nNZwyWGrNGubG7NAPFTx avvzgcn2Qzkq6MWonzFHp3QoCvzWkuxbGIh1VH5uF9jb5mwqBkf7sCD2vsA/SO2jGMvO kd2Ld2EkMx9doZKKhItEyB0bBA2CP5I9fFubIZ6+Sw9tulMP89vvqoBxlAQYzl81dvPE eGKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=lHJUxhr0q/fLLgAgJ1hsxiSujF7pe5kTN3TD9F1pmy0=; b=Ye/SS2SvfemRmxcKJG47OZLs9TiDPg+z7PLlMax9r91PHznHFFyRoK9KKJMESdh6fc S6aRt5tW+iAwHah4o0UoYV9Zsr1pfO46sUgPNjLMe1wYOwG1UKehP1yGQayVCn7o/EZc ntDVPzeuekWWrWV8w1EG9IiNLHIaGkzM1zvO16Eg1PVokS/8GE4T3uZNEQqBO3Wb9XUi 83aTi1uVnCJizs5U4aumAyrInxcNvbX/Jg3cNBo250COl0JQ34+p3Wy7gSeMRCpbwPHv F3Tr+PPh8qirRdSrmLNK/MyOMteEsSk889urfuxn8HOf86JK9CIZuihuK/jmQ26lgcMn DXPw== X-Gm-Message-State: AOAM531vgVyY9646iIiftPrrITTmU82vBC5tVeqC2zTc0oKoDvNyKoRZ m2R90tS1gxEuYDCpQz2IyPI= X-Google-Smtp-Source: ABdhPJzWrx+EvHGimSG8O/nEhVa0gGiVeJppmvHNj2YmE8uqF1T4tMrmEhErVyph5Md8Np0fx3vWXQ== X-Received: by 2002:a5d:47a3:0:b0:203:8cc3:3647 with SMTP id 3-20020a5d47a3000000b002038cc33647mr8161918wrb.321.1647608864120; Fri, 18 Mar 2022 06:07:44 -0700 (PDT) Received: from elementary ([94.73.33.246]) by smtp.gmail.com with ESMTPSA id m3-20020a5d64a3000000b00203ed35b0aesm5927702wrp.108.2022.03.18.06.07.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Mar 2022 06:07:43 -0700 (PDT) Date: Fri, 18 Mar 2022 14:07:40 +0100 From: =?iso-8859-1?Q?Jos=E9_Exp=F3sito?= To: Takashi Iwai Cc: linux-input@vger.kernel.org, Peter Hutterer , Benjamin Tissoires , Jiri Kosina , stable@vger.kernel.org, regressions@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [REGRESSION] Right touchpad button disabled on Dell 7750 Message-ID: <20220318130740.GA33535@elementary> References: Precedence: bulk X-Mailing-List: regressions@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi Takashi, Thanks for reporting the regression here. On Fri, Mar 18, 2022 at 12:42:31PM +0100, Takashi Iwai wrote: > Hi, > > we received a bug report about the regression of the touchpad on Dell > 7750 laptop, the right touchpad button is disabled on recent kernels: > https://bugzilla.suse.com/show_bug.cgi?id=1197243 > > Note that it's a physical button, not a virtual clickpad button. > > The regression seems introduced by the upstream commit > 37ef4c19b4c659926ce65a7ac709ceaefb211c40 ("Input: clear > BTN_RIGHT/MIDDLE on buttonpads") that was backported to stable 5.16.x > kernel. > > The device is managed by hid-multitouch driver, and the further > investigation revealed that it's rather an incorrectly recognized > buttonpad property; namely, ID_DG_BUTTONTYPE reports it being 0 = > clickable touchpad although it's not. I built a test kernel to ignore > this check and it was confirmed to make the right button working again > by the reporter. > > Is this check really correct in general? Or do we need some > device-specific quirk? A couple of days ago another user with the same laptop (Dell Precision 7550 or 7750) emailed me to report the issue and I sent him a patch for testing. I he confirms that the patch works, I'll send it to the mailing list. I believe that your analysis of the regression is correct and I think that we'd need to add a quirk for the device. In case you want to have a look to the patch, I added it to this libinput [1] report. Thanks, Jose [1] https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/726#note_1303623