Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp928322imm; Wed, 4 Jul 2018 08:19:35 -0700 (PDT) X-Google-Smtp-Source: AAOMgpemyFExaRiYpFQlxQ0mEBN1V6hlxZBHJE5KckaRAiM28KYLb14xTnViG48wzYQdHyP/ZfZ5 X-Received: by 2002:a65:4b04:: with SMTP id r4-v6mr2243487pgq.175.1530717575463; Wed, 04 Jul 2018 08:19:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530717575; cv=none; d=google.com; s=arc-20160816; b=AVEUsEmXLon5ZkAZL3XVx5gQkJtmIs28bx196ReT+A9OVEgA247/DquRAvPRJhcfoB ugk3hXk0Jhg5KNbWeqUKqdrm0sBPLEEr6X9cWY2mRn5dV22IJBr9rBSm/eFlkVvRewpU Bd4RpHzg28GAYYgYfIrWX6GaohQ5rn6plwx2IEEBEVivwNYG/GRinKD9yZLIN9NY1zwS qSEFSt3+rSYfbms4Q2J4JMsY7kjCjiprw27ZguPCA/WsoDFr8bTzjltAxD+MsGMDBr8u B+GeBkPV4SwwXr6/Y3YKFuqLbUv8cpjx8eMTXL6h+d5e184cUXxvfS+qVRTqdkQGHSQk Dc6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=4eaw2Fk11Klk0d/IbyRnduQmYoeZtVR9JAsHbK5VdFk=; b=bT/n3+enUIHVmjoerpnad21pZakXQ4yviHXCB9Z5ELw+9a263w1YWPsJNrqaNjP03q /MtoLL+9sV3v07iLghxO0110S7/6DxCGVhaQaHwXUYVdde+pNToDAYxAt8BXhMKm0C7N 7CaulGtI5prs87gUEJA8CfcA4a02SvonjKAVXiM12rwZrwl3RZKSeYWZWxk0uCj8Tv+S 2S+ePYc8KUNtIcCT1c+xVCAwQ0FOpMuz4zmD0UtF0uIS2+ZPHKCrE2aZWtKVO07+4qj9 RpqBC0o6Z5Gj/gGd/CyYHOM5BAB9ADoNU6/v+StL+aIhRHGVLXJh0q+XkIbiCIrTPYiO EJdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jojC8okq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o10-v6si3419320pgq.545.2018.07.04.08.19.20; Wed, 04 Jul 2018 08:19:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jojC8okq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1752889AbeGDPSn (ORCPT + 99 others); Wed, 4 Jul 2018 11:18:43 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:36474 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752451AbeGDPSl (ORCPT ); Wed, 4 Jul 2018 11:18:41 -0400 Received: by mail-oi0-f66.google.com with SMTP id r16-v6so11377517oie.3; Wed, 04 Jul 2018 08:18:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=4eaw2Fk11Klk0d/IbyRnduQmYoeZtVR9JAsHbK5VdFk=; b=jojC8okq8GVbOuQ5Iiwc/wXWA9s4qhKYp8BFthbyh0L0YQ+y3cIXMBF5FEZxaoZ5nL gGW5CSntx0xpH4IBiTGkjqlwOlJ9Gn3AHB+D6N8bu4ur4cO8p2zi30vRsRE9zvB21onH 1lCe/p2gvs1OFz+npAi5Pk0S0rSzu6r3nJR8lkqS58sAN0iuHX/cOTzm0EKYeUhOELdk DQbSkWCqVOFgfhOtBP6YLefgMSNypw8E4pvd71BqB5a/+2ScD5ftRVtemivTbzwFk/7M hk1rprkf1KZaQq6bS1Py3aNfbS0Gjd3rdnGQH9toBw8jdcisDSkSO9pHLCkBTJUlardP rR3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=4eaw2Fk11Klk0d/IbyRnduQmYoeZtVR9JAsHbK5VdFk=; b=frxPQUz8ScoSzbBVpmTlHyFJMxSkjmIErPwNVyX/+8bX7cmzhFWvSE5mNphSZWRkAj DqIrIuciXfHAY7h51zGOC6KGN66iio9Dsyzk1Cp3yK+hT/YR0fvKU8SsJJ1FmBnmspVq 5CoSQQt/atWdO3Fa3RQv2VO1tZ4x2m0J21tEjOd3/VIS4O0pUKfw0LeBotabSskvNnr/ XVUVBJ1pf+M/v15WFFE4KfkGnDFmu1ahWNfsYrLGRfIVXSFSxLLusGr7mOeS7oo6bH0O 27u9rraSDf5bzcmHYOLIE4GyaPejb/y+G9KLhVktClBJ496K7W1v8zQbGBJ9bO54cow3 Ifvg== X-Gm-Message-State: APt69E3v6HEDeep52LfbS2+ygeqiNKJSJkfzXFwBMp3Pj6TGBRiNr+FK ls95blbOhEW7Nx2clGGRBbk= X-Received: by 2002:aca:56d7:: with SMTP id k206-v6mr2495832oib.106.1530717520272; Wed, 04 Jul 2018 08:18:40 -0700 (PDT) Received: from localhost ([12.130.117.108]) by smtp.gmail.com with ESMTPSA id s10-v6sm1819872otb.55.2018.07.04.08.18.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 04 Jul 2018 08:18:39 -0700 (PDT) Date: Wed, 4 Jul 2018 15:18:33 +0000 From: Dmitry Torokhov To: Peter Hutterer Cc: Benjamin Tissoires , Jiri Kosina , Mario.Limonciello@dell.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 10/12] HID: multitouch: report MT_TOOL_PALM for non-confident touches Message-ID: <20180704151833.m5d3umukr75nq2dd@penguin> References: <20180621120908.16706-1-benjamin.tissoires@redhat.com> <20180621120908.16706-11-benjamin.tissoires@redhat.com> <20180627010858.GB25847@jelly> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180627010858.GB25847@jelly> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 27, 2018 at 11:08:58AM +1000, Peter Hutterer wrote: > On Thu, Jun 21, 2018 at 02:09:06PM +0200, Benjamin Tissoires wrote: > > From: Dmitry Torokhov > > > > According to Microsoft specification [1] for Precision Touchpads (and > > Touchscreens) the devices use "confidence" reports to signal accidental > > touches, or contacts that are "too large to be a finger". Instead of > > simply marking contact inactive in this case (which causes issues if > > contact was originally proper and we lost confidence in it later, as > > this results in accidental clicks, drags, etc), let's report such > > contacts as MT_TOOL_PALM and let userspace decide what to do. > > Additionally, let's report contact size for such touches as maximum > > allowed for major/minor, which should help userspace that is not yet > > aware of MT_TOOL_PALM to still perform palm rejection. > > tbh. I have a queasy feeling about this last bit. MT_TOOL_PALM has shown to > not be reliable on some devices (X1 Carbon 6th) and we mask it out on those. > Changing the major/minor means it's impossible to rely on the touch size for > palm detection once a device supports MT_TOOL_PALM. OK, then let's drop this bit. Thanks. -- Dmitry