you need to figure out where the iMote2 is showing up.

With the iMote2 unplugged from the USB port...    do tail -f
/var/log/messages

Then plug the iMote2 into the system.   You should see something that
reflects the iMote2 being configured.

It should say something about connecting it to something in /dev/.

But I haven't used the iMote2 so don't know exactly what its h/w looks like
or what it looks like on Linux.


How did you try the other ports?

what was you exact command syntax.


Also try running motelist and see what it says.

eric



On Fri, Feb 10, 2012 at 1:34 AM, Mashal al-shboul <[email protected]>wrote:

> Hi All,
>
> i am trying to run TestSerial application after correctly compiled and
> flashed to iMote2, in tinyOS 2.1.1.
> when i run:   mashal@ubuntu:/opt/tinyos-2.1.1/apps/tests/TestSerial$  java
> TestSerial -comm serial@/dev/ttyS0:intelmote2
> i get the following error: serial@/dev/ttyS0:115200 died - exiting
> (java.io.IOException: Could not open /dev/ttyS0: TOSComm JNI library
> runtime error: flush: Input/output error).
>
> i tried  ttyS0,ttyS1,ttyS2, ttyUSB0,ttyUSB1... as ports but the error
> persisted !
>
> please, what is the reason for this error?...is the problem in the port
> naming?, or in java libraries for serial communication, or....?
>
>  i use jdk 1.6 in tinyos 2.1.1
>
> Please i need help from anyone who has tried this error or knows about it.
> Thanks in advance.
>
> Best Regards,
> Mash'al
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to