I am still having trouble reading serial output from the Arduino. I am able to do it via the linux terminal but it crashes the Arduino IDE when I open the monitor. I also get the same error when I try and use the RxTx library to read serial with java through Eclipse.
If I run the Arduino IDE as root it results in the same crash as well.
The Arduino monitor actually worked when I first installed it up until I ran this command:
stty -F /dev/ttyUSB0 cs8 9600 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke noflsh -ixon -crtscts
which now allows me to use the command:
tail -f /dev/ttyUSB0
to read the serial output to the terminal
Here is the original post with all the details: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295756150