Skip to content

Instantly share code, notes, and snippets.

@tedkulp
Created May 1, 2015 11:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tedkulp/6ad6a6854d9d83b99083 to your computer and use it in GitHub Desktop.
Save tedkulp/6ad6a6854d9d83b99083 to your computer and use it in GitHub Desktop.
Set /dev path on Raspberry Pi based on what USB port it's plugged into
SUBSYSTEM=="tty", ATTRS{devpath}=="1.2", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", SYMLINK+="topmatrix"
SUBSYSTEM=="tty", ATTRS{devpath}=="1.3", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", SYMLINK+="bottommatrix"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment