[Rxtx] rxtx serial port event problems with usb adapter

Helge Fredriksen helgeingvart at gmail.com
Tue Mar 31 02:32:19 MDT 2009


Hi all again,

Is there any chance that the latest driver update mentioned on

http://www.ftdichip.com/Drivers/VCP.htm

could not be included in the kernel for Ubuntu 8.04 (2.6.24-19-generic) ?

Best regards,
Helge Fredriksen

2009/3/30 Luca Catoni <luca.catoni at gmail.com>

> My java application communicates with datalogger via rs232. Rxtx library
> works fine on  linux and windows system using serial port. The problems come
> when I use an usb  adapter  FTDI chip-set based (
> http://www.ftdichip.com/Products/EvaluationKits/US232R-10.htm) on my lunux
> system (2.6.24 kernel), where there is no need of driver. On windows instead
> I have no problem. My program is event based; This adapter works correctly
> using Mincom. But in my program I use serialPort.notifyOnDataAvailable(true)
> and serialPort.notifyOnOutputEmpty(true)  calls.
>
> My application send first message correctly but I get an error in response:
>
> at gnu.io.RXTXPort.sendEvent(RXTXPort.java:732)
>
> at gnu.io.RXTXPort.nativeDrain(Native Method)
>
> at gnu.io.RXTXPort$SerialOutputStream.flush(RXTXPort.java:1201)
>
>
>
>   If I comment flush() command after send first message I have no response
> and my time-out exceeds. It seems there are problems when generating
> SerialPortEvent.DATA_AVAILABLE event.
>
> Can I resolve this problem ?
>
>
> _______________________________________________
> Rxtx mailing list
> Rxtx at qbang.org
> http://mailman.qbang.org/mailman/listinfo/rxtx
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qbang.org/pipermail/rxtx/attachments/20090331/903a6c88/attachment-0963.htm>


More information about the Rxtx mailing list