49-teensy.rules 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # UDEV Rules for Teensy boards, http://www.pjrc.com/teensy/
  2. #
  3. # The latest version of this file may be found at:
  4. # http://www.pjrc.com/teensy/49-teensy.rules
  5. #
  6. # This file must be placed at:
  7. #
  8. # /etc/udev/rules.d/49-teensy.rules (preferred location)
  9. # or
  10. # /lib/udev/rules.d/49-teensy.rules (req'd on some broken systems)
  11. #
  12. # To install, type this command in a terminal:
  13. # sudo cp 49-teensy.rules /etc/udev/rules.d/49-teensy.rules
  14. #
  15. # After this file is installed, physically unplug and reconnect Teensy.
  16. #
  17. ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="0478", ENV{ID_MM_DEVICE_IGNORE}="1"
  18. ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="0478", ENV{MTP_NO_PROBE}="1"
  19. SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="0478", MODE:="0666"
  20. KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="0478", MODE:="0666"
  21. # If you share your linux system with other users, or just don't like the
  22. # idea of write permission for everybody, you can replace MODE:="0666" with
  23. # OWNER:="yourusername" to create the device owned by you, or with
  24. # GROUP:="somegroupname" and mange access using standard unix groups.
  25. #
  26. #
  27. # If using USB Serial you get a new device each time (Ubuntu 9.10)
  28. # eg: /dev/ttyACM0, ttyACM1, ttyACM2, ttyACM3, ttyACM4, etc
  29. # apt-get remove --purge modemmanager (reboot may be necessary)
  30. #
  31. # Older modem proding (eg, Ubuntu 9.04) caused very slow serial device detection.
  32. # To fix, add this near top of /lib/udev/rules.d/77-nm-probe-modem-capabilities.rules
  33. # SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", GOTO="nm_modem_probe_end"
  34. #