ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: RXTX receive problem

To:
Subject: Re: [ts-7000] Re: RXTX receive problem
From: Jeremy Freeman <>
Date: Wed, 29 Jul 2009 16:07:15 -0700 (PDT)


We had similar problems trying to compile rxtx on our 7800. What I ended up doing was switching to using EABI root filesystem and installing the precompiled rxtx from the Debian repository. Debian keeps the EABI (armel) binaries far more up to date than the arm binaries. It works perfectly and have been running it in production for 5 months now.

Word of caution, do not use high serial IO and SD card writes at the same time as myself and others on here experienced frequent lockups.

--
J


From: al l <>
To:
Sent: Wednesday, July 29, 2009 2:31:10 PM
Subject: Re: [ts-7000] Re: RXTX receive problem

 

Hi Carlos,
 
I cannot help you about the information you are asking me because in fact I couldn´t load correctly my aplications which use rxtx library. When I try to start my java aplication I receive allways the same error:  It says that it is unable to find librxtxSerial. so library, but when I indicate it with -Djava.library. path option or with LD_LIBRARY_PATH enviroment variable I don´t success, (of course locating my librxtxSerial. so in all the directories where System can try to find it.... I have check all the posibilities) .  Because of this I am trying to compile by my own librxtxSerial. so library to be sure that tha one I have is the correct.. in fact in my PC runs perfectly)
 
Do you know how to help me??? 
 
PD: Maybe is an Operating System problem??? I am usind the last one Debian version for the TS7800 board.
 
 
thanks


De: ramos.carlos76 <ramos.carlos76@ yahoo.com>
Para: .com
Enviado: miércoles, 29 de julio, 2009 21:31:14
Asunto: [ts-7000] Re: RXTX receive problem

 

Hi,

what is the port how you use to rxtx and port of your console?
The program detect serial ports?

--- In .com, al l <albi_sevilla@ ...> wrote:
>
> Hi,
>
> Could anybody help me to crosscompile gnu rxtx.org libraries?? Maybe telling me ./configure parameters or giving me the librxtxSerial. so file... I have downloaded the librxtxSerial. so file for arm-unknown- linux versions but it doesn´t run in my TS7800.
>
> thanks in advance!!
>
>
>
>
> ____________ _________ _________ __
> De: tedapt <>
> Para: .com
> Enviado: miércoles, 22 de julio, 2009 19:10:53
> Asunto: [ts-7000] Re: RXTX receive problem
>
>  
> That would be (as root or prepending sudo):
>
> ln -s /dev/ttyAM0 /dev/ttyS0
>
> --- In .com, "ramos.carlos76" <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 .com, "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 .com, "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 .com, "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
> > > > >
> > > >
> > >
> >
>





__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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