From d74e3a9b92ebf232a70eaaee5716899fb7f88659 Mon Sep 17 00:00:00 2001 From: Josenivaldo Benito Jr Date: Tue, 22 Nov 2016 14:29:35 -0200 Subject: [PATCH] Add receivers to udev rules Sync lib/logitech_receiver/base_usb.py PIDs with udev rules Fixes #125 Signed-off-by: Josenivaldo Benito Jr --- packaging/debian/solaar.udev | 10 ++++++++++ rules.d/42-logitech-unify-permissions.rules | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/packaging/debian/solaar.udev b/packaging/debian/solaar.udev index 777c79bf..e9dde2c4 100644 --- a/packaging/debian/solaar.udev +++ b/packaging/debian/solaar.udev @@ -20,9 +20,19 @@ ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c526", GOTO="solaar_apply" # classic Nano receiver -- MK220/MK320 mouse and keyboard combo ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52e", GOTO="solaar_apply" +# classic? Nano receiver -- V220 wireless mouse +ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c51b", GOTO="solaar_apply" + # G-Series receiver -- G-Series mouse ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c531", GOTO="solaar_apply" +# other Nano receivers known to Solaar +ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c517", GOTO="solaar_apply" +ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c518", GOTO="solaar_apply" +ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c51a", GOTO="solaar_apply" +ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c521", GOTO="solaar_apply" +ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c525", GOTO="solaar_apply" + GOTO="solaar_end" # diff --git a/rules.d/42-logitech-unify-permissions.rules b/rules.d/42-logitech-unify-permissions.rules index 28c31ced..0b44c447 100644 --- a/rules.d/42-logitech-unify-permissions.rules +++ b/rules.d/42-logitech-unify-permissions.rules @@ -20,9 +20,19 @@ ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c526", GOTO="solaar_apply" # classic Nano receiver -- MK220/MK320 mouse and keyboard combo ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52e", GOTO="solaar_apply" +# classic? Nano receiver -- V220 wireless mouse +ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c51b", GOTO="solaar_apply" + # G-Series receiver -- G-Series mouse ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c531", GOTO="solaar_apply" +# other Nano receivers known to Solaar +ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c517", GOTO="solaar_apply" +ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c518", GOTO="solaar_apply" +ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c51a", GOTO="solaar_apply" +ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c521", GOTO="solaar_apply" +ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c525", GOTO="solaar_apply" + GOTO="solaar_end" LABEL="solaar_apply"