Added serial drivers for convenience.

This commit is contained in:
Sam Archer 2011-10-08 14:25:56 -07:00
parent be30db892e
commit 6a366f4810
22 changed files with 192 additions and 0 deletions

View File

@ -0,0 +1,57 @@
Trent Here. I do those ugly brown pages at rxtx.org. Documentation is not
what I do well :) So please help me when you see problems or something is
confusing.
For more information provided by end users please visit the rxtx wiki at
http://rxtx.qbang.org/wiki. This is also where you can help.
Short Install Instructions
Windows
RXTXcomm.jar goes in \jre\lib\ext (under java)
rxtxSerial.dll goes in \jre\bin
Mac OS X (x86 and ppc) (there is an Installer with the source)
RXTXcomm.jar goes in /Library/Java/Extensions
librxtxSerial.jnilib goes in /Library/Java/Extensions
Run fixperm.sh thats in the directory. Fix perms is in the Mac_OS_X
subdirectory.
Linux (only x86, x86_64, ia64 here but more in the ToyBox)
RXTXcomm.jar goes in /jre/lib/ext (under java)
librxtxSerial.so goes in /jre/lib/[machine type] (i386 for instance)
Make sure the user is in group lock or uucp so lockfiles work.
Solaris (sparc only so far)
RXTXcomm.jar goes in /jre/lib/ext (under java)
librxtxSerial.so goes in /jre/lib/[machine type]
Make sure the user is in group uucp so lockfiles work.
A person is added to group lock or uucp by editing /etc/groups. Distributions
have various tools but this works:
lock:x:54: becomes:
lock:x:53:jarvi,taj
Now jarvi and taj are in group lock.
Also make sure jarvi and taj have read and write permissions on the port.
If there are problems please help each other on the wiki and ask questions
on the mail-list. User contributed changes will be used here in the next
release. If you don't like the documentation, you can improve it.
--
Trent Jarvi
tjarvi@qbang.org

View File

@ -0,0 +1,4 @@
Wed Mar 1 12:05:10 MST 2006
We forgot to update the Mac OS X binary. Previously, it was an old version
(RXTX-2.1-7pre20). This has now been corrected.

Binary file not shown.

View File

@ -0,0 +1,9 @@
Build Date: Sun 12/07/2008 10:45
Compiled on Processor Architecture: AMD64
Compiled on Processor Identifier: Intel64 Family 15 Model 6 Stepping 4, GenuineIntel
Compiled on Processor Level: 15
Compiled on Processor Revision: 0604
Java Virtual Machine:
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) 64-Bit Server VM (build 11.0-b15, mixed mode)

View File

@ -0,0 +1,33 @@
Windows
----------------------------------------------------
Choose your binary build - x64 or x86 (based on which version of
the JVM you are installing to)
NOTE: You MUST match your architecture. You can't install the i386
version on a 64-bit version of the JDK and vice-versa.
For a JDK installation:
Copy RXTXcomm.jar ---> <JAVA_HOME>\jre\lib\ext
Copy rxtxSerial.dll ---> <JAVA_HOME>\jre\bin
Copy rxtxParallel.dll ---> <JAVA_HOME>\jre\bin
Linux
----------------------------------------------------
Choose your binary build - x86_64 or i386 (based on which version of
the JVM you are installing to)
NOTE: You MUST match your architecture. You can't install the i386
version on a 64-bit version of the JDK and vice-versa.
For a JDK installation on architecture=i386
Copy RXTXcomm.jar ---> <JAVA_HOME>/jre/lib/ext
Copy librxtxSerial.so ---> <JAVA_HOME>/jre/lib/i386/
Copy librxtxParallel.so ---> <JAVA_HOME>/jre/lib/i386/
NOTE: For a JDK installation on architecture=x86_64, just change the
i386 to x86_64 above.

View File

@ -0,0 +1,63 @@
Overview
-----------------------------------------------
This package contains a custom binary distribution of
the RXTX serial package for Java.
Courtesy of Cloudhopper, Inc.
http://rxtx.cloudhopper.net/
http://www.cloudhopper.net/opensource/rxtx/
NOTE: If you include my builds in any of your distributions,
please make sure to at least provide a note of thanks to
Cloudhopper in your own ReleaseNotes. For example,
"RXTX binary builds provided as a courtesy of Cloudhopper.
Please see http://rxtx.cloudhopper.net/ for more info."
RXTX is a great package, but they were lacking pre-built
binaries for x64 versions of Windows. I also wanted a
version built explicitly with Microsoft Visual Studio
rather than MinGW.
Please see ReleaseNotes.txt for information about this
specific release.
Customization
-----------------------------------------------
1. I've based my build on recent CVS snapshots. Please
see the ReleaseNotes.txt for information about which
snapshot I based this distribution on.
2. Removed UTS_NAME warning from .c files to match
kernel with the version you compiled against.
3. Changed version in RXTXVersion.jar and in SerialImp.c
to match my release so that I know its compiled via a CVS
snapshot.
win-x86, win-x64, ia64
-----------------------------------------------
Built using Microsoft Visual C++ 2008 - not MinGW. The
x86 and x64 versions are native and do not rely on
any other non-standard windows libraries. Just drop
in the compiled .dlls that are specific to the version
of Java you run. If you installed the 64-bit version
of the JDK, then install the x64 build.
I've tested the x86 and x64 version with Windows 2008,
2003, and Vista SP1.
linux-i386 & linux-x86_64
-----------------------------------------------
Built using CentOS 5.2 and gcc 4.1.2.
Just drop in the compiled .dlls that are specific to
the version of Java you run. If you installed the 64-bit
version of the JDK, then install the x64 build.
I've tested the x86 and x64 versions with x86 and x64
versions of CentOS 5.0 and 5.2.

View File

@ -0,0 +1,23 @@
Release Notes
--------------------------------------------------
Cloudhopper distibution of RXTX serial package for Java.
http://rxtx.cloudhopper.net/
http://www.cloudhopper.net/opensource/rxtx/
2.2-20081207
* Initial distribution
* linux-i386 and linux-x86_64 using CentOS 5.2 and GCC 4.1.2
* win-x86, win-x64, and win-ia64 builds using MSCV 2008
* CVS snapshot of RXTX-2.2 from 12/07/2008
* Please see BuildInfo.txt for more information about the
particular build you downloaded
* All windows builds crash the JVM if a COM port becomes
unavailable. For example, if using a USB-to-serial port
cable and you pull it out while your app is connected to the
port. The linux version throws an exception in this scenario.
Please note that even when compiled using mingw vs. MSVC, the
build will have the same behavior.

View File

@ -0,0 +1,3 @@
Wed Mar 1 12:01:05 MST 2006
rxtxSerial.dll had to be recomopiled to link in missing native methods.