Skip to content

Instantly share code, notes, and snippets.

@mathieue
Created August 7, 2012 21:21
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save mathieue/3289486 to your computer and use it in GitHub Desktop.
Save mathieue/3289486 to your computer and use it in GitHub Desktop.
socat read tty serial and provide a server to read serial output
socat -d -d tcp-l:1234,reuseaddr,fork file:/dev/ttyUSB0,nonblock,raw,echo=0,waitlock=/var/run/tty,min=0,b38400
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment