<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://rxtx.qbang.org/wiki/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Rxtx - User contributions [en]</title>
		<link>http://rxtx.qbang.org/wiki/index.php/Special:Contributions/Aerophilic</link>
		<description>From Rxtx</description>
		<language>en</language>
		<generator>MediaWiki 1.15.4</generator>
		<lastBuildDate>Sun, 21 Jun 2026 14:56:33 GMT</lastBuildDate>
		<item>
			<title>Main Page</title>
			<link>http://rxtx.qbang.org/wiki/index.php/Main_Page</link>
			<description>&lt;p&gt;Aerophilic:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the RXTX wiki!&lt;br /&gt;
&lt;br /&gt;
This Wiki is intended to be by and for RXTX users and developers. There is already a lot of information provided, but feel free to add your own content. Note that you will need to create an account before editing pages, as part of an effort to battle spambots.&lt;br /&gt;
&lt;br /&gt;
*[http://www.rxtx.org Old RXTX home page] This wiki will be the RXTX Home Page when 2.2 is released.&lt;br /&gt;
*[[FAQ]]&lt;br /&gt;
*[[Download]] and [[Installation]]&lt;br /&gt;
*[[Using RXTX]]&lt;br /&gt;
*[[Development]]&lt;br /&gt;
*[http://bugzilla.qbang.org Reporting Bugs]&lt;br /&gt;
*[[Projects | Projects using RXTX]]&lt;br /&gt;
*[http://users.frii.com/jarvi/rxtx/license.html License] LGPL v2.1 + Linking Over Controlled Interface.&lt;br /&gt;
If after checking through the Wiki you don't find an answer to your question, then you can ask your question on the [[mailing-list]]. Posting questions in the talk pages is not the right place to ask your questions.&lt;br /&gt;
&lt;br /&gt;
There is also the [http://users.frii.com/jarvi/rxtx/ original RXTX website], which is still around, though most of the information has been migrated to the Wiki.&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;background-color: #ffffdd&amp;quot; &lt;br /&gt;
|Send mail to [mailto:tjarvi@qbang.org Trent] if you spot spambot activity.&lt;br /&gt;
|}&lt;/div&gt;</description>
			<pubDate>Fri, 22 May 2009 20:57:08 GMT</pubDate>			<dc:creator>Aerophilic</dc:creator>			<comments>http://rxtx.qbang.org/wiki/index.php/Talk:Main_Page</comments>		</item>
		<item>
			<title>FAQ</title>
			<link>http://rxtx.qbang.org/wiki/index.php/FAQ</link>
			<description>&lt;p&gt;Aerophilic:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General ==&lt;br /&gt;
&lt;br /&gt;
=== What is RXTX? ===&lt;br /&gt;
&lt;br /&gt;
RXTX is a Java library, using a native implementation (via JNI), providing serial and parallel communication for the Java Development Toolkit (JDK). All deliverables are under the GNU LGPL license. It is based on the specification for Sun's [http://java.sun.com/products/javacomm/index.jsp Java Communications API], though while many of the class descriptions are the same the package used it not, since gnu.io is used instead. A certain amount of compatibility is intended with API, though this project should be considered as a fork and therefore compatible in spirit, but not in implementation.&lt;br /&gt;
&lt;br /&gt;
=== Do you have a Mailing List? ===&lt;br /&gt;
&lt;br /&gt;
Yes, see the [[mailing-list]] page for details.&lt;br /&gt;
&lt;br /&gt;
=== Where can I find information about how to write apps using RXTX? ===&lt;br /&gt;
&lt;br /&gt;
Take a look at the [[Examples]]&lt;br /&gt;
&lt;br /&gt;
=== What does RXTX install where? ===&lt;br /&gt;
&lt;br /&gt;
The RXTX installation procedures installs files directly underneath $JAVA_HOME, i.e. directly into the JDK distribution.&lt;br /&gt;
&lt;br /&gt;
In case you are using the Sun JDK:&lt;br /&gt;
&lt;br /&gt;
The 'gnu.io' Java .class files are all packed into:&lt;br /&gt;
&lt;br /&gt;
   $JAVA_HOME/jre/lib/ext/RXTXcomm.jar&lt;br /&gt;
&lt;br /&gt;
The [http://en.wikipedia.org/wiki/Library_(computer_science)#Shared_library Shared Object] files necessary to access OS-level functionality can be found underneath: &lt;br /&gt;
&lt;br /&gt;
   $JAVA_HOME/jre/lib/&amp;lt;architecture&amp;gt;/&lt;br /&gt;
&lt;br /&gt;
and they are:&lt;br /&gt;
&lt;br /&gt;
  librxtxI2C-2.1-7.so&lt;br /&gt;
  librxtxI2C.la&lt;br /&gt;
  librxtxI2C.so -&amp;gt; librxtxI2C-2.1-7.so&lt;br /&gt;
&lt;br /&gt;
  librxtxParallel-2.1-7.so&lt;br /&gt;
  librxtxParallel.la&lt;br /&gt;
  librxtxParallel.so -&amp;gt; librxtxParallel-2.1-7.so&lt;br /&gt;
&lt;br /&gt;
  librxtxRaw-2.1-7.so&lt;br /&gt;
  librxtxRaw.la&lt;br /&gt;
  librxtxRaw.so -&amp;gt; librxtxRaw-2.1-7.so&lt;br /&gt;
&lt;br /&gt;
  librxtxRS485-2.1-7.so&lt;br /&gt;
  librxtxRS485.la&lt;br /&gt;
  librxtxRS485.so -&amp;gt; librxtxRS485-2.1-7.so&lt;br /&gt;
&lt;br /&gt;
  librxtxSerial-2.1-7.so&lt;br /&gt;
  librxtxSerial.la&lt;br /&gt;
  librxtxSerial.so -&amp;gt; librxtxSerial-2.1-7.so&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also see the '[[installation]]' page for more information.&lt;br /&gt;
&lt;br /&gt;
=== Is there a Change Log? ===&lt;br /&gt;
&lt;br /&gt;
Yes, see the '[[Change Log]]' page.&lt;br /&gt;
&lt;br /&gt;
=== What License does RXTX use? ===&lt;br /&gt;
&lt;br /&gt;
RXTX is license under the LGPL with an exception for linking over controlled interfaces, a copy of which can be found in the '[[License]]' page.  The exception allows people to use RXTX as a service plugin with Sun's CommAPI: 'A Controlled Interface.'&lt;br /&gt;
&lt;br /&gt;
=== What Platforms does RXTX run on? ===&lt;br /&gt;
&lt;br /&gt;
See the page entitled '[[Porting]]', for more information.&lt;br /&gt;
&lt;br /&gt;
== Problems and Workarounds ==&lt;br /&gt;
&lt;br /&gt;
=== On MacOS X I get a 'PortInUseException', even though it isn't? ===&lt;br /&gt;
&lt;br /&gt;
Versions prior to 2.1-8 use lock files, which is not the MacOS X way of doing things, and therefore has issues. For this reason make sure that you have version 2.1-8 or higher, which makes use of [http://developer.apple.com/documentation/DeviceDrivers/Conceptual/IOKitFundamentals/ I/O Kit]. At this point in time 2.1-8 is only availble from CVS, in source form. See the section [[Retrieving Source Code]], on getting the latest code - be sure to get the code from the 'gnu.io' branch.&lt;br /&gt;
&lt;br /&gt;
 'TODO': Can anyone who knows how please make an easy download available like the 2.1-7 version?&lt;br /&gt;
     There you go: http://www.mediafire.com/download.php?zx1hlhghyyh&lt;br /&gt;
        'TODO': Can anyone who knows how please upload this file to rxtx.org?&lt;br /&gt;
&lt;br /&gt;
=== RXTX does not find my device, what's wrong? ===&lt;br /&gt;
&lt;br /&gt;
There may be a number of reasons, but most often it is because your operating system can't find it either. RXTX is built upon the functionality provided by your operating system, and therefore is dependent on its limitations. For this reason find out whether your system can find the port, if it can and you still can't work what is going on, then there may be some help on the [[Mailing-List]].&lt;br /&gt;
&lt;br /&gt;
You can specify the available ports by&lt;br /&gt;
  System.setProperty(&amp;quot;gnu.io.rxtx.SerialPorts&amp;quot;, portFileNames);&lt;br /&gt;
where the file names of the ports are separated by File.pathSeparator.&lt;br /&gt;
&lt;br /&gt;
=== RXTX installation fails with JDK 1.6 ===&lt;br /&gt;
&lt;br /&gt;
This applies to the source package of RXTX 2.1-7r2.&lt;br /&gt;
&lt;br /&gt;
After having run ''./configure; make; make install'', the following message appears:&lt;br /&gt;
&lt;br /&gt;
  make  all-am&lt;br /&gt;
  make[1]: Entering directory `/&amp;lt;mumble mumble your directory&amp;gt;/rxtx-2.1-7r2'&lt;br /&gt;
  make[1]: Nothing to be done for `all-am'.&lt;br /&gt;
  make[1]: Leaving directory `/&amp;lt;mumble mumble your directory&amp;gt;/rxtx-2.1-7r2'&lt;br /&gt;
  libtool: install: `x86_64-unknown-linux-gnu/librxtxRS485.la' is not a directory&lt;br /&gt;
  Try `libtool --help --mode=install' for more information.&lt;br /&gt;
  make: *** [install] Error 1&lt;br /&gt;
&lt;br /&gt;
This is caused by a missing case in the 'configure' script generated from 'configure.in', which&lt;br /&gt;
causes the variable RXTX_PATH to not be set which causes the above confusion.&lt;br /&gt;
You can change the 'configure' script directly. Look for the case instruction that matches JDK version strings:&lt;br /&gt;
&lt;br /&gt;
  1.2*|1.3*|1.4*|1.5*&lt;br /&gt;
&lt;br /&gt;
and extend it to&lt;br /&gt;
&lt;br /&gt;
  1.2*|1.3*|1.4*|1.5*|1.6*&lt;br /&gt;
&lt;br /&gt;
Note that there are matches for Linux, BSD, Solaris and Win32.&lt;br /&gt;
&lt;br /&gt;
Then run ''./configure; make; make install'' as usual.&lt;br /&gt;
&lt;br /&gt;
=== RXTX and the Equinox SST-4P/LP multiport card ===&lt;br /&gt;
&lt;br /&gt;
A note for those who want to install an Equinox board (in this case &amp;quot;SST-4P/LP&amp;quot;) and try to&lt;br /&gt;
run it with RXTX under Linux (in this case, Red Hat ES 4)&lt;br /&gt;
&lt;br /&gt;
Get the driver source from the [http://www.equinox.com/support/download-drivers/ www.equinox.com driver page] and&lt;br /&gt;
compile it as described therein.&lt;br /&gt;
&lt;br /&gt;
The four serial ports of the Equinox SST-4P are available as the device files:&lt;br /&gt;
&lt;br /&gt;
   /dev/ttyQ1a1 ... /dev/ttyQ1a4&lt;br /&gt;
&lt;br /&gt;
These device files are created by the 'ssmkn' (alias 'make device nodes') executable. &lt;br /&gt;
&lt;br /&gt;
In order to make things work, you have to:&lt;br /&gt;
&lt;br /&gt;
Modify the 'eqnx' startup script '/etc/rc.d/init.d/eqnx'&lt;br /&gt;
and make it set the permissions of the devices files in the&lt;br /&gt;
'start' section, immediately after the call to 'ssmkn':&lt;br /&gt;
&lt;br /&gt;
        # create device files&lt;br /&gt;
        /usr/bin/ssmkn&lt;br /&gt;
        # fix rights on device files&lt;br /&gt;
        LIST=`ls /dev/ttyQ*`&lt;br /&gt;
        for DEV in $LIST; do&lt;br /&gt;
          chown root.uucp $DEV&lt;br /&gt;
          chmod 660 $DEV&lt;br /&gt;
        done&lt;br /&gt;
&lt;br /&gt;
Modify 'src/RXTXCommDriver.java' in the RXTX distribution. Add&lt;br /&gt;
the 'ttyQ1a' radical to the list of port radicals that RXTX checks:&lt;br /&gt;
&lt;br /&gt;
        if(osName.equals(&amp;quot;Linux&amp;quot;))&lt;br /&gt;
        {&lt;br /&gt;
           String[] Temp = {&lt;br /&gt;
                &amp;quot;ttyS&amp;quot;, // linux Serial Ports&lt;br /&gt;
                &amp;quot;ttySA&amp;quot;, // for the IPAQs&lt;br /&gt;
                &amp;quot;ttyUSB&amp;quot;, // for USB frobs&lt;br /&gt;
                &amp;quot;ttyQ1a&amp;quot; // Equinox&lt;br /&gt;
           };&lt;br /&gt;
           CandidatePortPrefixes=Temp;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
Then recompile and reinstall.&lt;br /&gt;
&lt;br /&gt;
=== Is there a way to access serial and parallel port with standard Java API ? ===&lt;br /&gt;
&lt;br /&gt;
Currently no. This includes all Java versions including JDK 1.6 and probably JDK 1.7 when it is released. The [http://java.sun.com/products/javacomm/ Java Communications] API is a Java extension providing the necessary support for serial and parallel communication. RxTx is the most complete and currently maintained implementation of this API.&lt;/div&gt;</description>
			<pubDate>Fri, 22 May 2009 20:56:42 GMT</pubDate>			<dc:creator>Aerophilic</dc:creator>			<comments>http://rxtx.qbang.org/wiki/index.php/Talk:FAQ</comments>		</item>
	</channel>
</rss>