Skip to content

Instantly share code, notes, and snippets.

@smooker
Created March 2, 2026 13:54
Show Gist options
  • Select an option

  • Save smooker/b259183d4ba74d5829bf8826858a70ff to your computer and use it in GitHub Desktop.

Select an option

Save smooker/b259183d4ba74d5829bf8826858a70ff to your computer and use it in GitHub Desktop.
# Bluepill ttyACMTarg
# and run udevadm control --reload-rules
# udevadm trigger
# disconnect and connect again
ACTION!="add|change", GOTO="bluepill_rules_end"
SUBSYSTEM=="usb", ATTR{idVendor}=="0483", ATTR{idProduct}=="5740", MODE="0666", GROUP="plugdev", TAG+="uaccess"
SUBSYSTEM=="usb", ATTR{idVendor}=="0483", ATTR{idProduct}=="5740", MODE="0666", GROUP="plugdev", TAG+="uaccess"
ACTION=="add", KERNEL=="ttyACM*", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740", SYMLINK+="ttyACMTarg"
ACTION=="add", KERNEL=="ttyACM*", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740", SYMLINK+="ttyACMTarg%E{ID_SERIAL_SHORT}"
LABEL="bluepill_rules_end"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment