blob: f82a79c62771a351747a445a503ab760b62d743d [file] [log] [blame]
Brian Silverman20ce05e2017-06-24 14:27:26 -07001# To make Teensy user-accessible in FreeBSD, it's necessary (as root)
2# to put the attached file in the directory /usr/local/etc/devd, and
3# then type "/etc/rc.d/devd restart". Then when the Teensy is
4# attached, the device will be readable/writable by everybody.
5#
6# contributed by George Mitchell, george at m5p dot com
7#
8# Change permissions for Teensy device
9notify 100 {
10 match "system" "USB";
11 match "subsystem" "DEVICE";
12 match "type" "ATTACH";
13 match "vendor" "0x16c0";
14 match "product" "0x0478";
15# Select appropriate action
16# action "chown YOURUSERNAME /dev/$cdev";
17# action "chgrp YOURGROUPNAME /dev/$cdev";
18 action "chmod 666 /dev/$cdev";
19};