avrdude: usbdev_open(): WARNING: failed to set configuration 1: Device or resour

Hi!

I get this error when I am sending code to Arduino uno wifi rev2:

avrdude: usbdev_open(): WARNING: failed to set configuration 1: Device or resource busy
avrdude: WARNING: invalid value for unused bits in fuse "fuse5", should be set to 1 according to datasheet
This behaviour is deprecated and will result in an error in future version
You probably want to use 0xcd instead of 0xc9 (double check with your datasheet first).

Is there something I can do?

ttyACM0:
crw-rw-r-- 1 root plugdev 166, 0 huhti 5 11:35 /dev/ttyACM0

in udev/rules.d:
ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2145", MODE="0660", GROUP="plugdev"

Br.
Kimmo

Did you try restarting your computer? Sometimes the ports will get stuck in a state that makes it so you can't upload. Restarting the computer fixes the issue.

Hi!

Jep, many times, but same happens again. I am using Linux Mint 18.1. With Win10 everything is fine. So I think there is some problem with port permissions (perhaps).

Br.
Kimmo