I recently purchased Arduino Mega, and I'm tring it to make it communicate with Ubuntu 13.04 64bit, without success.
At arduino IDE the option Tools → Serial Port is grayed out.
Is there any driver I need to install?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
See this link: http://www.ladyada.net/learn/arduino/lesson0-lin.html
If it does not work, you can use:
sudo apt-get install openjdk-6-jre avr-libc gcc-avr
I have an Arduino UNO and went through the same problem.
Hey i found a solution to my problem
its simple download the arduino 1.0.5 from the website.
make sure you download java from java.com
the problem is in the |dailout| make sure you are registered in the it and everything will work just fine.
If had the same problem with Ubuntu 16.04 and an Arduino Mega 2560 R3 where no /dev/ttyACM* device was created.
Output of dmesg was
usb 3-2: new full-speed USB device number 7 using xhci_hcd usb 3-2: New USB device found, idVendor=2341, idProduct=0042 usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=220 usb 3-2: Manufacturer: Arduino (www.arduino.cc) usb 3-2: SerialNumber: 854303432383514012A0 usb 3-2: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
It turns out, the module cdc_acm which creates the device was not loaded so a simple
sudo modprobe cdc_acm
fixed the issue, port was selectable in Arduino IDE and worked flawlessly.
Dmesg then showed additionally:
cdc_acm 3-2:1.0: ttyACM0: USB ACM device usbcore: registered new interface driver cdc_acm cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters