My experience with Arduino on Ubuntu was excruciatingly painful. On Windows everything seems to just work :man_shrugging: . After some digging up I tried the following and it actually helped a lot.
Hopefully one of them will work for you -
- Turn off all powersaving like
powertop
andtlp
. - Turn off bluetooth connections like speakers, headphones.
- Double-click the reset button in quick succession.
sudo apt-get purge modemmanager
sudo chmod a+rw /dev/ttyACM0
-
sudo usermod -a -G tty <username> OR sudo usermod -a -G tty $USER sudo usermod -a -G dialout <username> OR sudo usermod -a -G dialout $USER
-
sudo chmod a+rw /dev/ttyUSB0
-
sudo chown username /dev/ttyUSB0
sudo chown username /dev/ttyACM0