Here is the story:
From a fresh install of ubuntu I use a serial to usb device.
screen /dev/ttyUSB0 everything goes fine and I can interact with the device perfectly.
Then I unplug this device, plug another one (a 3g modem). Again
screen /dev/ttyUSB0 and everything is fine.
But then, I plug again the first device and do the
screen /dev/ttyUSB0 and everything got scrambled !
I am supposing that for whatever reason the tty parameters changed. Is there a way that ubuntu (or screen) store it somewhere ? How can I get back to the initial settings ?
So far I tried:
- stty sane