Add udev rules for making hidraw permissions 0644

This allows the programs that read hidraw for the X52 joystick to
not need root permissions.
pull/3/head
Nirenjan Krishnan 2012-10-08 19:37:49 -07:00
parent a217fa486e
commit 0274c329a6
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# udev rules to make hidraw readable by users
ACTION!="add", GOTO="x52pro_rules_end"
SUBSYSTEM!="hidraw", GOTO="x52pro_rules_end"
# X52Pro flight control system
ATTRS{idVendor}=="06a3", ATTRS{idProduct}=="0762", MODE="0644"
LABEL="x52pro_rules_end"