Dear all,
I have a Raspberry Pi 4 and I have installed Ubuntu Mate 64bits 20.04.2 LTS.
I tried to use the serial on pins 8 and 10 but no luck at all.
So far I have done the following steps (files inside the /boot/firmware):
-
added my user to the related groups:
sudo usermod -a -G dialout ang
sudo usermod -a -G tty ang
-
disable getty
sudo systemctl stop [email protected]
sudo systemctl disable [email protected]
-
edit usercfg.txt like:
enable_uart=1
dtoverlay=pi3-disable-bt
-
leave syscfg.txt as it is:
enable_uart=0
dtparam=audio=on
dtparam=i2c_arm=on
dtparam=spi=on
cmdline=cmdline.txt
-
leave cmdline.txt as it is like:
net.ifnames=0 dwc_otg.lpm_enable=0 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc quiet splash
-
I haven't touched the config.txt
When I execute the ls -l /dev/
I get:
lrwxrwxrwx 1 root root 7 Apr 1 2020 serial0 -> ttyAMA0
lrwxrwxrwx 1 root root 5 Apr 1 2020 serial1 -> ttyS0
When I run something like picocom --baud 9600 /dev/ttyS0
I get:
FATAL: failed to add port: Filedes is not a tty
I have connected a jumper between pins 8 and 10 to get a local loop.
Nothing is working. Cold yo help me please?