Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp5946243rwl; Mon, 9 Jan 2023 01:56:45 -0800 (PST) X-Google-Smtp-Source: AMrXdXvubH7731KIFhxGY/SI9ocg6vReod/IJF6+TaGAYOowwlPXNRkuD6mH11wvBlf7YADG/Pjk X-Received: by 2002:a17:906:c0ce:b0:7ad:d7a4:4346 with SMTP id bn14-20020a170906c0ce00b007add7a44346mr66869151ejb.66.1673258205539; Mon, 09 Jan 2023 01:56:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673258205; cv=none; d=google.com; s=arc-20160816; b=bqhDb/0MeW7jzJTIZdqnWEspTb3TpFhlUHK5UhZlEMS0uATdBdWrOSZrhyhNfj6LYg abxYg35lg+JL2GxrONARQoscKNGRf+06k/vjSK4AgQF62XXi8P1AvseAAA2xwJmEayhv Nm7AxeoUnPYOO12mVOP8R6krsEGvs4G6WNIVsTN3hSxD0caqGrOl6dV7WOE+lvYNx4G5 3R1y/hhWtz7aoZZcxsQpWUybtx6OQ/RP8cFqRsrFc+ha2jrsxrkLCVKjEK96yahXrBaC 7LgdqG8/UcWtUqXDQL72VncE5UHLpx+sYT1DmhsdXlUdDr1g8Mzp8JRz8uO3+JmYw9Dt SSRA== 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:reply-to:cc:to :from:content-language:user-agent:mime-version:date:message-id; bh=laJMMsFEEqn1+OhV+/+5oyZcNxNPhtZUqUQ75U0sMIs=; b=BYuObKhCqNNeXUAldCtqxVQTI5WifOUt8gRDThIFNPyzpcgYkfvyj+p81/doY/IpLm zqNz9Idh39RlMvsrQGQCZ6kliFS/JG4WrPJT7hFateZO3GMBVTrABlK/mWWGsNR7g9GF zw5fkPCKBTSUYHLwRd3389aJMuPT4eQ+01i9U2ZKuVxJF4QGP5EisF2W68TyvYtWhHqc GDVkGsEdP52Cd3QSPwYolIsNf+L7vCHp1U57jwTi6WV0nBHd/a5vtFypL3qfq4X3OC5z vEhhs/qrqbo2HzNQG/4n7GUvCD8th0EyHHaPaoPGnsQtWw52JvngZ/4/1bgljelrKT5J jfWw== 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 a20-20020a17090680d400b007a835c56b70si6793664ejx.267.2023.01.09.01.56.32; Mon, 09 Jan 2023 01:56:45 -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 S234771AbjAIJSz (ORCPT + 54 others); Mon, 9 Jan 2023 04:18:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236653AbjAIJSM (ORCPT ); Mon, 9 Jan 2023 04:18:12 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9BCF1A828; Mon, 9 Jan 2023 01:14:41 -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 1pEoEo-00030V-8i; Mon, 09 Jan 2023 10:14:38 +0100 Message-ID: Date: Mon, 9 Jan 2023 10:14:37 +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: "Linux kernel regression tracking (Thorsten Leemhuis)" To: =?UTF-8?Q?Filipe_La=c3=adns?= , Benjamin Tissoires , Bastien Nocera Cc: Jiri Kosina , "open list:HID CORE LAYER" , LKML , berilko@gmail.com, =?UTF-8?Q?Stefan_Br=c3=bcns?= , "regressions@lists.linux.dev" Reply-To: Linux regressions mailing list Subject: =?UTF-8?Q?=5bRegression=5d_Bug=c2=a0216903_-_HiRes_Scroll_for_Perfo?= =?UTF-8?Q?rmance_Mouse_MX_broken_in_6=2e1?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1673255681;6e6a64d8; X-HE-SMSGID: 1pEoEo-00030V-8i 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. 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=216903 : > berilko@gmail.com 2023-01-08 19:14:21 UTC > > Since 6.1 Kernel driver for hid-logitech-hidpp no more detect Performance MX as FastScroll > > Self-made patch is: > --- archlinux-linux/drivers/hid/hid-logitech-hidpp.c 2023-01-09 00:41:25.310773805 +0700 > +++ archlinux-linux/drivers/hid/hid-logitech-hidpp.c 2023-01-09 01:09:10.844967608 +0700 > @@ -3479,7 +3479,7 @@ > HIDPP_GET_REGISTER, > HIDPP_ENABLE_FAST_SCROLL, > NULL, 0, &response); > - if (!ret) { > + if (!ret || /* Patch for Performance MX */ hidpp->hid_dev->product == 0x101a) { > hidpp->capabilities |= HIDPP_CAPABILITY_HIDPP10_FAST_SCROLL; > hid_dbg(hidpp->hid_dev, "Detected HID++ 1.0 fast scroll\n"); > } > > [reply] [−] Comment 1 Stefan Brüns 2023-01-08 23:39:50 UTC > > Unfortunately, the hires auto detection is broken for HID++1.0 devices. > > https://elixir.bootlin.com/linux/latest/source/drivers/hid/hid-logitech-hidpp.c#L3477 > > ``` > ret = hidpp_send_rap_command_sync(hidpp, > REPORT_ID_HIDPP_SHORT, > HIDPP_GET_REGISTER, > HIDPP_ENABLE_FAST_SCROLL, > NULL, 0, &response); > ``` > > This command tries to read from register 0x40, while the FAST_SCROLL feature is BIT(6) (0x40) in register 0x01. > > For my M705, enabling and disabling of FAST_SCROLL is possible (writing 0x42/0x02 to register 0x1), and the current setting can be read back. > > I don't think auto-detection is possible for HID++1.0 devices. > 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: v6.0..v6.1 https://bugzilla.kernel.org/show_bug.cgi?id=216903 #regzbot title: hid: HiRes Scroll for Performance Mouse MX broken #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.