Skip to content

Instantly share code, notes, and snippets.

@jmpinit
Last active November 29, 2022 21:54
Show Gist options
  • Save jmpinit/476c359527831a23fa5f2f8d0aef791e to your computer and use it in GitHub Desktop.
Save jmpinit/476c359527831a23fa5f2f8d0aef791e to your computer and use it in GitHub Desktop.
SUBSYSTEM=="tty", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fd92", SYMLINK+="ttyAxiDraw", RUN+="/bin/sh -c 'socat -s /dev/ttyS0,raw,echo=0,ignoreeof,iexten=0,b115200 /dev/ttyAxiDraw,raw,echo=0,ignoreeof,iexten=0,b115200'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment