Go Down

Topic: averdude requires sudo for USBasp - a fix (Read 1 time) previous topic - next topic

celem

The fact is that, unless run as sudo (in Debian), averdude fails to find the USBasp programmer. Entering the password for sudo gets to be a pain. There is a fix. The site at the link below lists the cure - a new entry in /etc/udev/rules.d
http://mightyohm.com/blog/2010/03/run-avrdude-without-root-privs-in-ubuntu/

That site's fix is for the USBTinyISP programmer. For the USBasp programmer, in a new file /etc/udev/rules.d/10-usbasp.rules
insert:
SUBSYSTEM=="usb", SYSFS{idVendor}=="16c0", SYSFS{idProduct}=="05dc", GROUP="adm", MODE="0666

Caveat emptor:
If this scares you or you are too unfamiliar with the udev system, then don't do it and continue to use the sudo command. Making a mistake can screw up your system.

Go Up