From 77a14f3c7b7ab081ef84020fe95fde4c6dbde2ae Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 23 Jun 2017 13:53:36 +0300 Subject: [PATCH] Note about "dialout" group for Ubuntu/Debian users; udev rule for USBasp V2.0 // Resolve #979 --- docs | 2 +- scripts/99-platformio-udev.rules | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs b/docs index 3967622b..d16893f5 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 3967622b034e467422c7024897c133054dd7e63d +Subproject commit d16893f5c94ca765adf86a409d87ab7deca23012 diff --git a/scripts/99-platformio-udev.rules b/scripts/99-platformio-udev.rules index 7c7b410a..aa8e868f 100644 --- a/scripts/99-platformio-udev.rules +++ b/scripts/99-platformio-udev.rules @@ -31,6 +31,10 @@ # sudo udevadm control --reload-rules # sudo udevadm trigger # +# Ubuntu/Debian users may need to add own “username” to the “dialout” group if +# they are not “root”, doing this issuing a +# sudo usermod -a -G dialout yourusername +# # After this file is installed, physically unplug and reconnect your board. # CP210X USB UART @@ -65,6 +69,9 @@ SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374?", MODE:="066 # USBtiny SUBSYSTEMS=="usb", ATTRS{idProduct}=="0c9f", ATTRS{idVendor}=="1781", MODE="0666" +# USBasp V2.0 +SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc", MODE:="0666" + # Teensy boards 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"