Add udev example for root-less accessing the unifying receiver

This commit is contained in:
Peter Wu
2013-04-24 15:17:24 +02:00
parent 26ea52e926
commit 6914080f90

View File

@@ -0,0 +1,13 @@
# Allows non-root users to have raw access the Logitech Unifying USB Receiver
# device. For development purposes, allowing users to write to the receiver is
# potentially dangerous (e.g. perform firmware updates).
# skip actual unified devices, only consider the receiver
DRIVERS=="logitech-djdevice", GOTO="not_unify_recv"
# Only allow members of the "plugdev" group to access the receiver
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b", MODE="0660", GROUP="plugdev"
# Alternative: Allow every user on the system to access the receiver
#SUBSYSTEM=="hidraw", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b", MODE="0666"
LABEL="not_unify_recv"