All of lore.kernel.org
 help / color / mirror / Atom feed
* ARM - OE Linux, Java and SerialPort
@ 2008-12-19  7:34 Jan Pannecoeck
  2008-12-19 12:58 ` Henning Heinold
  2008-12-19 13:57 ` Binghoo Dang
  0 siblings, 2 replies; 4+ messages in thread
From: Jan Pannecoeck @ 2008-12-19  7:34 UTC (permalink / raw)
  To: openembedded-devel

Hello everyone,

I'm not sure if this is the right mailinglist, but I'll post my question 
here so maybe someone could help me. I'm currently using an OE linux 
distribution on my ARM board, this is all working fine and I'm using 
jamvm to run my java programs. Now I would like to communicate with a 
SerialPort. But the Java Communication API provided by Sun does not 
support an ARM based system. Only the Linux x86 system is supported. 
Since Linux is using the serial port as a "file", the reading and 
writing part could probably be done using a simple Reader and Writer in 
Java, but how can I change the baudrate and other configuration settings 
of the serial port?

Does anybody has any experience with this?

Kind regards, and a early happy christmas!

Jan Pannecoeck



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ARM - OE Linux, Java and SerialPort
  2008-12-19  7:34 ARM - OE Linux, Java and SerialPort Jan Pannecoeck
@ 2008-12-19 12:58 ` Henning Heinold
  2008-12-19 13:34   ` Jan Pannecoeck
  2008-12-19 13:57 ` Binghoo Dang
  1 sibling, 1 reply; 4+ messages in thread
From: Henning Heinold @ 2008-12-19 12:58 UTC (permalink / raw)
  To: openembedded-devel

On Fri, Dec 19, 2008 at 08:34:03AM +0100, Jan Pannecoeck wrote:
> Hello everyone,
> 
> I'm not sure if this is the right mailinglist, but I'll post my question 
> here so maybe someone could help me. I'm currently using an OE linux 
> distribution on my ARM board, this is all working fine and I'm using 
> jamvm to run my java programs. Now I would like to communicate with a 
> SerialPort. But the Java Communication API provided by Sun does not 
> support an ARM based system. Only the Linux x86 system is supported. 
> Since Linux is using the serial port as a "file", the reading and 
> writing part could probably be done using a simple Reader and Writer in 
> Java, but how can I change the baudrate and other configuration settings 
> of the serial port?
> 
> Does anybody has any experience with this?
> 
> Kind regards, and a early happy christmas!
> 
> Jan Pannecoeck
> 

Try the rxtx package included in oe.

Bye Henning
-- 
IBM Certified Specialist - eserver i5 iSeries Technical Solutions Designer V5R3



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ARM - OE Linux, Java and SerialPort
  2008-12-19 12:58 ` Henning Heinold
@ 2008-12-19 13:34   ` Jan Pannecoeck
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Pannecoeck @ 2008-12-19 13:34 UTC (permalink / raw)
  To: openembedded-devel

I had also contacted the distributor of my ARM-development kid (Taskit) 
they also gave me this advice, and I'm currently using the rxtx package!

Thanks!

Henning Heinold wrote:
> On Fri, Dec 19, 2008 at 08:34:03AM +0100, Jan Pannecoeck wrote:
>   
>> Hello everyone,
>>
>> I'm not sure if this is the right mailinglist, but I'll post my question 
>> here so maybe someone could help me. I'm currently using an OE linux 
>> distribution on my ARM board, this is all working fine and I'm using 
>> jamvm to run my java programs. Now I would like to communicate with a 
>> SerialPort. But the Java Communication API provided by Sun does not 
>> support an ARM based system. Only the Linux x86 system is supported. 
>> Since Linux is using the serial port as a "file", the reading and 
>> writing part could probably be done using a simple Reader and Writer in 
>> Java, but how can I change the baudrate and other configuration settings 
>> of the serial port?
>>
>> Does anybody has any experience with this?
>>
>> Kind regards, and a early happy christmas!
>>
>> Jan Pannecoeck
>>
>>     
>
> Try the rxtx package included in oe.
>
> Bye Henning
>   



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ARM - OE Linux, Java and SerialPort
  2008-12-19  7:34 ARM - OE Linux, Java and SerialPort Jan Pannecoeck
  2008-12-19 12:58 ` Henning Heinold
@ 2008-12-19 13:57 ` Binghoo Dang
  1 sibling, 0 replies; 4+ messages in thread
From: Binghoo Dang @ 2008-12-19 13:57 UTC (permalink / raw)
  To: openembedded-devel

Jan Pannecoeck 写道:
> Hello everyone,
>
> I'm not sure if this is the right mailinglist, but I'll post my 
> question here so maybe someone could help me. I'm currently using an 
> OE linux distribution on my ARM board, this is all working fine and 
> I'm using jamvm to run my java programs. Now I would like to 
> communicate with a SerialPort. But the Java Communication API provided 
> by Sun does not support an ARM based system. Only the Linux x86 system 
> is supported. Since Linux is using the serial port as a "file", the 
> reading and writing part could probably be done using a simple Reader 
> and Writer in Java, but how can I change the baudrate and other 
> configuration settings of the serial port?
>
> Does anybody has any experience with this?
>
> Kind regards, and a early happy christmas!
>
> Jan Pannecoeck
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
You can read 《linux device drivers》and found out a "way" to control the 
SerialPort ,all operation is using a "file" interface. Good luck!



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-12-19 14:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-19  7:34 ARM - OE Linux, Java and SerialPort Jan Pannecoeck
2008-12-19 12:58 ` Henning Heinold
2008-12-19 13:34   ` Jan Pannecoeck
2008-12-19 13:57 ` Binghoo Dang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.