A home of miscellaneous projects by Paul Philippov.


How to fix permission on a USB port for CH341A programmer

echo '# udev rule that sets permissions for CH341A programmer in Linux.
# Put this file in /etc/udev/rules.d and reload udev rules or reboot to install
SUBSYSTEM=="usb", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="5512", MODE="0666"' | \
  sudo tee /etc/udev/rules.d/99-ch341a-prog.rules
sudo udevadm control --reload-rules && sudo udevadm trigger