I've looked at the serial signal sent from the Atmega using a logic analyzer, and it's doing fine.
#!/bin/basharduinoport=`cat /root/arduinoport` # sets arduinoport to suit UNO or Duemilanove which is stored in /root/arduinoportstty -F $arduinoport cs8 115200 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke noflsh -ixon -crtscts -clocalcat $arduinoport|head -n 6|tail -n 4 > /root/arduino2
I'm getting all kinds of corrupted data in the Uno -> Host direction.
How big is the receive/USB buffer in the 8u2 on the Uno? Is it double-buffered?
Programmable maximum packet size from 8 to 64 bytes Programmable single or double buffer