Some Linux builds of Chromium and friends are often prone to not being able to open serial devices that by default belong to root. The recommended way to solve this is to add a udev rule overriding their mode to something more open like 0666.
For instance, adding the following to /etc/udev.d/99-heltec-v3.rules did the trick for me:
# Silicon Labs CP210x UART Bridge (Heltec V3)
SUBSYSTEM=="tty" ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", MODE="0666"
The specific values for the vendor and product ID will depend on the particular device being flashed. After that, one can reload the rules by running sudo udevadm trigger or by re-plugging the device.
I think this could be documented somewhere. Maybe in a small "troubleshooting" drop down near the flash button? 😄
Some Linux builds of Chromium and friends are often prone to not being able to open serial devices that by default belong to root. The recommended way to solve this is to add a udev rule overriding their mode to something more open like 0666.
For instance, adding the following to
/etc/udev.d/99-heltec-v3.rulesdid the trick for me:The specific values for the vendor and product ID will depend on the particular device being flashed. After that, one can reload the rules by running
sudo udevadm triggeror by re-plugging the device.I think this could be documented somewhere. Maybe in a small "troubleshooting" drop down near the flash button? 😄