

[ 1008.289135] usb 3-1: USB disconnect, address 2

[ 1010.764454] usb 3-1: new full speed USB device using uhci_hcd and address 3

[ 1010.961880] usb 3-1: configuration #1 chosen from 1 choice

[ 1010.964741] cdc_acm 3-1:1.0: ttyACM0: USB ACM device





[ 1095.042640] tty_port_close_start: tty->count = 1 port count = 0.

[ 1140.802645] tty_port_close_start: tty->count = 1 port count = 0.

[ 1164.386670] tty_port_close_start: tty->count = 1 port count = 0



I'm having serious problems with 0021 under Ubuntu 10.04 Lucid Lynx.I seem to only be able to upload code once, then if I plug/unplug the Uno I can never get serial communication to work with it again (or maybe it has to do with the program it's running, see below).dmesg shows that every time I plug my Arduino in it *is* registering as /dev/ttyACM0. Every plug/unplug increases the address:Then, a bit later:(not sure if that matters)Furthermore, the IDE acts very unfriendly when trying to activate the "Tools" menu. There is a 5-6 second delay during which the GUI locks up (menus should never block the main thread!), then the menu appears with the "Serial Port" option greyed out (I have no other serial ports in my system). During this delay, a user is apt to click twice -- which causes the menu to instantly disappear after it finally appears.I tried using RXTX 2.2 (unstable) but that didn't help.My troubles seemed to start after I loaded some Serial.print() statements into my setup() function (after a Serial.begin of course). The TX light is steady-on -- I've made a typo in the setup() routine and the arduino is stuck in an infinite Serial.print("*") loop -- this is verifiable by using minicom to connect to the port -- when minicom feels like opening the port. Most of the time it says:minicom: cannot open /dev/ttyACM0: No such file or directoryDoes anyone have any suggestions?