Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp252437iol; Thu, 9 Jun 2022 03:15:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8paUH63gDrYr7HLpt9LtyZibcvMS8ugJ5ii/TtaFTHlhoUGgizeLioze05KNND36JM40e X-Received: by 2002:a17:902:e888:b0:163:f3e5:b379 with SMTP id w8-20020a170902e88800b00163f3e5b379mr39079854plg.62.1654769708413; Thu, 09 Jun 2022 03:15:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654769708; cv=none; d=google.com; s=arc-20160816; b=sv/L1r95TeCpF41zm3cSKLmN6QEbq3AeKg90bvun9QXcz41bl6keeACJcfuXm9XSP2 vRDCxSKEOrKMTt4Tj43mDbJzZGqW3MmYD1mYzmjk/DaBFyrfjm1nyAaCJnJ676M/3jz4 jLalOgQo0hXS7s+t5xo7Y316iCt9ai+2ZCByMukXvUqg9JEJecmE1DNynwgP2XGuj6bm 8qI5hOzR1Z7B/ljvg3SdUdfhMcwj4t29ppzkw93d/gKyidBk1Z5oBmb7CvGL5SSCqgZa iEN3/T4L+/KogDkLzzXlG9wvWmNT/iyc1vd4iLh0Li8t7GZEtsBrrzJpWr47UnoK5Qbw sv0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=d9sro080bNA0iNjR7Li2VQEoQDmUfsYBeLPN+OE+Azo=; b=n/yNIVYRnrz0r6vG1zo8tRJbKlj6ySiIlSqc1cK0QMAHSfIRVKkFm9RuFz6+wsUh3r zvbMdnwD5nFMDEcp8tpnq+QZ3Rkjtl6hb44gWFsB2bjNsEXUX6Fayx8TQwm8NBQa2083 T6Q+4VhEbC76am1egP11ZyuqHmfuBcnQElgvDYds13eRh/7REV1oxZL5DWuaFp2RadKU iQWvcls/au6qAlgFPzRd8x7FxXEMX6vxKTijT3a/rdAPYWKoO0tDdeVLvGHVaCaOiKjV VozYDl3+ejMBtiIrJYZ3RxfXSLnzXL1b6E5pFBbmSFyu5lDpfMw3rzrjpwvxClejZ4v2 CeHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i0tUtRLB; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p27-20020a631e5b000000b003fbfbf2615fsi32120913pgm.577.2022.06.09.03.14.55; Thu, 09 Jun 2022 03:15:08 -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=@kernel.org header.s=k20201202 header.b=i0tUtRLB; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238817AbiFIJN7 (ORCPT + 99 others); Thu, 9 Jun 2022 05:13:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237982AbiFIJN6 (ORCPT ); Thu, 9 Jun 2022 05:13:58 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42ECD13E2B; Thu, 9 Jun 2022 02:13:56 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CFFDEB82C94; Thu, 9 Jun 2022 09:13:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75A81C3411B; Thu, 9 Jun 2022 09:13:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654766032; bh=E3bgvVQEVSUMixTXedD3mOG5QZ6LUdmLCyjdbt8AWbg=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=i0tUtRLBPi9KbygmHDvfAoSYRE2VoyO0fZhW0K9f446PIp8jIptyuAPZo3IMkt7LY PT2VwNLypWsI0JFTMstHO1FU1gLxOoFhCIsJfkkDtUdS01/vR3lsnjeLmBMh//IJxX nitnGWUNpnVr73xbbEPLp4El0USYqGhRVS//2FgCyxznu4QY2ZHZWEUsSApftb5tas KiGsZedGT2FzyCNdzwpy8NeTgDTtn+Y/xgVfnsIwjzj+sOwoaNx8fetO8YobFkRB65 fvNkbc1Lqrqp26dmYvTOHclfgk1T943U5BngVkjy1Zfy95KMAy4GP+/ZdD9PG5Lsj9 67FNbDo8w5eWg== Date: Thu, 9 Jun 2022 11:13:48 +0200 (CEST) From: Jiri Kosina To: Tao Jin cc: Benjamin Tissoires , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] hid: multitouch: new device class fix Lenovo X12 trackpad sticky In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Thu, 19 May 2022, Tao Jin wrote: > The trackpad of the given device sends continuous report of pointers > status as per wxn8 spec. However, the spec did not clarify when the > fingers are lifted so fast that between the interval of two report > frames fingers on pad reduced from >=2 to 0. The second last report > contains >=2 fingers with tip state 1 and the last report contains only > 1 finger with tip state 0. Although this can happen unfrequently, a > quick fix will be improve the consistency to 100%. A quick fix is to > disable MT_QUIRK_ALWAYS_VALID and enable MT_QUIRK_NOT_SEEN_MEANS_UP. > > Test for hid-tools is added in [1] > > In addition to this, I2C device 04CA:00B1 may also need similar class > but with MT_QUIRK_FORCE_MULTI_INPUT disabled (but it does not harm to > enable it on non-multi-input device either). The respective owner has > been notified and a patch may coming soon after test. > > [1]: https://gitlab.freedesktop.org/libevdev/hid-tools/-/merge_requests/130 > > Signed-off-by: Tao Jin Applied, thank you. -- Jiri Kosina SUSE Labs