From e77746818e5aeca0f14cb14258b1899d1212341a Mon Sep 17 00:00:00 2001 From: Ken Sanislo Date: Fri, 15 May 2026 14:22:49 -0700 Subject: [PATCH] centurion: show the receiver as "Lightspeed Headset Receiver" in the UI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "Centurion" is Logitech's internal codename for the headset-dongle transport — useful as a developer/log identifier but meaningless to a user, who just sees "Centurion Receiver" in the device list with no clue it's their wireless headset dongle. Rename only the user-facing receiver name. The protocol label, module, class, function names, and log messages keep "Centurion" — the codename stays everywhere it helps developers, and is hidden only where it faced the user. --- lib/logitech_receiver/centurion.py | 4 +++- tests/logitech_receiver/test_hidpp20_complex.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/logitech_receiver/centurion.py b/lib/logitech_receiver/centurion.py index 00bb9e6f..75fd2153 100644 --- a/lib/logitech_receiver/centurion.py +++ b/lib/logitech_receiver/centurion.py @@ -272,7 +272,9 @@ class CenturionReceiver: self._usb_name = getattr(device_info, "product", None) if not self._usb_name and self.path: self._usb_name = _read_usb_product_string(self.path) - self.name = "Centurion Receiver" + # User-facing name: "Centurion" is Logitech's internal codename for this + # headset-dongle transport, kept in code/logs but not shown to users. + self.name = "Lightspeed Headset Receiver" # Dummy pairing object — lock_open stays False from .receiver import Pairing diff --git a/tests/logitech_receiver/test_hidpp20_complex.py b/tests/logitech_receiver/test_hidpp20_complex.py index 1e3ef9dc..8fb6e3ca 100644 --- a/tests/logitech_receiver/test_hidpp20_complex.py +++ b/tests/logitech_receiver/test_hidpp20_complex.py @@ -1185,7 +1185,7 @@ def test_centurion_receiver_attributes(): assert recv.handle == 0x99 assert recv.path == "/dev/hidraw99" assert recv.product_id == "0AF0" - assert recv.name == "Centurion Receiver" + assert recv.name == "Lightspeed Headset Receiver" assert recv.serial is None assert recv.pairing is not None assert recv.pairing.lock_open is False