From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1A1E2442FCD for ; Mon, 10 Aug 2026 20:56:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786395405; cv=none; b=EKAsRXX49A59iGzPHQe2O1Ol1voZKfvz+A3EE9MH/CO6cfEl1T1VyH8PsxX/XX2ZcA6tcfvyFyD3sWFVEI+WE6RvFWw+trM89koeu3Sbzz1WvnT0d7VoMrLRnpnLgNJevG3MbHSYH1olOv3UHgmu/32XDmiZLpbBFPVWX2DPSYA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786395405; c=relaxed/simple; bh=sk/fuLEHM2sShww709RnR6w+4evX+CynIHQsezCGfPQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=D+zLSd1DzdSw2wWLhdaieqXxAeQK7Ds7+ncTxQ0vRnkQvFS9PZr/jL9+1WBdJJFGyfjzg/Hm/pldDJbQsCWjiQrRzx3nZlDbiWVOrEFVPw0viHToGmvXMcl9nbpVojG3cMi7m2y8Mn8gdki9XlwoBt+htmPPM1wRNoR5Eky2IoA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=k7kRbnbt; arc=none smtp.client-ip=209.85.208.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="k7kRbnbt" Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-6a157f90752so3225687a12.3 for ; Mon, 10 Aug 2026 13:56:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786395401; x=1787000201; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=lKsxTzH21DgUBKx7bOD+M/xNsOvOGRSp55gh8Kt9+ZY=; b=k7kRbnbtFAuQjJHVLZj5oobOuDgS/riAVH6t1xWmEF7bgxn67zC015672mWOlPluXs 3ARY1px4ktlHF5a5Lu8gJxqSVNe2Kz4yNYrkXzqjCfuKh0dhBKDK+jL/e+u7d8k87Hds Iy/+LfWKIgWCm8QjwUuiaWLfRFqbwGxtrn+an1a4dVV4rOPOrxYtHrOeSJY1m87il/oU usPboVq2L6jkCZcQPMIhqUwJIvbOL5aQLXRyjSl3H00gm5e7Vr87wjBk3lZqrSW6MFTB EYLeLR0A/YCdKPdViIdZ6us7PiW8RgvhS+YeX2rxIxhuIPS7tKU4JGhFcNBoeNcnZPLg LOpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786395401; x=1787000201; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=lKsxTzH21DgUBKx7bOD+M/xNsOvOGRSp55gh8Kt9+ZY=; b=KEJEU2uWsAR1/5jqjpxvkqNbqq9Z/POPL5aomzPxyRLVatNYi2hZ8GLID/+Sc1VzGJ DDQvgtC0n61q9xKs694R+F9g2/5O0a44HBRJXw+XCOk3qHQ4UASnkyNE/1NRngd1VCJ2 TGIni9wzTQqL0Uwdg5APZb6i2VIq6m8kHQXpgfXghU0+MoJoi83N8jBZFPAyO2NS4uwV 9439q3+gcIjuI6xNdPfosqSZlwi4Bs7uozjQEcO4/RKkiXMOAB0kgVGCMgK8bt7/dEao hVHT6s0W0DIhrYSbSvW2ajO5U1webIZg3vGAZbJkB78JN7DV89tVdAzXKquP1hAGO2f8 aVrg== X-Forwarded-Encrypted: i=1; AHgh+Rp65n/z+uAJ0k7Z9+TIiCTcL21ENt2U0C5OHiu/geD3WuBrX118UcPMSNu5BIowuGB8Q7/foSfpe9J+KpE=@vger.kernel.org X-Gm-Message-State: AOJu0Yz6qNNkk82H7vaRWX8e9rtipllXklVSF2lHcetbi/EZtDkR+JNs iEMmadqeT58nphCMfFHl1Un9hQxKj4WyfhOdPEzqoJEYDDGKztoFHnAZM9npjWLu97M= X-Gm-Gg: AR+sD13fRIkaEV+ZbWV06n8r+lchTxYFACLahbFInhc4eBQ/3ZK64lbqbVPokcOmgNs 0rlFvONJsK5JM4klsDyZgnURIZZ949rI0O/01xyiWxide9tOq5S6d1eY4+E090C33tD0CnSnqt/ tZyrFKCwbGHXAtTbvGJnv3WHglecULSgSJLpjSjrsHsfSdewqhdKxSle6RnFL8Sku2nf2vUBz+z hGsNqxjYW8C/Ig1WNdAHztaj16We/ajiVuW5/Gwzl4qNfafFoBQsQXMtUfkGn4ZXxMNI5YyPS1+ 4lyOB9C6EPZF4jRmqJSBGQ8ddJwGd0scdj4+x9tzrlFSl3QV3cTiyzMoSjbtF9xSpoCPwbPNbZ/ wm4jaI3K4W1utxynhkWd2OTf/r7Vu9UzNKxCsuwacJSGbO5+pWYw+3HxjycwPz1ca6rw2bmSmlg 5rVZapem0aT0NTndErE5Vm63faIKLJsC5vzS0TsiouM7IEj4e+rY4j/WQ1bPULF6tk3Gr9EjUbb 2KnoEIIlkLierqfsqEa X-Received: by 2002:a05:6402:538d:b0:6a1:333f:dc8c with SMTP id 4fb4d7f45d1cf-6a1f2f5da9dmr11524539a12.20.1786395401071; Mon, 10 Aug 2026 13:56:41 -0700 (PDT) Received: from fedora (81-224-151-184-no600.tbcn.telia.com. [81.224.151.184]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6a1e7c9d912sm4450986a12.2.2026.08.10.13.56.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Aug 2026 13:56:39 -0700 (PDT) From: =?UTF-8?q?Erik=20H=C3=A5kansson?= To: jikos@kernel.org, bentiss@kernel.org Cc: lains@riseup.net, hadess@hadess.net, k8ie@mcld.eu, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Erik=20H=C3=A5kansson?= Subject: [PATCH v3 0/1] HID: logitech: add Bolt receiver support for Logitech HID++ devices Date: Mon, 10 Aug 2026 22:56:33 +0200 Message-ID: <20260810205634.209099-1-erikhakan@gmail.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch adds Logitech Bolt receiver support for Logitech HID++ devices so Bolt-connected HID++ peripherals can expose battery information through the kernel power_supply path with the correct device model. Changes in v2: - Handle only the Bolt receiver/control interface in hid-logitech-dj and leave the other Bolt receiver interfaces to generic HID handling. - Handle Bolt HID++ unpair notifications so child HID devices are removed after unpairing. These fixes were based on issues reported by Kateřina Medvědová. Link: https://lore.kernel.org/linux-input/345f7347-30a8-4568-a7a6-c70f54a52a8d@mcld.eu/ Changes in v3: - Handle HIDPP_ERROR_CONNECT_FAIL like other disconnected-device errors when retrieving the protocol version to avoid protocol error messages when a Bolt device powers off. Thanks to Kateřina Medvědová for testing v1 on additional Bolt hardware and identifying that Bolt interfaces 0 and 1 must remain handled by the generic HID path, and that Bolt unpair notifications need explicit handling. Tested with: - Logitech MX Keys for Business via Bolt receiver Erik Håkansson (1): HID: logitech: add Bolt receiver support for Logitech HID++ devices drivers/hid/hid-logitech-dj.c | 48 +++++++++++++++++++++++++++--- drivers/hid/hid-logitech-hidpp.c | 51 +++++++++++++++++++++++++++++--- 2 files changed, 91 insertions(+), 8 deletions(-) base-commit: 0d839570765118029aa8bf4a95444c6a11aacf85 -- 2.55.0