summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle K <kylek389@gmail.com>2017-06-14 01:10:09 -0500
committerKyle K <kylek389@gmail.com>2017-06-14 01:10:09 -0500
commitaca700756ec759fa6eaec4b2d752d5e115789326 (patch)
treead0545d6eff40336e07a031884dfa92faeee197a
parent7ee50b7b7819cd75ed3636e541c2050f62945ce7 (diff)
downloadconfigs-aca700756ec759fa6eaec4b2d752d5e115789326.tar.gz
configs-aca700756ec759fa6eaec4b2d752d5e115789326.tar.bz2
configs-aca700756ec759fa6eaec4b2d752d5e115789326.zip
teensy udev usb rule
-rw-r--r--udev/49-teensy.rules35
-rw-r--r--udev/70-vboxdrv.rules2
2 files changed, 37 insertions, 0 deletions
diff --git a/udev/49-teensy.rules b/udev/49-teensy.rules
new file mode 100644
index 0000000..faa699c
--- /dev/null
+++ b/udev/49-teensy.rules
@@ -0,0 +1,35 @@
+# UDEV Rules for Teensy boards, http://www.pjrc.com/teensy/
+#
+# The latest version of this file may be found at:
+# http://www.pjrc.com/teensy/49-teensy.rules
+#
+# This file must be placed at:
+#
+# /etc/udev/rules.d/49-teensy.rules (preferred location)
+# or
+# /lib/udev/rules.d/49-teensy.rules (req'd on some broken systems)
+#
+# To install, type this command in a terminal:
+# sudo cp 49-teensy.rules /etc/udev/rules.d/49-teensy.rules
+#
+# After this file is installed, physically unplug and reconnect Teensy.
+#
+ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", ENV{ID_MM_DEVICE_IGNORE}="1"
+ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789A]?", ENV{MTP_NO_PROBE}="1"
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789ABCD]?", MODE:="0666"
+KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", MODE:="0666"
+#
+# 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.
+#
+#
+# If using USB Serial you get a new device each time (Ubuntu 9.10)
+# eg: /dev/ttyACM0, ttyACM1, ttyACM2, ttyACM3, ttyACM4, etc
+# apt-get remove --purge modemmanager (reboot may be necessary)
+#
+# Older modem proding (eg, Ubuntu 9.04) caused very slow serial device detection.
+# To fix, add this near top of /lib/udev/rules.d/77-nm-probe-modem-capabilities.rules
+# SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", GOTO="nm_modem_probe_end"
+#
diff --git a/udev/70-vboxdrv.rules b/udev/70-vboxdrv.rules
new file mode 100644
index 0000000..f822e09
--- /dev/null
+++ b/udev/70-vboxdrv.rules
@@ -0,0 +1,2 @@
+SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor vboxusers"
+SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor vboxusers"