-
-
Save toke/52aecec1f2320a2fc67f to your computer and use it in GitHub Desktop.
Udev rules for Particle devices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# UDEV Rules for Particle boards | |
# | |
# This will allow reflashing with DFU-util without using sudo | |
# | |
# The latest version of this file may be found at: | |
# https://gist.github.com/monkbroc/b283bb4da8c10228a61e | |
# | |
# This file must be placed at: | |
# | |
# /etc/udev/rules.d/50-particle.rules (preferred location) | |
# | |
# To install, type this command in a terminal: | |
# sudo cp 50-particle.rules /etc/udev/rules.d/50-particle.rules | |
# | |
# After this file is installed, physically unplug and reconnect the | |
# Particle device. | |
# | |
# Core | |
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="607[df]", GROUP="plugdev", MODE="0666" | |
# Photon/P1/Electron | |
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2b04", ATTRS{idProduct}=="[cd]00?", GROUP="plugdev", 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) | |
# | |
# CREDITS: | |
# | |
# Edited by Julien Vanier | |
# | |
# This file is derived from the Teensy UDEV rules | |
# http://www.pjrc.com/teensy/49-teensy.rules | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment