0

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:~ $ 
1
  • 2
    Instead of using input redirection, use the -F option to specify the device per the man page. Commented Jan 21 at 6:02

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.