[Rxtx] Dialing the Internal Modem on the mac

Dr. Douglas Lyon lyon at docjava.com
Fri May 20 04:38:30 MDT 2005


Hi All,
The cu.modem for the mac is now showing in the list of ports.
I used the libraries in:
rxtx-2.1-7pre17/MACOSX_IDE/CW

Rather than:
rxtx-2.1-7pre17/MACOSX_IDE/ForPackageMaker/Install/Library/Java/Extensions

/dev/tty.modem

Drives the internal mac modem fine now. YES, I CAN DIAL THE
PHONE! (The crowd goes wild).

I am getting the error:
=========================================
Native lib Version = RXTX-2.1-7pre12
Java lib Version   = RXTX-2.1-7pre12
WARNING:  RXTX Version mismatch
	Jar version = RXTX-2.1-7pre14
	native lib Version = RXTX-2.1-7pre12

But it works anyhow.

The installer was, at least in part, to blame. The error during install,
and the bad versions of the native libraries/Jar files contributed
to the undue angst surrounding this project.

Perhaps these things should be removed and a README file
added indicating what works.

Here is the procedure:
Using the files in:
rxtx-2.1-7pre17/MACOSX_IDE/CW
Place:
librxtxSerial.jnilib
Into:
/Library/Java/Extensions/
Add:
RXTXcomm.jar  comm.jar
Into your class path.

Select /dev/tty.modem
As the dialing device.

Now you can dial the phone, using at commands like:
atdt5551212

It is all very easy when you know how ;)
  - Doug






More information about the Rxtx mailing list