Make stty setting permanent

2

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?

Laza

Posted 2016-07-02T13:03:29.317

Reputation: 21

The thing is, after doing re-instalation on usbserial modul http://superuser.com/a/596911/612780

I/m still getting the same values..

– Laza – 2016-07-02T13:16:20.367

No answers