Quick question
I'm recovering from breakdown on my RPi 4. Old RPi was scrapped and copying all setup on new RPi. Unfortunatelly setap which use to work now does not respond. I have noticed settings of my serial0 vary depending on command I'm giving. What may be reason baudrate with stty command is 9600 (correct) and sudo stty gives baud 38400 (too high)?
Need to mention cmdline.txt include line console=serial0,9600 console=tty1
.
a@RPi:~ $ stty</dev/serial0
speed 9600 baud; line = 0;
min = 0; time = 0;
-brkint -icrnl -imaxbel iutf8
-opost -onlcr
-isig -icanon -iexten -echo -echoe -echok -echoctl -echoke
a@RPi:~ $ sudo stty</dev/serial0
speed 38400 baud; line = 0;
-brkint -imaxbel
a@RPi:~ $