Skip to content

Instantly share code, notes, and snippets.

@cdriehuys
Created August 3, 2021 15:48
Show Gist options
  • Save cdriehuys/f012b440b297e1ba84e83509f4d954cd to your computer and use it in GitHub Desktop.
Save cdriehuys/f012b440b297e1ba84e83509f4d954cd to your computer and use it in GitHub Desktop.
Grant USB access for flashing firmware of Prusa MK3S
#!/bin/bash
# Copied from a comment by @Vedrillan
# https://github.com/prusa3d/PrusaSlicer/issues/1055#issuecomment-633557131
echo 'SUBSYSTEMS=="usb", ATTRS{idVendor}=="2c99" TAG+="uaccess", TAG+="udev-acl"' | sudo tee /etc/udev/rules.d/20-prusa.rules
sudo udevadm control --reload-rules && sudo udevadm trigger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment