nixos-config/externals/rules/adafruit.rules

14 lines
654 B
Plaintext
Raw Normal View History

2020-04-11 21:47:33 +00:00
# Make Trinket/Pro Trinket/Gemma/Flora programmable without running Arduino as root.
SUBSYSTEM=="usb", ATTRS{idProduct}=="0c9f", ATTRS{idVendor}=="1781", MODE="0660", GROUP="dialout"
# Blacklist Adafruit USB CDC boards from being manipulated by ModemManager.
# Fixes issue with hanging references to /dev/ttyACM* devices on Ubuntu 15.04.
# ATTRS{idVendor}=="239a", ENV{ID_MM_DEVICE_IGNORE}="1"
# Adafruit feather 32u4
SUBSYSTEM=="tty", ATTRS{idVendor}=="239a", ATTRS{idProduct}=="800c", TAG+="uaccess"
# Adafruit feather32 usb-serial interface (Silicon Labs CP2104)
SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", TAG+="uaccess"