mirror of https://github.com/nirenjan/libx52.git
18 lines
845 B
Plaintext
18 lines
845 B
Plaintext
# udev rules to give plugdev users permissions to:
|
|
# - write to the X52/X52pro using libx52
|
|
# - read from the hidraw interface
|
|
ACTION!="add", GOTO="x52_rules_end"
|
|
|
|
# X52Pro flight control system
|
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="06a3", ATTRS{idProduct}=="0762", MODE="0664", GROUP="plugdev"
|
|
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="06a3", ATTRS{idProduct}=="0762", MODE="0640", GROUP="plugdev"
|
|
|
|
# X52 flight control system
|
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="06a3", ATTRS{idProduct}=="0255", MODE="0664", GROUP="plugdev"
|
|
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="06a3", ATTRS{idProduct}=="0255", MODE="0640", GROUP="plugdev"
|
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="06a3", ATTRS{idProduct}=="075c", MODE="0664", GROUP="plugdev"
|
|
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="06a3", ATTRS{idProduct}=="075c", MODE="0640", GROUP="plugdev"
|
|
|
|
LABEL="x52_rules_end"
|
|
|