Linux Mint 21 port problem with Arduino Nano

Linux Mint 21 port problem with Arduino Nano

Hello Arduino gurus, I hope you can help me with my problem.

I have recently upgraded Lunux Mint to 21 and found out that my Arduino IDE is not showing ports.
First - the ttyUSB0 port is shown, but I couldn't upload anything to Arduino UNO connected to it. I have solved this problem by adding user to dailout group. The same is for Arduino MKR WIFI 1010.

When I connect my Arduino Nano to USB as before, port shows for a second, then it disappears. I have check the USB cable, use different Arduino Nano, reinstall Linux Mint to Mate desktop, nothing helps.

Thanks in advance for your help.

Are you using appimage for run the IDE?

If so, you could try with flatpak.

You need to be a member of the dialout group.
Type 'groups', is 'dialout' there ?
sudo usermod -a -G tty yourUserName -
sudo usermod -a -G tty gil (example on my machine)
sudo usermod -a -G dialout yourUserName
Log off and log on again for the changes to take effect.

If you run the dmesg, is there any reference to BRLTTTY? If yes, uninstall BRLTTY or create udev rules to disable it. It has been mentioned a few times on the forum, a search for BRLTTY should give you the pointers how to do it.

Note that dmesg output can be very long; I'm not sure when BRLTTY will show up, possibly just after the detection of your board. In that case, you can use dmesg -w (use <ctrl>C to abort).

2 Likes

Brilliant, uninstalling BRLTTTY worked! Thank you very much for the pointer!

Thank you for idea, but I tried both ways of installation, with file and with flatpack...

I had the same problem. I removed the BRLTTY and typed
groups
in the terminal to see no dialout in the list.
I put
sudo usermod -a -G dialout MyUserName
in the terminal as you show and then typed
groups
again, no dialout.
I restarted the computer and typed
groups
to find dialout in the list
The upload for my setup works perfectly now. Thank you.

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