usb - Does ubuntu store tty settings? - Ask Ubuntu
here story:
from fresh install of ubuntu use serial usb device. screen /dev/ttyusb0
goes fine , can interact device perfectly.
then unplug device, plug 1 (a 3g modem). again screen /dev/ttyusb0
, fine.
but then, plug again first device , screen /dev/ttyusb0
, got scrambled !
i supposing whatever reason tty parameters changed. there way ubuntu (or screen) store somewhere ? how can initial settings ?
so far tried:
- rebooting
- stty sane
found it.
two screen instance reading /dev/ttyusb0
removing them solved issue.
now, looking solution prevent me mistake again: https://serverfault.com/questions/811474/how-to-prevent-screen-to-open-the-same-serial-device-twice
Comments
Post a Comment