Brand new laptop, Ubuntu 22.04, Arduino IDE 2.0.3. First time running IDE. System file manager displays board as USB storage device. IDE will not upload to board. How to get around this.
Which board?
Solved:
bill@bill-Inspiron-16-Plus-7620:~$ ls -l /dev/ttyACM*
crw-rw---- 1 root dialout 166, 0 Dec 13 20:37 /dev/ttyACM0
bill@bill-Inspiron-16-Plus-7620:~$ sudo chmod 777 /dev/ttyACM0
[sudo] password for bill:
bill@bill-Inspiron-16-Plus-7620:~$ ls -l /dev/ttyACM*
crwxrwxrwx 1 root dialout 166, 0 Dec 13 20:37 /dev/ttyACM0
I should have remembered this from the last time I changed computers.
Uploads are now OKAY.
Great. I still would like to know which board
Would it not be better to add yourself to the dialout group instead of using chmod? One advantage I can see that your board might one day be /dev/ttyACM1 and it again will not work.
You can mark your topic as solved by clicking the solution button under the most useful post.
Thank you for quick reply.
Adafruit Metro M4 Grand Central board.
I did add myself to the dialout group but that did not work for some reason.
I added a USB rule and now most boards are recognized:
crw-rw---- 1 root dialout 4, 73 Dec 14 14:00 ttyS9
crw-rw-rw- 1 root dialout 188, 0 Dec 14 15:15 ttyUSB0
bill@bill-Inspiron-16-Plus-7620:/dev$ pwd
/dev
bill@bill-Inspiron-16-Plus-7620:/dev$
bill@bill-Inspiron-16-Plus-7620:/dev$
bill@bill-Inspiron-16-Plus-7620:/dev$ cat /etc/udev/rules.d/50-myusb.rules
SUBSYSTEMS=="usb",GROUP="bill",MODE="0666"
bill@bill-Inspiron-16-Plus-7620:/dev$
Then only Arduino UNO boards could not find a port.
$ sudo apt remove brltty
This solved the issue.
Now I believe the issues are resolved.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.