Fixing Arduino Serial Port Greyed Out on Linux

Linux users often face the “Tools > Serial Port” issue in Arduino IDE. Follow these steps to resolve it:

1. Adjust Device Permissions

Run this command to grant access:

sudo chmod a+rw /dev/ttyACM0  

2. Install Arduino IDE and Dependencies

Install the required packages:

sudo apt-get install arduino arduino-core arduino-mk  

3. Add User to the dialout Group

Grant necessary permissions:

sudo gpasswd -a $USER dialout  

4. Restart Your System

Reboot to apply changes.

5. Test with the Blink Sketch

Open File > Examples > 01.Basic > Blink, modify delay(1000) to delay(60), and upload the sketch. If the LED blinks faster, everything works!

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top