Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp270974rdd; Tue, 9 Jan 2024 03:52:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IFSYv/li08LDoJAqXCaZi+BoqRu2KJ6GaogbYQssk1qEj5zDt0IOPtfaaTTkhGaTFwEryqf X-Received: by 2002:a05:6214:e83:b0:67a:b419:530f with SMTP id hf3-20020a0562140e8300b0067ab419530fmr7051215qvb.9.1704801122455; Tue, 09 Jan 2024 03:52:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704801122; cv=none; d=google.com; s=arc-20160816; b=Y3Nyh+YsZyQawJw6Tu1U2o+HMgH8IKw15pPNrVchRZO73jwhreUppx6RTOHlfiy/mw TuvuRGTaNM2yKYq+gqI5mzsGJP/yQmgL9BECZSSAo/le05q7J6cM8rIPkeYHErX49EO4 zBw2Z5yyGXU+C13Rs/63zv5NPDSqnxpOnr9R9QvHcuqs+kiNS0l0NfwiyEzbKFvHMf8i dAkUc/JHnelAlAzcR0nfgMAJ9kf/Oa9zXXCTEmme7Qz9+Q/nujGgfvxyGeBvdxhKwd51 HU/ybTg+/rwJkzMT5w5kngEi3hUc/vDf0pelG1pKCK/C35Et7QpVR2sKCoGu1n6sF6GB 8JAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:subject:cc:to:from:dkim-signature; bh=a70FyQBxFFn5JMG0Q0O4V6pTeF/ihUmX4t9eLgwGQF0=; fh=S2zgB0knsYR8LUOtq7Fc0Vq60Vmsj6qJPd8qz2XwAXI=; b=dGJTV0ut1RDOzSRM5Q1tBgMkeJihCQ8UZVTIWxw6oBtCog3RBQmm6UhmLYJ74vaOt+ D5uPXE2v1QDkFdAeuc/gWC8wI//gzACrjdo8Yys6xTzGF9e46jPWVWghtCFn4CRt6lK0 isUsw4ycqmye5+9IMsv6dtQzlwYCZjv5n3BCEK69pjHxPNyUkSlhXwH/+E463c4YJfcv KtrYTh8sArw5f/V6cR5R3kbrkUv4hqMyl/lb4GNcUQMrit75LAb8cnhQ8VP9fGtl4wS5 SBzZFiyX2+fHrvaLpRe/pSQuMBwbtosr92lPlIKNkV9AvGGqCM9IAeDSK16pXoKHG2n7 ytsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@natalenko.name header.s=dkim-20170712 header.b=DGqhDSB4; spf=pass (google.com: domain of linux-kernel+bounces-20810-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20810-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=natalenko.name Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id e25-20020a0cb459000000b0067f9fdc4088si2092301qvf.416.2024.01.09.03.52.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 03:52:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20810-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@natalenko.name header.s=dkim-20170712 header.b=DGqhDSB4; spf=pass (google.com: domain of linux-kernel+bounces-20810-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20810-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=natalenko.name Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 220E91C238BB for ; Tue, 9 Jan 2024 11:52:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7B606381C6; Tue, 9 Jan 2024 11:51:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=natalenko.name header.i=@natalenko.name header.b="DGqhDSB4" Received: from prime.voidband.net (prime.voidband.net [199.247.17.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7B1D13716B; Tue, 9 Jan 2024 11:51:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=natalenko.name Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=natalenko.name Received: from spock.localnet (unknown [94.142.239.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by prime.voidband.net (Postfix) with ESMTPSA id 633D062DD19A; Tue, 9 Jan 2024 12:45:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=natalenko.name; s=dkim-20170712; t=1704800748; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=a70FyQBxFFn5JMG0Q0O4V6pTeF/ihUmX4t9eLgwGQF0=; b=DGqhDSB4nGcCz1L/RON79NbamG4X/0oPyGnwnny6lfWxgIHTP/puu8xt2PgR79CtpJmYsv mRl230oLNKyo699ndw3aPSHNgdddA4dBttlQRbiF1l/Bl6LUjfiyKu0uSbQIpYVpNovUUr diazVmBU8quAK6UVw0fJO5kcxnVVfOY= From: Oleksandr Natalenko To: linux-kernel@vger.kernel.org Cc: linux-input@vger.kernel.org, Filipe =?ISO-8859-1?Q?La=EDns?= , Bastien Nocera , Jiri Kosina , Benjamin Tissoires , Hans de Goede Subject: Flood of logitech-hidpp-device messages in v6.7 Date: Tue, 09 Jan 2024 12:45:37 +0100 Message-ID: <3277085.44csPzL39Z@natalenko.name> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart8321016.T7Z3S40VBb"; micalg="pgp-sha256"; protocol="application/pgp-signature" --nextPart8321016.T7Z3S40VBb Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" From: Oleksandr Natalenko To: linux-kernel@vger.kernel.org Subject: Flood of logitech-hidpp-device messages in v6.7 Date: Tue, 09 Jan 2024 12:45:37 +0100 Message-ID: <3277085.44csPzL39Z@natalenko.name> MIME-Version: 1.0 Hello Hans et al. Starting from v6.7 release I get the following messages repeating in `dmesg` regularly: ``` Jan 09 10:05:06 spock kernel: logitech-hidpp-device 0003:046D:4051.0006: Disconnected Jan 09 10:07:15 spock kernel: logitech-hidpp-device 0003:046D:408A.0005: Disconnected Jan 09 10:16:51 spock kernel: logitech-hidpp-device 0003:046D:4051.0006: HID++ 4.5 device connected. Jan 09 10:16:55 spock kernel: logitech-hidpp-device 0003:046D:408A.0005: HID++ 4.5 device connected. Jan 09 10:16:55 spock kernel: logitech-hidpp-device 0003:046D:408A.0005: HID++ 4.5 device connected. Jan 09 10:36:31 spock kernel: logitech-hidpp-device 0003:046D:4051.0006: Disconnected Jan 09 10:37:07 spock kernel: logitech-hidpp-device 0003:046D:4051.0006: HID++ 4.5 device connected. Jan 09 10:46:21 spock kernel: logitech-hidpp-device 0003:046D:4051.0006: Disconnected Jan 09 10:48:23 spock kernel: logitech-hidpp-device 0003:046D:408A.0005: Disconnected Jan 09 11:12:27 spock kernel: logitech-hidpp-device 0003:046D:4051.0006: HID++ 4.5 device connected. Jan 09 11:12:47 spock kernel: logitech-hidpp-device 0003:046D:408A.0005: HID++ 4.5 device connected. Jan 09 11:12:47 spock kernel: logitech-hidpp-device 0003:046D:408A.0005: HID++ 4.5 device connected. Jan 09 11:38:32 spock kernel: logitech-hidpp-device 0003:046D:4051.0006: Disconnected Jan 09 11:43:32 spock kernel: logitech-hidpp-device 0003:046D:408A.0005: Disconnected Jan 09 11:45:10 spock kernel: logitech-hidpp-device 0003:046D:4051.0006: HID++ 4.5 device connected. Jan 09 11:45:11 spock kernel: logitech-hidpp-device 0003:046D:408A.0005: HID++ 4.5 device connected. Jan 09 11:45:11 spock kernel: logitech-hidpp-device 0003:046D:408A.0005: HID++ 4.5 device connected. Jan 09 12:31:48 spock kernel: logitech-hidpp-device 0003:046D:4051.0006: Disconnected Jan 09 12:33:21 spock kernel: logitech-hidpp-device 0003:046D:4051.0006: HID++ 4.5 device connected. ``` I've got the following hardware: * Bus 006 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver * Logitech MX Keys * Logitech M510v2 With v6.6 I do not get those messages. I think this is related to 680ee411a98e ("HID: logitech-hidpp: Fix connect event race"). My speculation is that some of the devices enter powersaving state after being idle for some time (5 mins?), and then wake up and reconnect once I touch either keyboard or mouse. I should highlight that everything works just fine, it is the flood of messages that worries me. Is it expected? Thank you. -- Oleksandr Natalenko (post-factum) --nextPart8321016.T7Z3S40VBb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEZUOOw5ESFLHZZtOKil/iNcg8M0sFAmWdMeEACgkQil/iNcg8 M0u9kRAAmQK0aeOpOEO+/c+yK/Yo1nWVpA+8lwE9ymnqlMMnkd25LWsW1CCda7bw h3UGk4Hcn4X9Ljop2mmt8k1IycWUlKAdUpTM/qwHu/PygH9OfHwa/TyUYjMqQrYR zz36lg77GrfjVN0RlkUNG2lcQmJbV8lv5hjzvKLiAVWl7zR7qoK8Xnw22xvwqcgo UsxYdQjU08jj1IU7jgcHVatXBSVIfHqozZ5dxtLCxwC/rupkWcLo5Ag1v5wMfzR+ wnQkQcBG0gFeoWvqC7yRZ2sr885eABJnEvUsEehz5I31Y4fJ/mrnXefMX/Y2e9L2 JWssOo5R0eT8AuS6+aB2CrrYLONEA9TTqPwOjQxoR3bZxWMmlW4rJrgk84XNde2g AyV25a1zeXBU+ka/dhUM8r1cDrBso/eokMnYhKUxRcqQ8qoy8B3DIogunGFa/OAI 6KUmKnASo8YzySDz+wGm+lY3SG8bcjhnVSoIo1DihG9IUbdaZF0y47eYLoHeuTQ5 lPPosqG/o0pIBbpW/3xAYY1og5aGAyvhIOyX+6dfjTTRhdXB/cCySayyEAoxP+mY /TL3kMOT9IM869afydLTOlsS+ivkj2Q0ahkJyhXpAKmN7aSeGK7tHSixmj8fWL3a FrcVWVpChXHSq8w1QBeSHhVj/0AsO6qFHgXIiaiJR2QnOv+xcRs= =nVhh -----END PGP SIGNATURE----- --nextPart8321016.T7Z3S40VBb--