arduino / lab-micropython-installer

This repository hosts the entire code of the Arduino MicroPython Installer tool
GNU Affero General Public License v3.0
16 stars 2 forks source link

Add installation instructions (or auto-install) for udev rules on Linux #22

Open laurensvalk opened 9 months ago

laurensvalk commented 9 months ago

It would be nice to display instructions to install udev rules, or perhaps even install them as part of the debian package.

Adding the following rule worked for the Arduino Nano ESP32:

# Arduino Nano ESP32 in firmware update mode (DFU mode)
SUBSYSTEM=="usb", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="0070", TAG+="uaccess"

Out of the box on Ubuntu 22.04 I got the following error, which may be hard to understand for someone who hasn't changed udev rules before.

Screenshot from 2023-12-19 13-49-28

sebromero commented 9 months ago

Thank you @laurensvalk for reporting! We will look into it.

pkvil commented 3 months ago

I had the same issue on Debian 12, and agree that having instructions would have been very helpful. I ran this script: https://github.com/arduino/ArduinoCore-mbed/blob/main/post_install.sh which worked for me.