[Rxtx] Baud rate problem

Marcin depmar at poczta.onet.pl
Sun Apr 22 04:06:26 MDT 2012


Is 38400 baud rate fully supported on Linux? Could you explain more about
baud rate and divisor?

-----Original Message-----
From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of
Trent Jarvi
Sent: Saturday, April 21, 2012 6:41 PM
To: RXTX Developers and Users
Subject: Re: [Rxtx] Baud rate problem


38400 is unique in that it is used to set custom baud rates as well.  When
38400 is used on Linux, the baud rate and divisor may be used.

Its possible there is a logic error in that code for the noncustom use case.

On Sat, 21 Apr 2012, Mike Markowski wrote:

> Please ignore my last note.  It seems my path needs work.  Sometimes 
> it's pulling in 2.1.7 and sometimes 2.2pre2.  The funny thing is that 
> 2.1.7 works when 2.2pre2 doesn't.  More investigation needed...
>
> Mike
>
> On 04/21/2012 01:42 PM, Mike Markowski wrote:
>> I'm stumped by an odd problem that seems related to baud rate, and 
>> wonder if anyone can offer some insight.  I have a section of code 
>> (below) that works fine compiled with JDK 1.6 when the baud rate is 
>> chosen as 9600 but enters the 'catch' block when choosing 38400.  
>> This has nothing to do with using the device, but simply setting up the
serial port.
>> [...]
> _______________________________________________
> Rxtx mailing list
> Rxtx at qbang.org
> http://mailman.qbang.org/mailman/listinfo/rxtx
>
_______________________________________________
Rxtx mailing list
Rxtx at qbang.org
http://mailman.qbang.org/mailman/listinfo/rxtx




More information about the Rxtx mailing list