山姆的編程實作分享。。。

Sam Blog, Sam Sharing, Sam Studio

2018年12月10日

Error opening serial port - Permission denied


The temp solution is

In terminal to execute below command

sudo chmod 666 ttyACM0

after power on-off cycle, this problem still exists
PS: the 666 means r+w

The final solution is done by adding the currently logged user into dialout group with the following command:
sudo usermod -a -G dial $USER


2018年12月8日

熱門文章