[Rxtx] Get RXTX working on MacOSX 10.6.7
Chris Bartley
bartley at cmu.edu
Thu Mar 24 12:24:28 MDT 2011
Hi Dave,
Before proceeding with RxTx, have you verified that you can connect to your device from your Mac with a terminal program such as minicom? I got minicom via MacPorts. If that works, then RxTx should too.
This version of RxTx works for us with 10.6.x (and 10.5, as well as Windows 32/64 bit). Binaries and source (both the unmodified and modified snapshots) are here:
http://code.google.com/p/create-lab-commons/source/browse/#svn%2Ftrunk%2Fjava%2Flib%2Frxtx
Full details on how I built it (including changes I made to the RxTx source) are here:
http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt
You may also (instead?) want to check out the fork from Neuron Robotics:
http://mailman.qbang.org/pipermail/rxtx/2011-March/8303014.html
I haven't had a chance to try it yet, but it sounds promising.
good luck,
Chris
On Mar 24, 2011, at 2:02 PM, Dave Thompson wrote:
> To RXTX mailing list:
>
> I'm running MacOSX 10.6.7 with the default JRE (version 1.6.0_24).
>
> I'm working with a Prolific PL-2303 USB to Serial adapter, with the latest (version 1.4.0 driver installed).
>
> I've built rxtx version 2.1.7 (latest stable version), which compiles on the Mac and installed the jar and jnilib file in ~/Library/Java/Extensions.
>
> When I start my Java application (non-root user), I see the message from rxtx with the version information, experience no crashes, but it appears that there's no serial ports to enumerate (e.g. nothing attached to the serial adapter, even if the device in question is plugged in and in the proper mode).
>
> I've tried downloading rxtx version 2.2pre2, and have seen little but segmentation faults, so this doesn't look like a working solution (as it appeared to be on Windows for various other issues).
>
> If anybody has any hints on getting a Java application to talk to a serial port via RXTX on MacOSX, I'd be quite grateful for your expertise.
>
> Thanks,
> Dave Thompson
> _______________________________________________
> Rxtx mailing list
> Rxtx at qbang.org
> http://mailman.qbang.org/mailman/listinfo/rxtx
More information about the Rxtx
mailing list