Portent a x8 serial communication

Hello,
I had a Portenta x8 with a breakout board. I wondered how to use the 2 UARTs namely /dev/ttymxc3 on UART4 and /dev/ttymxc1 on UART1 available to the user on the Linux side. I tried to use the "periphery" library and found an error below:


I wondered if I need to enable the serial device before using it? However, I don't know how to enable it on the Linux system. Has anyone encountered a similar problem?
Best

Your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for advice on (nor for problems with) your project.

I used command
sudo chmod 666 /dev/ttymxc1
for my project