Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 2004 00:37:11 -0400
From:      "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net>
To:        ari.suutari@syncrontech.com
Cc:        freebsd-ports@freebsd.org
Subject:   comms/java-commapi-freebsd
Message-ID:  <1098592630.751.15.camel@RabbitsDen>

next in thread | raw e-mail | index | archive | help

--=-abt24z29gK/0Y2pW5Ldd
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

I have attached (rather simple) patch which takes care of new naming for
regular and USB serial devices introduced in FreeBSD-current. I would
have to believe that names for other serial devices have changed, but I
was not able to find comprehensive list, nor I own any of those.

---
Alexandre "Sunny" Kovalenko.


--=-abt24z29gK/0Y2pW5Ldd
Content-Disposition: attachment; filename=java-commapi-freebsd.patch
Content-Type: text/x-patch; name=java-commapi-freebsd.patch; charset=ASCII
Content-Transfer-Encoding: 7bit

--- work/freebsd-commapi-0.6/src/org/freebsd/io/comm/FreebsdDriver.java.ORIG	Sun Oct 24 00:06:14 2004
+++ work/freebsd-commapi-0.6/src/org/freebsd/io/comm/FreebsdDriver.java	Sun Oct 24 00:28:49 2004
@@ -55,7 +55,10 @@
 
                 String[] portPrefix = { "ttyd", //general purpose serial ports
                                         "cuaa", //dialout serial ports
+					"cuad", // dialout serial ports in 6.0
                                         "ucom", //USB serial ports
+					"ttyU", // general purpose USB serial ports
+					"cuaU", // dialout USB serial ports in 6.0
                                         "ttyA", //Specialix SI/XIO dialin ports
                                         "cuaA", //Specialix SI/XIO dialout ports
                                         "ttyD", //Digiboard - 16 dialin ports

--=-abt24z29gK/0Y2pW5Ldd--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1098592630.751.15.camel>