Skip to content

HID: logitech: add Bolt receiver support for Logitech HID++ devices

Erik Håkansson linux-input lkml sashiko-reviews 3 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 patch 2 repliesApplied
  2. v21 patch 10 repliesSuperseded
  3. v11 patch 2 repliesSuperseded

Changes in v3 from the cover letter

- 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.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/1HID: logitech: add Bolt receiver support for Logitech HID++ devicesdrivers/hid/hid-logitech-dj.c drivers/hid/hid-logitech-hidpp.c+91 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/1] HID: logitech: add Bolt receiver support for Logitech HID++ devices

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á.

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

Signature · 1 line
2.55.0