ports/159735: [patch] adopt and update comms/rxtx

bobf bobf at mrp3.com
Mon Aug 22 04:00:24 UTC 2011


The following reply was made to PR ports/159735; it has been noted by GNATS.

From: bobf <bobf at mrp3.com>
To: bug-followup at FreeBSD.org, mirror176 at cox.net
Cc:  
Subject: Re: ports/159735: [patch] adopt and update comms/rxtx
Date: Sun, 21 Aug 2011 20:53:22 -0700

 This is a multi-part message in MIME format.
 --------------010008070005010105040109
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Tested new port submission with the following JDK without any additional 
 patches.  The serial port list appears in the Arduino application but is 
 incomplete.
    diablo-jdk-1.6.0.07.02_13 Java Development Kit 1.6.0_07.02
    diablo-jre-1.6.0.07.02_12 Java Runtime Environment 1.6.0_07.02
 
 After re-adding a RXTXCommDriver.java patch, correct serial ports were 
 displayed by the Arduino application (devel/arduino).  No observed problems.
 
 When I tested with the following JDK, rxtx failed as the previous release 
 did without my patches.
 diablo-jdk-1.6.0.07.02_12 Java Development Kit 1.6.0_07.02
 diablo-jre-1.6.0.07.02_11 Java Runtime Environment 1.6.0_07.02
 
 patch for RXTXCommDriver.java attached
 
 
 
 --------------010008070005010105040109
 Content-Type: text/plain;
  name="patch-RXTXCommDriver.java"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="patch-RXTXCommDriver.java"
 
 --- src/gnu/io/RXTXCommDriver.java.orig	2008-11-13 16:44:01.000000000 -0800
 +++ src/gnu/io/RXTXCommDriver.java	2011-08-21 19:53:14.000000000 -0700
 @@ -646,10 +646,14 @@
  					else if(osName.equals("FreeBSD")) //FIXME this is probably wrong
  					{
  						String[] Temp = {
  							"ttyd",    //general purpose serial ports
  							"cuaa",    //dialout serial ports
 +							"ttyu",    //general purpose serial ports (uart)
 +							"cuau",    //dialout serial ports (uart)
 +							"ttyU",    //USB serial ports
 +							"cuaU",    //USB dial in serial ports
  							"ttyA",    //Specialix SI/XIO dialin ports
  							"cuaA",    //Specialix SI/XIO dialout ports
  							"ttyD",    //Digiboard - 16 dialin ports
  							"cuaD",    //Digiboard - 16 dialout ports
  							"ttyE",    //Stallion EasyIO (stl) dialin ports
 
 --------------010008070005010105040109--



More information about the freebsd-ports-bugs mailing list