-
Notifications
You must be signed in to change notification settings - Fork 34
/
55-projecteur.rules.in
22 lines (16 loc) · 1.15 KB
/
55-projecteur.rules.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Set up permissions for non root users to open the Logitech Spotlight USB Receiver and other
# supported devices. Enables the Projecteur application to access the device.
# Copy the generated file `55-projecteur.rules` from the build directory
# to /lib/udev/rules.d/55-projecteur.rules
# Rule for the Logitech Spotlight USB Receiver
SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c53e", MODE="0660", TAG+="uaccess"
# Additional supported USB devices @EXTRA_USB_UDEV_RULES@
# Rule fot the Logitech Spotlight when connected via Bluetooth
# Updated rule, thanks to Torsten Maehne (https://github.com/maehne)
SUBSYSTEMS=="input", ENV{LIBINPUT_DEVICE_GROUP}="5/46d/b503*", ATTRS{name}=="SPOTLIGHT*", MODE="0660", TAG+="uaccess"
# Additional rule for Bluetooth sub-devices (hidraw)
SUBSYSTEMS=="hid", KERNELS=="0005:046D:B503.*", MODE="0660", TAG+="uaccess"
# Additional supported Bluetooth devices @EXTRA_BLUETOOTH_UDEV_RULES@
# Rules for uinput: Essential for creating a virtual input device that
# Projecteur uses to forward device events to the system after grabbing it
KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess", OPTIONS+="static_node=uinput"