serial speed set incorrectly after brute connection loss
Brought to you by:
neundorf
I'm using cutecom together with a FTDI ft232 chip (device /dev/ttyUSB0).
Sometimes when I connect I realize, the uart speed is incorrectly set to 3000000 Baud/s no matter what speed I requested.
This behavior is the same for subsequent attempts to open the port. Only after I connect once with a different speed, I can connect with the speed I actually want.
This seems to happen after the connection got interrupted (eg by unplugging the usb cable)
I don't know how to properly provide a patch, but I got around this problem fixing some lines in the source. Attached is what I believe is a patch. In any case, you can clearly see, what I did to circumvent the problem here.
Thanks,
Sebastian.
patch, intruducing the manual workaround - not fixing the problem
Unfortunately I'm now experiencing Bug number 3485515 (wrapped lines). I did not have this problem with the precompiled version 0.22.0 from the ubuntu repositories. When I compile 0.22.0 myself, some strange newlines are introduced now and then.
Unfortunately I'm now experiencing Bug number 3485515 (wrapped lines). I did not have this problem with the precompiled version 0.22.0 from the ubuntu repositories. When I compile 0.22.0 myself, some strange newlines are introduced now and then.