Ubuntu 9.10
Arduino Uno 0022
It appears to be intermittent, the menu is 10 seconds behind and sometimes the serial port is there and sometimes it dont
yesterday it eventually stabilised, (many unplugs reboots etc etc) and i ran it all day no probs, i assumed it was because i ran arduino as root which *seemed* to help but today it's not having any.
sudo ./arduino
terminal implied it was a permission issue so i chowned it to me anyways
sudo chown username /dev/ttyACM0
it shows no serial port but i can upload! and fails only when i try to open the serial monitor
i get this message sometimes "serial port already in use" so i rm the lock and try again but i am going in circles
when run sudo ./arduino i get this in the terminal window, it implies my port isn't there
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
RXTX Warning: Removing stale lock file. /var/lock/LCK..ttyACM0
Binary sketch size: 7564 bytes (of a 32256 byte maximum)
processing.app.SerialNotFoundException: Serial port '/dev/ttyACM0' not found. Did you select the right one from the Tools > Serial Port menu?
at processing.app.Serial.<init>(Serial.java:153)
at processing.app.Serial.<init>(Serial.java:76)
at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:75)
at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:93)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:56)
at processing.app.Sketch.upload(Sketch.java:1603)
at processing.app.Sketch.exportApplet(Sketch.java:1568)
at processing.app.Sketch.exportApplet(Sketch.java:1524)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2293)
at java.lang.Thread.run(Thread.java:636)
i don't know the answer but hope there is a fix for this one day
... i got it working briefly today by sudo ./arduino then pasting in my code into the default (and empty) sketch and saved then uploaded it without looking at the selected Serial port, Yay success, but the next upload a minute later failed with the old 'Serial port /dev/ttyACM0 not found' nutmeg
aaaaagggghh