Monday, March 4, 2013

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.

/dev/ttyACM0 recognized
/dev/ttyACM0 recognized


1 comment:

  1. I have an 99-arduino.rules files in /etc/rules.d/ , contents something like this:

    SUBSYSTEMS=="usb", ATTRS{idProduct}=="0043", ATTRS{idVendor}=="2341", SYMLINK+="ttyACM%n" OWNER=="vaio1", GROUP="dialout"


    ReplyDelete