I received an email from Ethan Bisset with a much nicer solution: just use the debian provided serial library instead of the one provided with the arduino software.
This is his recipe:
1. Get arduino software
2. apt-get install sun-java6-bin binutils-avr avr-libc gcc-avr librxtx-java
3. Untar arduino software
4. Delete <arduino>/lib/librxtxSerial.so
5. Done!
(below is the old entry:)
Download the linux 32-bit arduino toolkit from the arduino toolkit download page and untar in a directory.
Install the avr tools: apt-get install avr-libc binutils-avr gcc-avr
Install "ia32-sun-java5-bin". ( apt-get install ia32-sun-java5-bin )
Adapt the "arduino" startup script script and replace java in it by
/usr/lib/jvm/ia32-java-1.5.0-sun/bin/java
Execute the "arduino" startup script. It works just fine now.
Thats all.
Many thanks to the Debian java packagers for providing this 32-bit compatibity jvm!
No comments:
Post a Comment