From 17b4973d4724d90af00841f791a5472b4239ab04 Mon Sep 17 00:00:00 2001 From: Simon Werner Date: Wed, 25 Oct 2017 17:44:08 +1300 Subject: [PATCH] docs: Improved documentation for /dev/ttyUSB0 issues Improved documentation for /dev/ttyUSB0 issues. This occurred in Ubuntu, but I'm sure is applies to most distributions. Merges https://github.com/espressif/esp-idf/pull/1158 --- docs/get-started/linux-setup.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/get-started/linux-setup.rst b/docs/get-started/linux-setup.rst index 3fa563a4c..f4e624b22 100644 --- a/docs/get-started/linux-setup.rst +++ b/docs/get-started/linux-setup.rst @@ -70,6 +70,15 @@ ESP32 toolchain for Linux is available for download from Espressif website: Instead of ``/home/user-name`` there should be a home path specific to your installation. +Permission issues /dev/ttyUSB0 +------------------------------ + +With some Linux distributions you may get the ``Failed to open port /dev/ttyUSB0`` error message when flashing the ESP32. This can be solved by adding the current user to the ``dialout`` group, such as running the following command:: + + sudo adduser $USER dialout + + + Arch Linux Users ----------------