Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1213244rwb; Wed, 7 Dec 2022 09:56:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf4MbGXTeWXn49UVdx46LZrla/70bSFsZ7kU9XONR6MABNLEVsm+z0xINGoOdVxPbgZOqKiJ X-Received: by 2002:a63:561d:0:b0:479:32f:f0b4 with SMTP id k29-20020a63561d000000b00479032ff0b4mr1403956pgb.610.1670435780587; Wed, 07 Dec 2022 09:56:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670435780; cv=none; d=google.com; s=arc-20160816; b=lSFyyDbua7QzxqB4874cJQbXE0aG+eepP5cV64Zx28F8qH55h4/L6oolmcaEcaGxgp bMRu5MockzatViWBtLfCQaOF0lrDTlSEj28YTlfjfp239CJQSXgBUfNzI7tczoeBnJU4 vC/kHRkzDBcsIBNeaEOPmvoSLi+OAl6O6J/j6rsRE9vuWv0q+gP0FRYlXQvxy1LKVQHJ ZeDjQT/FaW0LRhGIhdeTY14jPDcix8tHqf5OBc97IBwwprMSUWECAmVisOkc/u8yTa3L CZe1HgnsztMPqmPc+x3WDuMfELpg4DHeLd/o7XKUv4YRS9LJBsK0PE5vOOVRnWW6KoMb BJag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=aTxIkdQw+FZkhn3OUt+5u9vgzVcJeWzgDBM5IBCMlVE=; b=G+G3tpwC/r3P9NCeuXSU8x1nxIT98mhoECshO/+agYpPKaGJVVuM8bjmLwjVVPTOYh 7qX2ALXkdZ1SXHITLQ2ctwiez7x1keBXu/o2cXKAzPVc6RSkRbqLXhF/5KnpsW81oyYN UIPNe10VW90hRO+76XyOj471j5WzijZ9RftIXsidVE5YRIDKe/HtCIRedJvqnPo2HolT BVVcXDdpgvsiDkvUfLMZMGiWghYR42DwXxddrCegokvsF2y8tpLyMSjj9ka4wpIsgkIH hrTVE3KzQwu92FXO8VRLG6clto0jqieXlL5wvse7azbe4yfQ2MnZxUZCp/U2uUHyJ/6K u6EQ== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ng5-20020a17090b1a8500b002196cd830e6si2319538pjb.11.2022.12.07.09.56.10; Wed, 07 Dec 2022 09:56:20 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230071AbiLGRpC (ORCPT + 74 others); Wed, 7 Dec 2022 12:45:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230055AbiLGRox (ORCPT ); Wed, 7 Dec 2022 12:44:53 -0500 Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFD3556557; Wed, 7 Dec 2022 09:44:52 -0800 (PST) Received: by mail-qk1-f178.google.com with SMTP id v8so10505387qkg.12; Wed, 07 Dec 2022 09:44:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aTxIkdQw+FZkhn3OUt+5u9vgzVcJeWzgDBM5IBCMlVE=; b=4hcNFhsed8agu0c0/UgeU3E9fpxnIeUM1n/gslEoJWyCWRW6ubuGzBX6yvT7pj5syC M7PH6ljhnmrRpZPGlVs9Vjvs2W56BJqtFnlUWoTAnMycnCCTA/gAZgEfMfEhOQxnSrw6 xKFyspFV7njhnJYwV0x+7U2aWEWocRRt4a5y49FHOiZ2pLY6D0WzCJGS8KE2JplO/0Sy 6yQXJrmi7X5CCwho9BlhNRGLxTuv/2j6ZmxcqoXaixd2dXC4grig4h+u4+tVifDSELMl f9f2XPNgFqm2pnbYZaYSB3oZY2auQ1HTHw/0O2iRAhloqZ4C0uGpJI2KsDlCX1R8sAlY KnLg== X-Gm-Message-State: ANoB5pmXMft+bdYfofBVT6WZ5VKKniQviRTsl7nBBC7U1sPF2naExj8U Z4os3GxLqVk9jL6C6wnUYy7dXBzzxhQ6u9k3kgo= X-Received: by 2002:a05:620a:4611:b0:6fa:af7e:927c with SMTP id br17-20020a05620a461100b006faaf7e927cmr79280179qkb.443.1670435091997; Wed, 07 Dec 2022 09:44:51 -0800 (PST) MIME-Version: 1.0 References: <2262737.ElGaqSPkdT@kreacher> <1df12728a2e788788fd387588bac62023e123d16.camel@hadess.net> <2145955.irdbgypaU6@kreacher> <8281ddcc16cc950f9cde4b196cf208adcc798319.camel@hadess.net> <91367d07a72ecb2065faebe974c54ebd966e0d59.camel@hadess.net> In-Reply-To: <91367d07a72ecb2065faebe974c54ebd966e0d59.camel@hadess.net> From: "Rafael J. Wysocki" Date: Wed, 7 Dec 2022 18:44:40 +0100 Message-ID: Subject: Re: [Regression] Logitech BT mouse unusable after commit 532223c8ac57 (still in 6.1-rc8) To: Bastien Nocera Cc: "Rafael J. Wysocki" , Jiri Kosina , =?UTF-8?Q?Filipe_La=C3=ADns?= , Benjamin Tissoires , linux-input@vger.kernel.org, LKML , Thorsten Leemhuis Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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 On Wed, Dec 7, 2022 at 6:19 PM Bastien Nocera wrote: > > On Wed, 2022-12-07 at 12:07 +0100, Rafael J. Wysocki wrote: > > # hidpp-list-features /dev/hidraw1 > > Bluetooth Mouse M336/M337/M535 (046d:b016) is a HID++ 4.5 device > > Feature 0x01: [0x0001] Feature set > > Feature 0x02: [0x0003] Device FW version > > Feature 0x03: [0x0005] Device name > > Feature 0x04: [0x0020] Reset > > Feature 0x05: [0x1e00] Enable hidden features (hidden) > > Feature 0x06: [0x1800] Generic Test (hidden, internal) > > Feature 0x07: [0x1000] Battery status > > Feature 0x08: [0x1b04] Reprog controls v4 > > Feature 0x09: [0x2100] Vertical scrolling > > Feature 0x0a: [0x2200] Mouse pointer > > Feature 0x0b: [0x2205] Pointer speed > > Feature 0x0c: [0x18b1] ? (hidden, internal) > > Feature 0x0d: [0x2121] Hi-res wheel > > Feature 0x0e: [0x1f03] ? (hidden, internal) > > Would you be able to enable debugging for the hid subsystem to get some > debug data when getting the version from the device fails? I guess I could, but I think that the device is just quirky. At least the BT layer appears to think that it is connected. Anyway, what exactly do you need? > I can't see any problems in there that wouldn't also have impacted all > the other Logitech Bluetooth devices listed in the support devices > list. > > If the problem is a timeout, maybe we should lower the timeouts we > currently have (5*HZ = 5 seconds, right?), so we can retry 5 times one > second instead. No, it doesn't take 5 sec to get a response from it. It rather looks like __hidpp_send_report() returns an error. > > Still, as I mentioned earlier, I can't reproduce the problem on another > Bluetooth Classic device...