Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp549579rwl; Thu, 5 Jan 2023 00:48:51 -0800 (PST) X-Google-Smtp-Source: AMrXdXth52HNiDVLWyhuypBGoGuACwEtm0wN4AcT86tG2iscSUfU0rl50hxRqFrL4xKNJCcUjnDu X-Received: by 2002:a17:90b:35c8:b0:226:b78b:a9c2 with SMTP id nb8-20020a17090b35c800b00226b78ba9c2mr4465289pjb.35.1672908531295; Thu, 05 Jan 2023 00:48:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672908531; cv=none; d=google.com; s=arc-20160816; b=neYWomfIO/m6booko7uayqaafYUy1QW1oUB8bHLVAXgZx6pU0oHuAwMaGasKULMxMP b77oGvaMEqWSSHu9IjDO+U+mgxxyMyGFe2NGmdp7uSwBiBneZ/scA/yv2r7Bx+IbeEdC DEINTGULOlQmbr8ah17wrzcO/Kr2yIQ9FJ7DrbxvLafTgyUtt/V/fFjsSIglc7u93kGX 9VrRHSQq2j6iqgGmnjwDkyswloZbjupVuyOfBDtvKHpLuuhpfVyhvXAdhhP+f1m1ML3x z4jZjq9rEe8652vOv6wsw/kaMDbY6cX8fcc6l3lO+QABBSp+EgjSPZADi5eKHuqA9M5O U/Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:cc:to:from :content-language:user-agent:mime-version:date:message-id; bh=/Em4DiTsQ85BYzru7qN1wFTrEoxxb2YzmPVpxxpTRW8=; b=HwWtLbZqs9kxN0bd40A/Op2BKktwWOKcRwZ5wqjwaFvYenE/ttixyuvq3adqKCsUJ8 v41UkAWCHWQMDCXgLgnRkvmLl5BGOyrbxWjujeNZNJQTE14Qv+hoq3w3hgkPcEJ0MJcC haPEpRn3bmYW07ilnJPgoljcwfllzwu7Y9LKezizhYLVYUPSErBYEdVKtOYfLmrf5gRj lAdQnxb17vKmNObcW4owmz3HMZZQpo8ibtrmYO6D4LnRXPerWe69nKd9qgu92Q8GK54d QVmxp0TlnRHh4LofHV/jzovZ6VoEwAqnecMB0vJSFOAAKtAMwm4uYW9Y0ynuUbFy9xjy /t0g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h20-20020a17090acf1400b0022143f9be33si1322461pju.98.2023.01.05.00.48.44; Thu, 05 Jan 2023 00:48:51 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231425AbjAEIMS (ORCPT + 55 others); Thu, 5 Jan 2023 03:12:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229554AbjAEIMQ (ORCPT ); Thu, 5 Jan 2023 03:12:16 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88F8A3FA05; Thu, 5 Jan 2023 00:12:15 -0800 (PST) Received: from [2a02:8108:963f:de38:eca4:7d19:f9a2:22c5]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1pDLMC-0001qp-Dj; Thu, 05 Jan 2023 09:12:12 +0100 Message-ID: <1bb93259-1c9f-5335-a0bf-fc8641b26650@leemhuis.info> Date: Thu, 5 Jan 2023 09:12:11 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Content-Language: en-US, de-DE From: Thorsten Leemhuis To: Bastien Nocera Cc: David Roth , Benjamin Tissoires , Jiri Kosina , "open list:HID CORE LAYER" , "regressions@lists.linux.dev" , LKML Subject: =?UTF-8?Q?=5bRegression=5d_Bug=c2=a0216885_-_HID++_Logitech_G903_ge?= =?UTF-8?Q?nerates_full_scroll_wheel_events_with_every_hi-res_tick_when_atta?= =?UTF-8?Q?ched_via_USB?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1672906335;f737be4f; X-HE-SMSGID: 1pDLMC-0001qp-Dj X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 Hi, this is your Linux kernel regression tracker speaking. I noticed a regression report in bugzilla.kernel.org. As many (most?) kernel developer don't keep an eye on it, I decided to forward it by mail. Quoting from https://bugzilla.kernel.org/show_bug.cgi?id=216885 : > David Roth 2023-01-04 20:37:22 UTC > > Created attachment 303526 [details] > Libinput record with G903 attached directly to USB > > Since > https://lore.kernel.org/linux-input/20220914132146.6435-1-hadess@hadess.net/T/#u > my Logitech G903 has gained hi res support. While normally a good > thing, it seems that in this case it leads to generating one normal > REL_WHEEL with each REL_WHEEL_HI_RES event instead of just a couple > of REL_WHEEL_HI_RES, followed by the standard REL_WHEEL once a > notch/tick is reached. This leads to overly sensitive scrolling and > makes the wheel basically useless. > > Interestingly this only happens when the mouse is connected directly via > cable (PID:0xC091) and not via the Lightspeed wireless dongle > (PID:0x4087) where it will lead to correctly applying the times 8 > multiplier and the relevant set of HI_RES and REL_WHEEL event once a > notch is reached. > > I originally thought about patching the module/adding a param to simple > disable high res support in general, assuming this might be something > people might want to configure, but seeing that this can be "fixed" that > way I decided to hold off on the thought. > > However it seems like we'd need to trade one set of quirks for another, > so not sure what the correct approach might be. > > I'll attach some libinput debug logs when the issue happens. See the ticket for more details. BTW, let me use this mail to also add the report to the list of tracked regressions to ensure it's doesn't fall through the cracks: #regzbot introduced: 908d325e1665 https://bugzilla.kernel.org/show_bug.cgi?id=216885 #regzbot title: hid: overly sensitive scrolling with Logitech G903 that makes the wheel basically useless #regzbot ignore-activity Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr If I did something stupid, please tell me, as explained on that page.