]> granicus.if.org Git - esp-idf/commitdiff
docs: Improved documentation for /dev/ttyUSB0 issues
authorSimon Werner <psiphi75@users.noreply.github.com>
Wed, 25 Oct 2017 04:44:08 +0000 (17:44 +1300)
committerAngus Gratton <gus@projectgus.com>
Thu, 16 Nov 2017 23:43:02 +0000 (10:43 +1100)
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

index 3fa563a4ca060aa5675a964863610a1f41a9b38c..f4e624b22f38f79fb8e10f6963305ea85d9c20a4 100644 (file)
@@ -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
 ----------------