Serial port on Linux ttyUSBx

Set the baud speed: stty -F /dev/ttyUSB0 9600

Get the port info: stty < /dev/ttyUSB0

Use the stty command to set the parameters of your serial something like:
# hardware handshake
stty 1200 cs7 parenb sane -echo -echok -icrnl -ixon -icanon -opost -onlcr time 3 min 0 </dev/ttyxx
# software handshake
stty 9600 cs8 -parenb -echo -echok -icrnl ixon -icanon -opost -onlcr time 3 min 0 </dev/ttyxx
The key parameters you’re looking for are time 3 and min 0