I've been researching embedded solutions, and I just burned a program to an Arduino Uno and it worked great after adding my user to the dialout group. That was needed because apparently the tty devices, particularly the Uno's /dev/ttyACM0 port requires membership in that group. Windows doesn't have that problem, so I'm wondering if we can specially listen for the Arduino Uno and grant any user write access to it, rather than restrict it? The Uno is essentially meant for users to write to it and this would be really helpful for students of embedded software development.
Also Adafruit, a popular hardware and education organization, wrote a special bootloader for their minimalistic Arduino unit that uses a USBtinySPI interface, and even with being a member of the dialout group, I needed to do really difficult research to allow my user write access to it. Can we have this write access a default privileged of the dialout or adm group? That would be an extremely kind gesture, these hardware folks went through a lot of hoops to get there design out there for people, and we seem to be inadvertently creating an extra hoop for these educators to cope with.
Here's the way to allow write access to Adafruit's trinket bootloader:
(/etc/udev/rules.d/30-allow_trinket.rules)
Code: Select all
SUBSYSTEM=="usb", ATTRS{idVendor}=="1781", ATTRS{idProduct}=="0c9f", GROUP="dialout", MODE="0664"