Browse Source

packer: add custom udev rules

master
Cenk Gündoğan 5 years ago
parent
commit
1186029102
  1. 10
      dist/tools/packer/udev_rules/99-custom.rules

10
dist/tools/packer/udev_rules/99-custom.rules vendored

@ -0,0 +1,10 @@
ACTION!="add|change", GOTO="custom_rules_end"
SUBSYSTEM!="usb|tty|hidraw", GOTO="custom_rules_end"
# cp210x UART
ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", MODE="660", GROUP="plugdev", TAG+="uaccess"
# Arduino Due
ATTRS{idVendor}=="2341", ATTRS{idProduct}=="003d", MODE="660", GROUP="plugdev", TAG+="uaccess"
LABEL="custom_rules_end"
Loading…
Cancel
Save