mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
doc: Unify the two sections about the "dialout" group on Linux
An addition to https://github.com/espressif/esp-idf/pull/1158
This commit is contained in:
parent
05dd46cd72
commit
4b8c90bce0
@ -54,10 +54,12 @@ MacOS ::
|
||||
ls /dev/cu.*
|
||||
|
||||
|
||||
.. _linux-dialout-group:
|
||||
|
||||
Adding user to ``dialout`` on Linux
|
||||
-----------------------------------
|
||||
|
||||
The currently logged user should have read and write access the serial port over USB. This is done by adding the user to ``dialout`` group with the following command::
|
||||
The currently logged user should have read and write access the serial port over USB. On most Linux distributions, this is done by adding the user to ``dialout`` group with the following command::
|
||||
|
||||
sudo usermod -a -G dialout $USER
|
||||
|
||||
|
@ -73,10 +73,7 @@ ESP32 toolchain for Linux is available for download from Espressif website:
|
||||
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
|
||||
|
||||
With some Linux distributions you may get the ``Failed to open port /dev/ttyUSB0`` error message when flashing the ESP32. :ref:`This can be solved by adding the current user to the dialout group<linux-dialout-group>`.
|
||||
|
||||
|
||||
Arch Linux Users
|
||||
|
Loading…
Reference in New Issue
Block a user