Are you certain of the serial ports names? I run rxtx on TS7260 and TS7250s,
and found I had to create a symbolic link from /dev/ttyAM0 to /dev/ttyS0. As I
recall, rxtx relied on a hardcoded reference to /dev/ttyS0, and my attempts to
use the TS boards' /dev/ttyAM0 was being ignored by rxtx. I had to create the
/dev/ttyS0 sym link as an alias to the TS serial device and used it instead.
--- In "ramos.carlos76" <> wrote:
>
>
> Hey everyone,
>
> I'm using rxtx with the java. The program in my pc (windows
> xp) works without problems, but in ts7390 have errors.
>
> When start the
> program (jamvm -Dgnu.io.rxtx.SerialPorts=/dev/ttyAM0:/dev/ttyAM1 -jar
> program.jar) show this warning:RXTX Warning:Removing stale lock file.
> /var/lock/LCK..ttyAM0
>
> I can send files and ask the available bytes to
> receive, but if read the inputStream appears the
> exception:java.io.IOException:Input/output error in nativeavailable
>
> It is
> the size of inputStream the ts is very small? have any idea?
>
> Thanks for
> any help pointing me in the right direction!
>
> Carlos
>
>
>
>
>
> --- In "ramos.carlos76" <ramos.carlos76@>
> wrote:
> >
> > Hey everyone,I'm using rxtx with the java. The program in my pc
> (windows
> > xp) works without problems, but in ts7390 have errors.When start the
> > program (jamvm -Dgnu.io.rxtx.SerialPorts=/dev/ttyAM0:/dev/ttyAM1 -jar
> > program.jar) show this warning:RXTX Warning: Removing stale lock file.
> > /var/lock/LCK..ttyAM0I can send files and ask the available bytes to
> > receive, but if read the inputStream appears the
> > exception:java.io.IOException:Input/output error in nativeavailableIt
> is
> > the size of inputStream the ts is very small? have any idea?Thanks for
> > any help pointing me in the right direction!Carlos
> >
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|