Manjaro Linux - "cannot open device: " when using AVRISP mkII

Hi all,
I have installed the latest Arduino IDE on an new Manjaro Linux installation, and am unable to program a device via the AVRISP mkII programmer. I am able to program an UNO board directly without the programmer. When I attempted to program using the AVRISP mkII, I get this message:

avrdude: usbdev_open(): cannot open device: Permission denied
avrdude: opening programmer "stk500v2" on port "usb" failed
An error occurred while uploading the sketch

I initially had similar issues on my previous Linux Mint installation, but messages usually include the port identifier, such as /dev/ttyACM0. In this case there aren't.

These are the contents of 99-avr.rules:

# Programmers for avrdude
ATTR{idVendor}=="03eb", ATTR{idProduct}=="2104", GROUP="uucp", MODE="0660" # AVRISP mkII
ATTR{idVendor}=="03eb", ATTR{idProduct}=="2107", GROUP="uucp", MODE="0660" # AVR-Dragon
ATTR{idVendor}=="03eb", ATTR{idProduct}=="2103", GROUP="uucp", MODE="0660" # JTAG ICE mkII
ATTR{idVendor}=="03eb", ATTR{idProduct}=="2106", GROUP="uucp", MODE="0660" # STK600
ATTR{idVendor}=="16c0", ATTR{idProduct}=="05dc", GROUP="uucp", MODE="0660" # USBASP von www.fischl.de
ATTR{idVendor}=="03eb", ATTR{idProduct}=="2ffa", GROUP="uucp", MODE="0660" # AT90USB
ATTR{idVendor}=="10c4", ATTR{idProduct}=="ea60", GROUP="uucp", MODE="0660" # AVR910
ATTR{idVendor}=="03eb", ATTR{idProduct}=="2105", GROUP="uucp", MODE="0660" # AVR ONE
ATTR{idVendor}=="03eb", ATTR{idProduct}=="210d", GROUP="uucp", MODE="0660" # Atmel XPLAIN CDC Gateway
ATTR{idVendor}=="03eb", ATTR{idProduct}=="2ffb", GROUP="uucp", MODE="0660" # AT90USB AVR DFU bootloader
ATTR{idVendor}=="1781", ATTR{idProduct}=="0c9f", GROUP="uucp", MODE="0660" # usbtiny

Any ideas anyone?

(previous info deleted by me - I didn't read the whole post)

Try this link for Linux permissions...

We're way past this... All tty* references have the uucp group assignments (manjaro equivalent of dialout) and I am a user of this group as well. The odd thing is that in the error message line,

avrdude: usbdev_open(): cannot open device: Permission denied

a device is not identified. I have dealt with the permissions before, but I have never seen this.

Then you recognize the issue is not avrdude failing to gain port access, rather your system denying access. Maybe udev - that seems to be a theme with usb products.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.