Timeline for avrdude: usbdev_open(): cannot open device: Permission denied
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 17, 2023 at 2:06 | comment | added | timemage | You can try sudo "${USER}/.arduino15/packages/arduino/hardware/megaavr/1.8.8/scripts/create_dfu_udev_rule" It may work. I can't practically do that for every version of every distribution of Linux in combination with every core version and executed from every command shell. In case this isn't clear, "${USER}" will evaluate to your user name. Or rather it will in bash. 1.8.8 is current as of this comment. | |
| Sep 16, 2023 at 22:11 | comment | converted from answer | S G | could u send the exact commands u used to fix the error? @nieomylnieja | |
| Jan 10, 2023 at 7:55 | comment | added | nieomylnieja | It worked! Thank you so much for that insight, I wouldn't have figured it out in a reasonable time on my own for sure, I just ran the script to add both tty and usb rules, and removed the one I made previously. I haven't tested if adding just the usb rule works but afair the perms on the tty device were alright (rw for the owner group) | |
| Jan 9, 2023 at 23:44 | history | edited | timemage | CC BY-SA 4.0 | Version number in directory explanation and typo fix. |
| Jan 9, 2023 at 23:32 | history | answered | timemage | CC BY-SA 4.0 |