From 15b196558294423f00ca7563b0a83ef9fd2052b3 Mon Sep 17 00:00:00 2001 From: "Peter F. Patel-Schneider" Date: Sun, 9 Aug 2020 10:20:22 -0400 Subject: [PATCH] receiver: add lightspeed receiver c545 --- docs/devices.md | 1 + lib/logitech_receiver/base_usb.py | 2 ++ rules.d/42-logitech-unify-permissions.rules | 1 + 3 files changed, 4 insertions(+) diff --git a/docs/devices.md b/docs/devices.md index 257b23e9..32f66c38 100644 --- a/docs/devices.md +++ b/docs/devices.md @@ -61,6 +61,7 @@ a tuple of known feature settings (from `lib/logitech/settings_templates.py`). | 064d:c53a | Lightspeed | 1 | | 064d:c53d | Lightspeed | 1 | | 064d:c53f | Lightspeed | 1 | +| 064d:c545 | Lightspeed | 1 | | 17ef:6042 | Nano | 1 | * The receiver with USB Id 046d:c517 is an old 27 MHz receiver, supporting only diff --git a/lib/logitech_receiver/base_usb.py b/lib/logitech_receiver/base_usb.py index 10f6fc4b..72c128ac 100644 --- a/lib/logitech_receiver/base_usb.py +++ b/lib/logitech_receiver/base_usb.py @@ -127,6 +127,7 @@ LIGHTSPEED_RECEIVER_C539 = _lightspeed_receiver(0xc539) LIGHTSPEED_RECEIVER_C53a = _lightspeed_receiver(0xc53a) LIGHTSPEED_RECEIVER_C53f = _lightspeed_receiver(0xc53f) LIGHTSPEED_RECEIVER_C53d = _lightspeed_receiver(0xc53d) +LIGHTSPEED_RECEIVER_C545 = _lightspeed_receiver(0xc545) del _DRIVER, _unifying_receiver, _nano_receiver, _lenovo_receiver, _lightspeed_receiver @@ -150,6 +151,7 @@ ALL = ( LIGHTSPEED_RECEIVER_C53a, LIGHTSPEED_RECEIVER_C53f, LIGHTSPEED_RECEIVER_C53d, + LIGHTSPEED_RECEIVER_C545, ) diff --git a/rules.d/42-logitech-unify-permissions.rules b/rules.d/42-logitech-unify-permissions.rules index 8bdfaa0d..dbeb1011 100644 --- a/rules.d/42-logitech-unify-permissions.rules +++ b/rules.d/42-logitech-unify-permissions.rules @@ -40,6 +40,7 @@ ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c539", GOTO="solaar_apply" ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c53a", GOTO="solaar_apply" ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c53d", GOTO="solaar_apply" ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c53f", GOTO="solaar_apply" +ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c545", GOTO="solaar_apply" # Lenovo nano receiver ATTRS{idVendor}=="17ef", ATTRS{idProduct}=="6042", GOTO="solaar_apply"