Arduino Serial Port Driver Ubuntu
I am running Debian 7 (Linux Crunchbang) and wanted to use The Arduino IDE to program my Arduino UNO. To do that I installed the package arduino. When I started the Arduino I was asked to add my user to the dialout group. So I did with sudo usermod -a -G dialout. However when I start the Arduino IDE using arduino in the commandline the IDE opens but I am not able to load my program to the Arduino. The error message is 'Serial port COM1 not found.

Did you select the right one from the Tools >Serial Port menu?' And when I went to select the Serial Port, the option 'Tools >Serial Port' is greyed out.
I thought it is because I did not grant read and write permissions on my usb port (ttyACM0). So I did sudo chmod a+rw /dev/ttyACM0 but the option is still greyed out. Open $arduinoHome/arduino in text editor and modify last string: java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel processing.app.Base '$@' to java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dgnu.io.rxtx.SerialPorts='/dev/ttyACMN' processing.app.Base '$@' (set property gnu.io.rxtx.SerialPorts to /dev/ttyACMN,where ttyACMN is name of serial port which you use) it may temporary fix bug in rxtx library. Helped me to upload sketch with arduino1.0.5 IDE. Maybe would helpful for someone. For a Windows solution I've found that disabling and re-enabling the Arduino in Device Manager, then restarting the Arduino IDE does the trick without fail (no unplugging necessary).
Why this error occurs in the first place is beyond me. Perhaps the corresponding method for Linux will fix your problem. Slightly related (not really), I had an issue with an AVR board a while back which was fixed by setting the device to a new COM port in the driver settings.
Again, however you linux bunnies do it, I'm sure it'll be cookies and cream. Cheers brother.
Jul 03, 2012 After the installation of new arduino IDE in ubuntu 12.04, it was found that the serial port was not detected while plugging in the arduino board via usb.
I am running Ubuntu Mate 16.04 LTS, with an Arduino Uno R3 clone. I am having the dreaded serial port graying out problem, and have not found a solution for fixing it. Currently, The serial port will grey out sometimes, and sometimes it will be not grayed out, and I can see that I have selected ttyUSB0.
Usually when it is not grayed out, uploading a sketch will not work, and I get the error like it is grayed out: avrdude: ser_open(): can't open device '/dev/ttyUSB0': No such file or directory An error occurred while uploading the sketch chmod a+rw /dev/ttyUSB0 doesn't solve the issue, with log out included gpasswd -a aaron dialout doesn't solve the issue, with log out included I searched preferences.txt and serial.debug rate is set to 9600 I have tried entering preferences.txt and deleting all of the serial entries. They are recreated the same after deletion, and this doesn't solve anything.
I tried running as sudo, doesn't work. I tried solving this originally on Arduino IDE 1.0, didn't work. I have upgraded to Arduino IDE 1.6.10, still not working.
Running lsusb in terminal yields this while Arduino is plugged in: Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 0a5c:21e6 Broadcom Corp.
BCM20702 Bluetooth 4. Download D2 Cd Key Changer. 0 [ThinkPad] Bus 001 Device 002: ID 8087:0024 Intel Corp.