Skip to content

Instantly share code, notes, and snippets.

@agathauy
Last active September 5, 2019 06:23
Show Gist options
  • Save agathauy/73cecf7fb7fe89061cefecfd1b538238 to your computer and use it in GitHub Desktop.
Save agathauy/73cecf7fb7fe89061cefecfd1b538238 to your computer and use it in GitHub Desktop.
serial port on ubuntu bash
@agathauy
Copy link
Author

agathauy commented Sep 3, 2019

sudo chmod 666 /dev/ttyS17
stty -F /dev/ttyS17 -a
stty -F /dev/ttyS17 sane 9600

sudo chmod 666 /dev/ttyS16
stty -F /dev/ttyS16 -a
stty -F /dev/ttyS16 sane 9600

sudo chmod 666 /dev/ttyS15
stty -F /dev/ttyS15 -a
stty -F /dev/ttyS15 sane 9600

@agathauy
Copy link
Author

agathauy commented Sep 5, 2019

sudo chmod 666 /dev/ttyS18
stty -F /dev/ttyS18 -a
stty -F /dev/ttyS18 sane 9600

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment