[FE training-materials-updates] Add user to the dialout group

Michael Opdenacker michael.opdenacker at free-electrons.com
Thu Oct 4 06:56:52 CEST 2012

Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=ecee6287cbf8a68fb8b98e21c1e3cfa1a19e5879


commit ecee6287cbf8a68fb8b98e21c1e3cfa1a19e5879
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Thu Oct 4 05:36:17 2012 +0200

    Add user to the dialout group
    To get access to /dev/ttyUSB0


 .../kernel-module-environment.tex                  |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/labs/kernel-module-environment/kernel-module-environment.tex b/labs/kernel-module-environment/kernel-module-environment.tex
index 02e01dc..e95e43c 100644
--- a/labs/kernel-module-environment/kernel-module-environment.tex
+++ b/labs/kernel-module-environment/kernel-module-environment.tex
@@ -127,7 +127,16 @@ To communicate with the board through the serial port, install a serial communic
 sudo apt-get install picocom
-Run \code{picocom -b 115200 /dev/ttyUSB0}, to start a serial
+If you run \code{ls -l /dev/ttyUSB0}, you can also see that only
+\code{root} and users belonging to the \code{dialout} group have
+read and write access to this file. Therefore, you need to add your user
+to the \code{dialout} group:
+sudo adduser <user> dialout
+Now, you can run \code{picocom -b 115200 /dev/ttyUSB0}, to start serial
 communication on \code{/dev/ttyUSB0}, with a baudrate of \code{115200}. If
 you wish to exit \code{picocom}, press \code{[Ctrl][a]} followed by

More information about the training-materials-updates mailing list