3

I tried to setup raw serial communication over ttyusb0 and used stty to change baud rate and raw mode. Those settings were successful and it was visible after I checked ttyUSB0 again, so after

stty -F /dev/ttyUSB0 9600 raw cs8 -cstopb -parenb -icanon min 1 time 1
stty -a -F /dev/ttyUSB0

would give me what I wanted. But, now Im trying to revert these changes and it's not working. I set baud rate to 115200 but after restart, it's back to 9600 again. What may be the problem?

Jarmund
  • 6,277
  • 5
  • 38
  • 60
Laza
  • 31

0 Answers0