From: Simon Werner Date: Wed, 25 Oct 2017 04:44:08 +0000 (+1300) Subject: docs: Improved documentation for /dev/ttyUSB0 issues X-Git-Tag: v3.1-dev~48^2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17b4973d4724d90af00841f791a5472b4239ab04;p=esp-idf 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 --- diff --git a/docs/get-started/linux-setup.rst b/docs/get-started/linux-setup.rst index 3fa563a4ca..f4e624b22f 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 ----------------