Created
March 4, 2020 23:10
-
-
Save buzztiaan/5b79a56802f990114290d2b09fc9dd01 to your computer and use it in GitHub Desktop.
chisight's serialport locking fifo bash oneliner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USB=ACM0; FILE=$(mktemp -u -t $USB_XXXXXXXXXX); mkfifo $FILE; stty -F /dev/tty$USB cs8 115200; tail -f $FILE > /dev/tty$USB & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment