I did a complete reinstall of ubuntu 10.04,
I installed the arduino 0018 using the personal package thing. The IDE is installed and looks fine, but I still can't get ttyUSB0 to show up. I use lsusb in a terminal and I see the ftdi show up.
I apologize -- I failed to restart the computer as you asked in your instructions. I followed your instructions again and this is what I got after connecting the arduino.
blaise@king-desktop:~$ dmesg
[ 77.408032] usb 4-1: new full speed USB device using ohci_hcd and address 3
[ 77.635264] usb 4-1: configuration #1 chosen from 1 choice
[ 77.686607] usbcore: registered new interface driver usbserial
[ 77.686636] USB Serial support registered for generic
[ 77.686687] usbcore: registered new interface driver usbserial_generic
[ 77.686691] usbserial: USB Serial Driver core
[ 77.699577] USB Serial support registered for FTDI USB Serial Device
[ 77.699662] ftdi_sio 4-1:1.0: FTDI USB Serial Device converter detected
[ 77.699710] usb 4-1: Detected FT232RL
[ 77.699715] usb 4-1: Number of endpoints 2
[ 77.699719] usb 4-1: Endpoint 1 MaxPacketSize 64
[ 77.699724] usb 4-1: Endpoint 2 MaxPacketSize 64
[ 77.699728] usb 4-1: Setting MaxPacketSize 64
[ 77.701241] usb 4-1: FTDI USB Serial Device converter now attached to ttyUSB0
[ 77.701285] usbcore: registered new interface driver ftdi_sio
[ 77.701290] ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver
After I did this, I opened the arduino IDE and did not see the USB connection under tools -> serial ports.
I left the ide running and disconnected, then reconnected the arduino -- still no change in the serial port options.
Hi,
OpenJdk works fine for most arduino users. If there are problems with this version they are mostly related to graphics or window-menus not working.
The alternative is to use the sun-java6-jre package (install, then run the update-alternatives line again to select it).
Please have a look at the IDE's startup messages again. Are there any error reports.
The Serial Ports Menu is only populated when the Arduino is plugged in. It takes a few seconds for the /dev/ttyUSB* entry to be added to the menu.
blaise@king-desktop:~$ ls -l /devttyUSB
ls: cannot access /devttyUSB: No such file or directory
blaise@king-desktop:~$ ls -l /devttyUSB0
ls: cannot access /devttyUSB0: No such file or directory
I don't understand -- when I typed lsusb before I would see the ftdi and everything else usb related. Now it just hangs (no output).
Regarding errors during the start up of IDE -- I don;'t see any in the ide window or the terminal window.
It is the case that every time I click to open the IDE for the first time since the computer is restarted, nothing happens. The second time (and all times after that) the ide seems to start normally.
I have read that librxtx is supposed to make a locked file for each connection to prevent another application from stepping all over the application that opened the connection.
I have also read that there is a way to configure the librxtx to not do this -- but the actual procedure alludes me.
I tried uninstalling/reinstalling the librxtx package to no avail.
First, remove all serial USB devices (if only the Arduino, unplug that).
Then, in a terminal, change to the directory for the lock files (/var/lock/), then type (without quotes) "sudo rm {filename}" where {filename} is the name of the lockfile. Remove all that relate to ttyUSB0.
Reboot the machine, then re-plug in the Arduino, and try starting the IDE (you may want to do this at a command line to see if the error messages recur).
If that works, then you need to exit the IDE, and try starting it again - if that fails, then something isn't able to remove those lock files. Check the user/group/permissions on those lock files that are created; see if you are in the group, if not, add yourself to the group, remove the lock files, and re-try the steps. If there is a process for keeping rxtx from creating the lock files, you might have to figure that out.
Good luck, and I hope this helps! I've never run into this kind of a problem with my Ubuntu setup - but you never know...