Hello.
I am trying to program Atmel microcontroler with USBtiny programmer from Adafruit.
Everything is working for me but I can't manage to get proper rights for AVRDUDE upload utility to work with USBtiny.
I get this error message:
avrdude: error: usbtiny_transmit: error sending control message: Operation not permitted
avrdude: initialization failed, rc=-1
When I use sudo command to execute AVRDUDE, it works.
But it is not usable for me because I want to call this utility from IDE, so typing password everytime... can't be.
USBtiny device ID is:
Bus 002 Device 025: ID 1781:0c9f Multiple Vendors USBtiny
I added to folder etc/udev/rules.d file named 41-usbtiny.rules which contains line
SUBSYSTEM=="usb", ATTR{idProduct}=="0c9f", ATTRS{idVendor}=="1781", MODE="0666"
then commands
sudo chmod a+r /etc/udev/rules.d/41-usbtiny.rules
sudo restart udev
as this is solution adviced by Adafruit themselves for Ubuntu users.
But does not work for me.
I tried line
SUBSYSTEM=="usb", SYSFS{idVendor}=="1781", SYSFS{idProduct}=="0c9f", GROUP="adm", MODE="0666"
I tried to copy rules file to folder lib/udev/rules.d, as these were solutions that worked for somebody,
but not for me.
Can you please give me some hint?
Thank you very much, Chompey (Czech Republic)


