Fixed the problem of "No device found on COM1" for /dev/ttyACM0
As mentioned in the post: when run Arduino IDE on Ubuntu as su (sudo ./arduino), the serial port can be recognized as /dev/ttyACM0, but cannot be recognized if run as normal user.
To make it work as normal user:
Enter the command in Terminal:
$sudo usermod -a -G dialout <username>
After you plug in the usb cable, run the command (it need to be run every time plug-in):
$sudo chmod a+rw /dev/ttyACM0
Then, you can run Arduino IDE as normal user.
To make it work as normal user:
Enter the command in Terminal:
$sudo usermod -a -G dialout <username>
After you plug in the usb cable, run the command (it need to be run every time plug-in):
$sudo chmod a+rw /dev/ttyACM0
Then, you can run Arduino IDE as normal user.
![]() |
/dev/ttyACM0 recognized |
Comments
Post a Comment