Using the Arduino 18 IDE from compiled for Ubuntu from the repositories on Ubuntu 9.10 Karmic, with an Arduino Deumilanove with ATMega 168 I used to see a serial port called something like /dev/ttyUSB. I rebooted my pc (to fix a mouse and keyboard problem), and when I started the Arduino IDE back up there was no USB serial port. Now the only serial port is /dev/ttyS0, and trying to send a script to the Arduino gives this error "avrdude: stk500_recv(): programmer is not responding". What should my next step be? Thanks
Unplug it, type 'dmesg' at a terminal prompt , make a note of the last line. Plug it in and do it again and then post what changed from the first time here.
This:
[ 3277.695045] usb 2-2.3: USB disconnect, address 13
[ 3277.695361] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 3277.695386] ftdi_sio 2-2.3:1.0: device disconnected
Became this:
[ 3243.242769] usb 2-2.3: Endpoint 1 MaxPacketSize 64
[ 3243.242774] usb 2-2.3: Endpoint 2 MaxPacketSize 64
[ 3243.242778] usb 2-2.3: Setting MaxPacketSize 64
[ 3243.242978] usb 2-2.3: FTDI USB Serial Device converter now attached to ttyUSB0
Other than the order of the lines (the later ones have higher numbers usually) your arduino is detected and installed as ttyUSB0 which is normal, what happens if you run the IDE ?. Run it and give it a few moments before you go looking for the serial port, the IDE can be slow on the uptake sometimes. You should have something other than /dev/ttyS0 showing........
As far as the numbers go, I ran the prompt without the arduino plugged in, but forgot to copy it before i ran it with the arduino plugged in, so i ran it again after and posted those results as they appeared to be the same. I ran the IDE (click applications->programming->arduino) waited a minuite (timed), opened serial port select menu (tools->Serial Port) and I get just the one serial port. Heres a link to the screenshot. Glow Foto - News (I couldnt figure out how to post an image here).
Thanks
Edit: Ok not how long this has actually been a problem, but I took that screenshot without the arduino plugged in, once i plugged it in it showed up.
The Problem: I had tried the serial port menu while the arduino was plugged in, but that was with a different USB cable, plugged into a front port on my computer. Plugging the arduino back into the old cable doesnt show the usb serial port. Plugging then new cable into the port I had the old cable plugged into also yeilds no usb connection. Plugging the old cable into a different port gives a connection. This seems to say it is a bad USB port, and a flash drive (which works in other ports) also doesn't work.
It may or may not be a bad port; I have found that certain devices, which one would think would be backwards compatible, don't like USB 1.0 ports, and will only work on 2.0 ports. I have also found the reverse to be true as well.
well, interestingly, the only port that I could find that didn't work was a port on my power supply (which contains a built in hub) and the power for that USB port is tied in directly to the power supply giving it 1.3 amps of power. Not sure if that has anything to do with it, but its worth noting. I expect it does, though, because other ports on the power supply do work.