Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp89242imu; Wed, 19 Dec 2018 14:12:24 -0800 (PST) X-Google-Smtp-Source: AFSGD/V9IWWs5PNc9KtyjrzWPsCy9ca1QXJgwqwxT8H5s/2fAesUtu+5YOeV/hs1bay+QoJIMWKC X-Received: by 2002:a62:60c5:: with SMTP id u188mr22164330pfb.4.1545257544714; Wed, 19 Dec 2018 14:12:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545257544; cv=none; d=google.com; s=arc-20160816; b=J2lvddKAy+zrkpz+Vq+dhGEVEGSnE4B1wxT/SRZT1vqs1mmaKfOUqL/tanaAWRYw4S r1jSS4aV+9vJGIwebt6gatBKtdTT2imgpTjGeFFxCvAmT5iO5zvhOEyV+2K+pDYK3eH7 POK3xGwDyefv006NV42nDmjMaa66fjMxLjLz+a1ZU+daikyaQ5bUBbkWxPTTQEchcpTE VZBn898W5k3UaF1IuD4lcMbkcn8/VIH9GxjFMxJiL8VjZk6c9ppXID+E3E3oKwA/m2H9 SnYAP72Zh74mreI9LW37x8bJFD/6ycBqlHDd6axqzi8bIlP8J6tXd3rAXiLvKOXXKwdZ 3rIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=MsKo7HBPqDrT+TD919jBckN8iIdmMrqmA60AUuqgntM=; b=HEluVEIbTAeTbni+kjnCx7o2UO6vcV1nX9dGScN7LWKuk3dtSZ+zAxio9snRlTHrgD gp1b6lR6ixFiAi6QVlutO/CpO5rNPruEWhhRA2aOx9cNlZBLPkF1nFn6WLNQEwC4hLhb Lxgczj3mnjn6yrI/3X7Ws6LSVMWm7DUe5b7GEyAdSKbWM3kbGt+Je7S77uQWOG9l7vw/ Ven5ky3TkJm7bWRj65Z0NHZgtg+TbbXz+39g4ZUdJ4cM0KJNfodvUzX1ecPNar9h0cKD JUW6sSZWBekvAxLrJ3cJpMBYotkYVQivvy+15qUT5oloqNwKctTcja32yZCj+OJTmzDF AXsg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 13si16764550pld.398.2018.12.19.14.12.07; Wed, 19 Dec 2018 14:12:24 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730091AbeLSUfB convert rfc822-to-8bit (ORCPT + 99 others); Wed, 19 Dec 2018 15:35:01 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:42703 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727818AbeLSUfA (ORCPT ); Wed, 19 Dec 2018 15:35:00 -0500 Received: by mail-qt1-f195.google.com with SMTP id d19so23744455qtq.9 for ; Wed, 19 Dec 2018 12:34:59 -0800 (PST) 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:content-transfer-encoding; bh=kTuwbiY53tj1hvewf+jgHMk5a72ee9xWtWKCtgQkm40=; b=a3DtnQ4E7LYLJ46qEbCQNKxtMFrKo7YzufDelkr5UE0mCzTLD+GIX0R5Hk6tmDgR6I O9YzLeRo4DrZtlVIoXzXi5Jufv1bysbVlaH7Grbh7Ud/0wagcslwlp/WpC+YyaDzD8cL axOPAEt2HpWMAuQ+azQUCNyxICZ3KpKUgnMOQF39UZMcoO+sd+YcHCjpe1/rHII8z4RC 8Pwef1vnSvvRI1dTvGSiwwzLT4sTFkr54YNeXgg5jWsRud4cgrF7Bdt6fe4mRHXtzlr1 aeXQLfea/poH/iMbfVaLmTnZGAgHrBLl96KjLRaiGAvrxttN0eUsLFOPZNZg8mtoiWEK SsxQ== X-Gm-Message-State: AA+aEWYGBa43tVB8NGiDKBE5JZ5TakHj4zvOfcAjwVLBvK3XNAYNmLSB OZ1jrw9Pmxbc4My9AQ8qMxxJMy0P29MQjIgaYUU8Uw== X-Received: by 2002:ac8:101a:: with SMTP id z26mr23745951qti.184.1545251699593; Wed, 19 Dec 2018 12:34:59 -0800 (PST) MIME-Version: 1.0 References: <20181205004228.10714-1-peter.hutterer@who-t.net> <20181205004228.10714-8-peter.hutterer@who-t.net> In-Reply-To: From: Benjamin Tissoires Date: Wed, 19 Dec 2018 21:34:48 +0100 Message-ID: Subject: Re: [PATCH v3 7/8] HID: logitech: Enable high-resolution scrolling on Logitech mice To: =?UTF-8?Q?Cl=C3=A9ment_VUCHENER?= Cc: hcutts@chromium.org, Peter Hutterer , "open list:HID CORE LAYER" , Dmitry Torokhov , Jiri Kosina , Linus Torvalds , Nestor Lopez Casado , lkml Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 19, 2018 at 11:57 AM Clément VUCHENER wrote: > > Le sam. 15 déc. 2018 à 15:45, Clément VUCHENER > a écrit : > > > > Le ven. 14 déc. 2018 à 19:37, Harry Cutts a écrit : > > > > > > Hi Clement, > > > > > > On Fri, 14 Dec 2018 at 05:47, Clément VUCHENER > > > wrote: > > > > Hi, The G500s (and the G500 too, I think) does support the "scrolling > > > > acceleration" bit. If I set it, I get around 8 events for each wheel > > > > "click", this is what this driver expects, right? If I understood > > > > correctly, I should try this patch with the > > > > HIDPP_QUIRK_HI_RES_SCROLL_1P0 quirk set for my mouse. > > > > > > Thanks for the info! Yes, that should work. > > > > Well, it is not that simple. I get "Device not connected" errors for > > both interfaces of the mouse. > > I suspect the device is not responding because the hid device is not > started. When is hid_hw_start supposed to be called? It is called > early for HID_QUIRK_CLASS_G920 but later for other device. So the > device is not started when hidpp_is_connected is called. Is this > because most of the device in this driver are not real HID devices but > DJ devices? How should non-DJ devices be treated? Hi Clement, I have a series I sent last September that allows to support non DJ devices on logitech-hidpp (https://patchwork.kernel.org/project/linux-input/list/?series=16359). In its current form, with the latest upstream kernel, the series will oops during the .event() callback, which is easy enough to fix. However, I am currently trying to make it better as a second or third reading made me realized that there was a bunch of non-sense in it and a proper support would require slightly more work for the non unifying receiver case. I hope I'll be able to send out something by the end of the week. Cheers, Benjamin