Skip to content

Instantly share code, notes, and snippets.

@mikebratt
Created September 15, 2023 12:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikebratt/19af96357d5fd50a25ac24b9ab7ff5cd to your computer and use it in GitHub Desktop.
Save mikebratt/19af96357d5fd50a25ac24b9ab7ff5cd to your computer and use it in GitHub Desktop.
Ubuntu / Mint Linux - No ports detected in Arduino IDE
sudo ls -l /dev/ttyACM* /dev/ttyUSB*
# if the above command returns "No such file or directory" for both /dev/ttyACM* and /dev/ttyUSB* try disabling or uninstalling brltty and reboot.
sudo apt purge brltty
or
sudo systemctl stop brltty-udev.service
sudo systemctl mask brltty-udev.service
sudo systemctl stop brltty.service
sudo systemctl disable brltty.service
If there are /dev/ttyACM* or /dev/ttyUSB* devices they try the following:
# add user to dialout group
sudo usermod -a -G dialout $USER
# then logout and in again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment