Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4825

Interfacing (DSI, CSI, I2C, etc.) • Re: What is the fastest baudrate for RPi Zero for ttyAMA0 (PL011)?

$
0
0
for some reason i have to run the same program as root or else i can't access the serial port
by default, console=serial0 is in cmdline.txt, a login prompt is ran on the uart, and only root can open the serial port

and things will malfunction in fun ways if you try to open the port as root, because 2 programs are accessing it at once, and it might even be changing the baud rate on you

remove the console=serial0 and reboot, and the permissions should change, and allow non-root access

Statistics: Posted by cleverca22 — Fri Apr 12, 2024 4:35 am



Viewing all articles
Browse latest Browse all 4825

Trending Articles