On Sat, 2008-09-06 at 04:46 -0500, Charles Oliver Nutter wrote:
> Uwe Kubosch wrote:
> > No, it is not working in JRuby, only on MRI. And I am running out of
> > options.  Next thing to try is using javax.comm API and RXTX, but I had
> > REALLY hoped to avoid using native code...
> > 
> > Currently File#getc fails with "Illegal Seek" when reading
> > from /dev/ttyS0 on Linux.  If that worked, I could keep the reader
> > thread separate, and only have a timeout on threads copying data from my
> > own input buffer.
> 
> Ok...no guarantees on when, but we can make it a priority. Have you 
> already filed a bug for the issue? Do so if not. Hopefully we can find a 
> way to make this interruptible/timeoutable for you. There's also the 
> possibility of calling out to C via FFI to do a "real" select, though 
> that would be a more drastic measure. At any rate, we'll find a way.

Thanks a lot!  I keep being impressed by how quickly you respond.  For
time frame:  We need to have a working system this month :)  Serial
communication i critical core functionality, and must work reliably.

I'm at home now and for some reason my laptop has no serial port, so
Linux reports IOError on any operation on /dev/ttyS0, but I will enter
the bug report into JIRA from memory.  Spent all of yesterday and
Thursday on this :)  Will retry on monday.


Uwe

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to