udev rules for Arduino are worse than the windows experience

Bug #1445155 reported by Xcad Lex on 2015-04-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Puredyne Live
Undecided
Unassigned

Bug Description

The majority of developers would likely consider some linux variant to be the go-to developer OS, given it's package manager, open source nature, and number of available servers, tools, libraries and helpful community members.

BUT, by default, an embedded solution developer will be prevented write access to the Arduino, an extremely popular education and development tool for the embedded world.

The problem is that /dev/ttyAMC0 is what an Arduino unit shows up as, and you need to manually add yourself to the dialout group to write to it. This problem should be looked at. The adm group could perhaps have write privilege? Or could the dialout group be a default new admin user group? Perhaps a set of udev rules could be created to allow write access for any user.

There's another issue, a chip burner made by an education group, Adafruit, has made a minimalist variation of the Arduino, and it seems all users except root are denied write access to it (even dialout group members!). I don't know how to access this device from /dev, but the below udev rule will allow members of the dialout group write access (notice the vendor id and product).

SUBSYSTEM=="usb", ATTRS{idVendor}=="1781", ATTRS{idProduct}=="0c9f", GROUP="dialout", MODE="0666"

If you get many reports like this from vendors, then perhaps a white list is in order, which could eventually develop into something that USB product vendors can specify as 'flag for write access by default' or something to that effect.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers