Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp4938298imd; Tue, 30 Oct 2018 09:32:37 -0700 (PDT) X-Google-Smtp-Source: AJdET5cibhNlH4k+JlTqVEBxpGimjgqwwtZbX0DaNli0U0cd+5no5TSyveqHL3sxBfWBmQN+S7+I X-Received: by 2002:a63:5558:: with SMTP id f24-v6mr19107157pgm.37.1540917157285; Tue, 30 Oct 2018 09:32:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540917157; cv=none; d=google.com; s=arc-20160816; b=pnSqnXQuZD5Dj9nLEw/vMx9ukWhQPxJXu4Ty7c1m2FRxBKbB7F/e0qac2Ev4VszE4K KxjcpJrROu2jniGiKJInfc/b47S/aP66gZdVoLTkl9XjuN/79MzBi0U0CNfFOR1FqqlV Th4LrbW3TZl8ZyRGEqJ61+lfzQ6vWGa2NNgisAxvPxF6T9IQCLs8TFt0R2kDCsL+z44k NLAq4StLuliedfTi/q9te0pgGRDVheICssoVhVb3loDZ+QH8gRaG3zEGn8rR7Gb9Z5Zf ovz2IAjnyjZtvbj8F7zhDwtBxrJy23r9vkLxsSA6WgHsbj7aQBcVDgXjbFbtfkvUqPCT HtnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=+YPbRD6dB6SS1s+PycvtXLp86UTXWfULbQSXKkPNVAc=; b=K4qswySMv+NQZx7t0HtTCRTLfl8aV9B+bjZvM9J4F4EPo2/Q8/+AleFcWErS1YLaNw XeFNN09c5HQaDCjocEL63NoxKPkKZ8GfWZ4Z4JUhgHa+a+nx5hvtBrxVDLLIZDY9gUYy cFuurMYfw9jvsw8t/Y2Rrlfgll+onqVg3ObMPmamJuBEfNT+8293wSs0hT0lCbWXw+Wp ipTV3sIIRBPF260VNBouGsSmB2fQ+22uuMYe/9o8gh+IfZDiHNzg3te+B9jvMQN6VhvW HZ+NiJdluDyFxX31Xf2+iIWLo0Kbs0dtn8bZWgeTMH4UVz6z6HuMEl8WijCPsKmGa0rs gGqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="DT0/tgxj"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h32-v6si4980729pld.437.2018.10.30.09.32.21; Tue, 30 Oct 2018 09:32:37 -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=@linux-foundation.org header.s=google header.b="DT0/tgxj"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727845AbeJaBXq (ORCPT + 99 others); Tue, 30 Oct 2018 21:23:46 -0400 Received: from mail-lj1-f173.google.com ([209.85.208.173]:45303 "EHLO mail-lj1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727508AbeJaBXq (ORCPT ); Tue, 30 Oct 2018 21:23:46 -0400 Received: by mail-lj1-f173.google.com with SMTP id j4-v6so11981210ljc.12 for ; Tue, 30 Oct 2018 09:29:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+YPbRD6dB6SS1s+PycvtXLp86UTXWfULbQSXKkPNVAc=; b=DT0/tgxjAefK90JsmOG+bomtQpNvni1vG9A4E5OXM4vYr9SLdaMn2YEunWye3YNpbW 3vloNm5LoRFbfMCekIA+owZV6yVb0pL5lTummZJtq6rMQDCyIbLpdERQKjcoty0FcqX0 xvdUNrmRYiJ5ysfXijjw4CPszyEnJCJJ0vWn0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+YPbRD6dB6SS1s+PycvtXLp86UTXWfULbQSXKkPNVAc=; b=njqNc55zzTwyhlhDczk5r+ez6yGnRnaBCdNnYfZaRrEoxtNRm3uiysYS0JANtMBRR8 A85pJrUm36GG1TIjH7IEk9nv/afG/jWxsHVMfn1Yd3XXv0h/A40XQLNz9EcRYXd/iwbu Lwk3dKDHbTdE0aDwDlBHP/j6DTRYJw4gKStC1imw+KTW87aWtCSf2UdKnnpUvNL7LNG4 5SL94aWioI3sznjHv43PCg8K1eHIAY5EmpCrOaCxI26GFJ+sjvbmuw89Idvt/Z9dP4QU S0eSJ/2FWDna/XtgJRyTqYJq15GbO4VnvoL8nuMJ8BCdzCnkjF7mAWgp7JyvMofnDKkL xj5w== X-Gm-Message-State: AGRZ1gJfFgMDTD90pXz2JGDoZ26msO2ZW4lmZzVk3B/BSuyzYllYJzBA 4j6RdnQ1b9EsSY/AvqELlRC0Igf+M8biMQ== X-Received: by 2002:a2e:5418:: with SMTP id i24-v6mr13250815ljb.51.1540916974033; Tue, 30 Oct 2018 09:29:34 -0700 (PDT) Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com. [209.85.208.180]) by smtp.gmail.com with ESMTPSA id u65sm1430964lff.54.2018.10.30.09.29.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Oct 2018 09:29:33 -0700 (PDT) Received: by mail-lj1-f180.google.com with SMTP id x3-v6so11982704lji.13 for ; Tue, 30 Oct 2018 09:29:32 -0700 (PDT) X-Received: by 2002:a2e:9f42:: with SMTP id v2-v6mr8175576ljk.80.1540916972013; Tue, 30 Oct 2018 09:29:32 -0700 (PDT) MIME-Version: 1.0 References: <20181030062657.GA5380@jelly> In-Reply-To: <20181030062657.GA5380@jelly> From: Linus Torvalds Date: Tue, 30 Oct 2018 09:29:16 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Logitech high-resolution scrolling.. To: Peter Hutterer Cc: Harry Cutts , Jiri Kosina , Benjamin Tissoires , linux-input@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 29, 2018 at 11:27 PM Peter Hutterer wrote: > > Other issues I found with an MX Anywhere 2S is that on slow scroll and in > ratchet mode we get some scroll jitter. In ratchet mode we can get this > sequence if you scroll just past the notch and it snaps back: > [1, 1, 1, 1, 1, 1, 1, 1, -1] > That's quite easy to trigger. In free-wheel mode we may get the same for > slow motion due to human finger jitter (the Anywhere 2S didn't have HW > jitter, but other devices may). So a perceived-consistent scroll motion may > really look like this: > [1, 1, 1, 1, 1, -1, 1, 1] > Hard to triggger but when it does, it feels like we're dropping events. > The former isn't that much of an issue as long as the ratchet is enabled so > you get the haptic feedback and we (usually) don't drop events. Both of these actually argue that doing the reset on direction change can be a real problem. But equally clearly, _not_ doing the reset is unacceptable too. I wonder if there's some docs on what Logitech does internally in the mouse. It might involve a timeout (ie "if not moving for a while, do the rounding _and_ reset), which would probably be too expensive to do on the host side. Linus