[SOLVED]Using Serial Monitor in Linux

Hi,
I’m trying to use Serial Monitor for a photon in Linux. When I’m opening Serial Monitor from Arduino IDE, I get this Error message:

Arduino: 1.8.0 (Linux), Board: "Arduino/Genuino Uno"

Error opening serial port '/dev/ttyACM0'. Try consulting the documentation at http://playground.arduino.cc/Linux/All#Permission

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

How can I fix this? P.S. Serial Monitor runs perfectly on Windows 10.
thanks

The most likely cause of this is by default you need to be root to access /ttyACM0. The solution is to install a udev rule. Just follow the last step here, downloading the 50-particle.rules file, installing it, and probably rebooting.

https://docs.particle.io/faq/particle-tools/installing-dfu-util/electron/#installation-linux

Then it should work without being root.

1 Like

it worked. thank you very much!

1 Like