I'm using Ubuntu 10.10. For some weird reason, the "arduino" package (0018) does not run (it complains about "rxtxSerial ..."). So I followed the following post:
which allowed me to install arduino 0021~ppa2. Although everything compiles and runs, the specified serial baud rate is incorrect. Specifically, when I declare "Serial.begin(9600)", I get gibberish unless the listener's baud rate is set to 19200. Similarly, when I declare "Serial.begin(4800)", I get gibberish unless the listener's baud rate is set to 9600.
I've observed this bug on multiple computers, multiple Arduino Duemilanoves, and using the included "Serial Monitor", using boost::asio, and using pyserial.
Has anybody else experienced this weird bug?
EDIT: I was able to install arduino 0018 by following the steps outlined in:
I can now confirm that this bug is not just limited to 0021, but also to the arduino 0018 package from Ubuntu 10.10's official repo.