Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5038968imu; Wed, 19 Dec 2018 04:42:19 -0800 (PST) X-Google-Smtp-Source: AFSGD/UMf/8UlYrBqDAvAkhRuo+df0RrBp35i0LwC5lwbAh8Zvl4uRS/x886nkm4vRTvdBpNfBe2 X-Received: by 2002:a63:40c6:: with SMTP id n189mr18813077pga.355.1545223339688; Wed, 19 Dec 2018 04:42:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545223339; cv=none; d=google.com; s=arc-20160816; b=Do2Zhgx6c/LHooAV+MikALY9bSh4zProYbzyqLIGFvYKf4gv48O3PzgpgqAgacazHO iRFP/U6jUy8vJ5Bkbg/CulUftoPNLg1RDXr5eOooBth23QMJho0v6u3hOwC2VRSps7xs q9D4dqfiXii3EtehOCiuT1XsW9XRigOE/A7GE+mLh0h42wUl4q9GIp7pa5ZYAwYtfKSU GnaYY42NRn/m6Mq4hZQcQenkYlWtbEaUlafq0IfWCHlo5qqfolrY7Kezx9XZHSQoXuPf t5IogrIllgyltfbCFBWgGn1OLIU1mTokDfQLo0KuZBDiF/TCXKjq2fMYlNKtHKaSAROp ctRQ== 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 :dkim-signature; bh=D8TIX6K1DvNn0TdyfgJH7m8Y9BK1ASgLkKSh7XWUBFw=; b=LWhlWhMY8jx0Qb9dDkY40wte3dWOhT6oq95B1FOkF+ZWp2KrFkQTtqzfCHpQlyIdl7 fozpKaCCC+q2/Z+BhiIs9l3ZRIGlDz2baGKvE5Aia4bz7lEbJlGGdLlMJlbcFVsyKFJ2 SW5kLBIuVd2u8fqFcjz44mWCGvlDndp2T6DKj7XQY753g9SYA3L9rZsRW+ZHnrTlhBO5 yn9/paUOMCF07ZyiVdERpArCPArTD+W1dy84pEC4wi8wRj8lkw0uxLpY9k1ztPlhohN1 0fK6v0ic84iACvbOJlaHWJSdtQfwjhuHGeDE4N9yaoRd2fq6TFvnvrCKbQ43wS0s9jxG mncw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dfxQ8gM3; 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 d8si13669010plo.196.2018.12.19.04.42.03; Wed, 19 Dec 2018 04:42:19 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dfxQ8gM3; 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 S1729158AbeLSK5S (ORCPT + 99 others); Wed, 19 Dec 2018 05:57:18 -0500 Received: from mail-io1-f67.google.com ([209.85.166.67]:46848 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726725AbeLSK5R (ORCPT ); Wed, 19 Dec 2018 05:57:17 -0500 Received: by mail-io1-f67.google.com with SMTP id v10so15229151ios.13; Wed, 19 Dec 2018 02:57:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=D8TIX6K1DvNn0TdyfgJH7m8Y9BK1ASgLkKSh7XWUBFw=; b=dfxQ8gM3B0HVbbYNCGC/v5JY6X7Qi+x8DXNEj79UfE/1AUped+inD9en+pEOBXw036 8whdCnB8l/12Inx1KAhR70eXZ94K/m9NEhzY+IjSOgNF+JcGuJsudpISkkXcakOT1YA6 3t3wPCl4QQ/VfcpMZjyn/I3epnyEmB8VZWNKBH1M2HyaEN0170C//l8UvQmNnOk20v6P pDQqV8F3OY+Y1ACMgrjGeJFGyIUjG33DPzSFRwez7JEOVQV7G1h80yFckOyOJVx0JWgR WTx1nj083LAM2+ffapmaexEhQaJ/1e8fCIHoN6rm2qlJcruaCo1K9cbz80G1csSun3gO vXVA== 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=D8TIX6K1DvNn0TdyfgJH7m8Y9BK1ASgLkKSh7XWUBFw=; b=HZ3HqKA2Ej1Ie4aAPGaydzNK/nHxacPfdqZf9G4KKHz+RBHlRcJFZJGOe8jScOBU9F FL0/BfSf1d2ydyrlgs+eUiBTWk3JTKNOt8dKFv7OW1CY+O708JWKV5kcmkTKH6fEq+Cr WGvQyENTbBOwiI+yVOr88L8VmJMXTY670UeATLh4dxIwECX874Z3dLoge+bp6nbbC1Kr M+BsV8xOwDfpkJfTpIAaH2s8tVe8PyDznLb7lkKeJ8sgSkyxv3kqmIOaVdMk0vsRwx/+ OVJyPC6OiVtz1UTfP8g1S/KD7DeHUitpzOLddo7XvB1VlAyZbGChwwSvse2+6jVPCeUu Af7A== X-Gm-Message-State: AA+aEWbEmRIblGPc6Cs+dqGQE/4UDqcfZ39viVgRaTAODWpNMlSAHPIK i2zTz4ROimrBvJiiXtPfcpqseJo4apobEfAIJjw= X-Received: by 2002:a6b:600b:: with SMTP id r11mr18717533iog.259.1545217036666; Wed, 19 Dec 2018 02:57:16 -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: =?UTF-8?Q?Cl=C3=A9ment_VUCHENER?= Date: Wed, 19 Dec 2018 11:57:05 +0100 Message-ID: Subject: Re: [PATCH v3 7/8] HID: logitech: Enable high-resolution scrolling on Logitech mice To: Harry Cutts Cc: Peter Hutterer , linux-input , Dmitry Torokhov , Jiri Kosina , torvalds@linux-foundation.org, Nestor Lopez Casado , lkml , Benjamin Tissoires Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le sam. 15 d=C3=A9c. 2018 =C3=A0 15:45, Cl=C3=A9ment VUCHENER a =C3=A9crit : > > Le ven. 14 d=C3=A9c. 2018 =C3=A0 19:37, Harry Cutts = a =C3=A9crit : > > > > Hi Clement, > > > > On Fri, 14 Dec 2018 at 05:47, Cl=C3=A9ment 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?