Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Aug 2005 18:18:51 GMT
From:      "Valentin A. Alekseev" <valeks@novel-il.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/84651: comms/java-commapi-freebsd lacks support for cuad* ports
Message-ID:  <200508071818.j77IIpjB035533@www.freebsd.org>
Resent-Message-ID: <200508071820.j77IKGuf061658@freefall.freebsd.org>

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

>Number:         84651
>Category:       ports
>Synopsis:       comms/java-commapi-freebsd lacks support for cuad* ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 07 18:20:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Valentin A. Alekseev
>Release:        FreeBSD-CURRENT
>Organization:
JTT "Novel-IL"
>Environment:
FreeBSD alpha.valabs.local 7.0-CURRENT FreeBSD 7.0-CURRENT #10: Thu Jul 28 00:42:10 MSD 2005     root@alpha.valabs.local:/usr/src-FreeBSD-7-CURRENT/sys/i386/compile/ALPHA.PF  i386
>Description:
After the following commit: http://www.freebsd.org/cgi/getmsg.cgi?fetch=2081771+0+/usr/local/www/db/text/2004/cvs-all/20041017.cvs-all
FreeBSD provider for Java CommAPI is unable to find any cuad* ports.

Maintainer (ari.suutari<at>syncrontech.com) was notified 29 July 2005.
>How-To-Repeat:
Install comms/java-commapi-freebsd on a system after that commit and try
to start a BlackBox example provided:
% java -cp BlackBox.jar BlackBox
No serial ports found!
>Fix:
Apply the following patch agains FreebsdDriver.java
--- FreebsdDriver.java.orig	Fri Jul 29 11:20:55 2005
+++ FreebsdDriver.java	Fri Jul 29 11:21:53 2005
@@ -55,6 +55,7 @@
 
                 String[] portPrefix = { "ttyd", //general purpose serial ports
                                         "cuaa", //dialout serial ports
+					"cuad", //new style dialout serial ports
                                         "ucom", //USB serial ports
                                         "ttyA", //Specialix SI/XIO dialin ports
                                         "cuaA", //Specialix SI/XIO dialout ports

>Release-Note:
>Audit-Trail:
>Unformatted:



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