I have a problem with the serial output in Linux (Ubuntu 10.4.1 LTS). I can most of the times not auto reset the board so I must press the RST button, but that is not the main problem. When I connect the board /dev/ttyACM0 is in the list but if I turn on the serial monitor that port is almost immediately removed and I instead get /dev/ttyACM1. If I change to that port and start the serial monitor again it changes back... I most of the times get only a few lines of output or none at all. This is very frustrating.
The program is very simple, a loop that every 100 ms outputs a value from a gyro read by analogRead().
(I'm new to Linux so I don't know how to debug this. I switched to Linux because I found it working even worse in Windows Vista x64.)