summaryrefslogtreecommitdiffstats
path: root/commandline/49-micronucleus.rules
diff options
context:
space:
mode:
authorBluebie <a@creativepony.com>2013-12-17 19:49:22 +1100
committerBluebie <a@creativepony.com>2013-12-17 19:49:22 +1100
commit75d9e14fe513d1f04f605bc1159cb9a316e89209 (patch)
tree9c90c6660b64c7851d7b1c8bb6ea0c05f94e67a4 /commandline/49-micronucleus.rules
parent21cc37140b779db39a63ba7747ade08f99513594 (diff)
downloadmicronucleus-75d9e14fe513d1f04f605bc1159cb9a316e89209.tar.gz
micronucleus-75d9e14fe513d1f04f605bc1159cb9a316e89209.tar.bz2
micronucleus-75d9e14fe513d1f04f605bc1159cb9a316e89209.zip
commandline: no functional changes - improved readme info on configuring linux to not require root access, and included udev rules file - thanks @sodabrew!
Diffstat (limited to 'commandline/49-micronucleus.rules')
-rw-r--r--commandline/49-micronucleus.rules16
1 files changed, 16 insertions, 0 deletions
diff --git a/commandline/49-micronucleus.rules b/commandline/49-micronucleus.rules
new file mode 100644
index 0000000..bed33d6
--- /dev/null
+++ b/commandline/49-micronucleus.rules
@@ -0,0 +1,16 @@
+# UDEV Rules for Micronucleus boards including the Digispark.
+# This file must be placed at:
+#
+# /etc/udev/rules.d/49-micronucleus.rules (preferred location)
+# or
+# /lib/udev/rules.d/49-micronucleus.rules (req'd on some broken systems)
+#
+# After this file is copied, physically unplug and reconnect the board.
+#
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0753", MODE:="0666"
+KERNEL=="ttyACM*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0753", MODE:="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
+#
+# If you share your linux system with other users, or just don't like the
+# idea of write permission for everybody, you can replace MODE:="0666" with
+# OWNER:="yourusername" to create the device owned by you, or with
+# GROUP:="somegroupname" and mange access using standard unix groups.