[Rxtx] Can not receive any data with RXTX on Ubuntu 9.10

George H george.dma at gmail.com
Tue Mar 23 23:44:43 MDT 2010


On Mon, Mar 22, 2010 at 3:17 PM, Jens Rabe
<schaumwaffelpilot at googlemail.com> wrote:
> Hi folks,
>
> I just installed RXTX on an Ubuntu 9.10 system. I then wanted to collect
> data from a data logger with USB/Serial converter. The program I wrote works
> fine with RXTX in Windows. The data logger is correctly recognized as
> /dev/ttyUSB0, I set the correct port. My program finds the port and opens it
> without any errors, but no data arrives. The permissions for the port are
> set right. Is there some additional "magic" to do on Ubuntu Jaunty?
>
> Regards,
> Jens

Hi, maybe you need to set an event listener on the serial port ?

serialPort.addEventListener( ... );
serialPort.notifyOnDataAvailable(true);



More information about the Rxtx mailing list