summaryrefslogtreecommitdiff
path: root/udev/42-logitech-unify-permissions.rules
blob: 73a6cbe1f69c90bc0cfe78fe5fe3ab369a9d8379 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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"