On Wed, Mar 28, 2012 at 10:09 PM, Michael Biebl <[email protected]> wrote:
> In general, I think the idea is fine.
> Given that USBtinyISP is not the only USB programmer, we'd probably need
> to extend that udev rules file for new devices [1], unless there is a
> way to generically detect if the attached device is a programmer.
> [1]
> http://www.mikrocontroller.net/articles/AVRDUDE#Aufruf_unter_Linux_als_user_.28non-root.29

Here are some more [1]:

# Atmel Corp. JTAG ICE mkII
SUBSYSTEM=="usb", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2103",
MODE="660", GROUP="dialout"
# Atmel Corp. AVRISP mkII
SUBSYSTEM=="usb", ATTR{idVendor}=="03eb", SYSFS{idProduct}=="2104",
MODE="660", GROUP="dialout"
# Atmel Corp. Dragon
SUBSYSTEM=="usb", ATTR{idVendor}=="03eb", SYSFS{idProduct}=="2107",
MODE="660", GROUP="dialout"

and for the sake of completeness, from your link [1], above:
# usbprog bootloader
SUBSYSTEM=="usb", ATTRS{idVendor}=="1781", ATTRS{idProduct}=="0c62",
GROUP="dialout", MODE="0660"

# USBasp programmer
SUBSYSTEM=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc",
GROUP="dialout", MODE="0660"

# USBtiny programmer
SUBSYSTEM=="usb", ATTRS{idVendor}=="1781", ATTRS{idProduct}=="0c9f",
GROUP="dialout", MODE="0660"


I took "dialout" which was used on the blog post as well. I honestly
don't know how much that matters and still don't understand what is
the "correct" group (or if it even matters).

[1] http://steve.kargs.net/bacnet/avr-isp-mkii-on-ubuntu-hardy/



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to