I've had the same problem on my Ubuntu 6.06. Twice.
The first time I solved reinstalling Java (the JDK 5.0 from Sun, Ubuntu
packages).
After some tweaking and playing around with the code and the system the
problem reappeared and this time I solved reinstalling only the TOScomm
(and maybe the javacomm, I'm not sure).
My 5 cents,
Fabrizio
Philip Levis wrote:
On Oct 23, 2006, at 10:58 AM, Avgoustinos Filippoupolitis wrote:
I am using tmote sky on an Ubuntu Dapper machine. I can program the
mote without problems. But when I try to use SerialForwarder, it
cannot acces the /dev/ttyUSB0.
I have created a symlink from ttyUSB0 to ttyS0 but the problem
remains. Serialforwarder's GUI starts, but it prompts:
" serial@/dev/ttyS0:19200 died - restarting (java.io.IOException:
Couldn't configure /dev/ttyS0)"
When I try to run Listen with MOTECOM=serial@/dev/ttyS0:19200
it also fails and prompts:
"Error on serial@/dev/ttyS0:19200: java.io.IOException: Couldn't
configure /dev/ttyS0"
I have checked if the mote actually sends data to /dev/ttyUSB0 by using:
stty 19200 raw < /dev/ttyUSB0
od -x < /dev/ttyUSB0
and I could see raw data being sent to the port.
I also tried that with /dev/ttyS0 and it worked.
I have also tried BlackBox and it also works (it displays raw data in
it's GUI's box).
Does anyone has something to suggest?
I am usgin Java.comm 3.0 from Sun.
I have encountered similar Java problems with serial ports under Ubuntu.
My solution is to use the C-based serial forwarder.
Phil
_________________________________
This email has been ClamScanned !
www.clamav.net
_________________________________
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help