By standard the UART interface is configured as serial console. If you want to use the UART interface for other things, e.g. for a GPS module, the standard function needs to be deactivated.
- Open the cmdline.txt file with the Nano text editor.
and remove the following part from the file.
The content of the file should look like this
Exit the editor with
ctrl
+x
and save the changes usingy
. - Open inittab
and search for the following line.
Insert a
#
at the beginning of the line to comment this line. Doing so the line should look like this.Exit the editor the same ways as in the previous step.
- From Kernel 3.18.x on the following step must be excecuted aditionally.
Search for the following line and remove the
#
at the beginning of the line.Exit the editor the same ways as in the previous step.
Show kernel version
uname -a
- Restart RPI.