Ubuntu problem installing Teensy add on

Status
Not open for further replies.

PeterS

Member
Hi,
Where do I find the file "49-teensy.rules". When I tried to do the command "sudo cp 49-teensy.rules /etc/udev/rules.d/"
I got "cp: cannot stat ‘49-teensy.rules’: No such file or directory"

I am new to using Ubuntu but I used a Unix machine before the Windows/Apple juggernaut.

-Peter Sabin
 
Here is the version I've been using on Fedora for some time:

Code:
# 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 copied, physically unplug and reconnect Teensy.
#
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", ENV{MTP_NO_PROBE}="1"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", MODE:="0666"
KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", 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" 
#
#
# (old udev rules)
#SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="047[78]", MODE:="0666"
#SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="048[02]", MODE:="0666"
#KERNEL=="ttyACM*", SYMLINK+="ttyUSB00%n", MODE:="0666"
#
# old versions of librxtx within Arduino needed this extra symlink, new versions recognize "ttyACM"
#KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", SYMLINK+="ttyUSB00%n", MODE:="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
 
It's on the Teensyduino download page.

http://www.pjrc.com/teensy/td_download.html

Look on the right hand side near the top, where it says "Other Files:". Click the link "Linux udev rules". You might need to use File > Save Page As to save it as a file on your computer, which you can then copy to /etc/udev/rules.d/

Thanks for you help. I didn't see the file on the page when I downloaded the teensduino files.
Your company makes great products and I have enjoyed using them for several projects.
I hope you are making enough money for all the software that you produce.
The hardware is usually pretty simple to design, something I did for 40+ years.
The software is alway on going.

Keep up the good work

-Peter Sabin
 
Status
Not open for further replies.
Back
Top