Hay guys, I was stuck by the issue under discussion here since 3 days. My arduino UNO was connected with RPi using power hub, but the Arduino IDE was showing consistently "serial port" under tool menu grayed. Then I got a blog that solved my problem, read the following lines
Troubleshooting USB and the grayed out Serial Port
When I got the Arduino 1.0.1 update, “Serial Port” was grayed out in the tools menu. Running arduino as root ( sudo ./arduino) resolved the issue, but it’s not an acceptable solution. In my case, serial port was grayed out because my user didn’t have permission to read and write to the device.
" I added my user to the dialout group with the command sudo usermod -a -G dialout mark . Usually, that would have fixed it but serial port was still grayed out. Changing the permissions on /dev/ttyACM0 to world readable and writeable fixed the grayed out serial port. I ran sudo chmod a+rw /dev/ttyACM0 and the serial port menu worked again. I’ve noticed that running programs that send lots of data over USB can cause issues with the arduino programming software, making it give errors while uploading code. Holding down the reset button fixed my upload and USB errors in most cases".
the link is given below
http://blog.markloiseau.com/2012/05/ins ... no-ubuntu/