ts-7000
[Top] [All Lists]

[ts-7000] Re: RXTX receive problem

To:
Subject: [ts-7000] Re: RXTX receive problem
From: "tedapt" <>
Date: Wed, 22 Jul 2009 17:10:53 -0000
That would be (as root or prepending sudo):

ln -s /dev/ttyAM0 /dev/ttyS0

--- In  "ramos.carlos76" <> wrote:
>
> 
> Because I can determine the avaialable bytes to read, I think the serial
> port ttyAM0 is correct...
> 
> How you create  a symbolic link from /dev/ttyAM0 to /dev/ttyS0?
> 
> I can read 4 lines with readline(), however the program show the
> exception and stop reading the serial port.
> 
> 
> --- In  "tedapt" <tedapt@> wrote:
> >
> > 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" 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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU