Skip to content

Instantly share code, notes, and snippets.

@jszakmeister
Created December 4, 2015 13:20
Show Gist options
  • Save jszakmeister/53c2ac3f7ef8a395f35a to your computer and use it in GitHub Desktop.
Save jszakmeister/53c2ac3f7ef8a395f35a to your computer and use it in GitHub Desktop.
# Create a symlink that uses the serial number from the
# FTDI-based USB-to-Serial converter. Some distros have
# a version with the serial in /dev/serial/by-id, but I
# don't find it quite as friendly as this.
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", SYMLINK+="ttyUSB-ftdi-$attr{serial}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment