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

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User