I was trying to upload code for a blinking LED. It is a new Arduino Uno board. Any further help will be appreciated.I got the following error:

Info.: OS- Ubuntu 16.04

Software: Arduino IDE 1.8.5

I could not see any port.

I have tried dialout. But still it is not working.

I also have a confusion, i.e. the Programmer menu shows AVRISP mkll.

enter image description here

If anyone wants any information, please do comment.


An error occurred while uploading the sketch avrdude: ser_open(): can't open device "COM1": No such file or directory`

  • An Arduino Uno on Ubuntu will typically be at /dev/ttyACM0. Dec 22, 2017 at 15:53

1 Answer 1


Ubuntu and other Linux operating systems don’t name the serial ports “COM1” or similar.

They use special files like


The [something] depends on the USB device driver. The IDE should list available serial ports in the Port selection menu.

  • there is not port available Dec 22, 2017 at 13:52
  • What ports show up? Dec 22, 2017 at 13:53
  • NO port is shown. Dec 22, 2017 at 13:53
  • @ChandramauliChakraborty are you in dialout group? Or better, have you read any tutorial about Arduino in Linux?
    – KIIV
    Dec 22, 2017 at 13:55
  • Perhaps you don’t have the right permissions to access the serial ports. Your user must have access to the serial ports. On Ubuntu, this can be accomplished by adding your user to the dialout group. Also, make sure you have the Uno plugged into the computer. Dec 22, 2017 at 13:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.