ports/127555: comms/rxtx : USB serial device can not use
Takeshi MUTOH
mutoh at openedu.org
Tue Sep 23 06:50:01 UTC 2008
>Number: 127555
>Category: ports
>Synopsis: comms/rxtx : USB serial device can not use
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 23 06:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Takeshi MUTOH <mutoh at openedu.org>
>Release: FreeBSD 6.3-RELEASE-p1 i386
>Organization:
610t
>Environment:
FreeBSD sacraya.610t.org 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0: Wed Feb 13 02:56:56 UTC 2008 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP i386
>Description:
The comms/rxtx which is serial and parallel I/O libraries for Java
don't know "/dev/ttyU*" are valid serial devices, so we can not use
USB serial using this library.
>How-To-Repeat:
>Fix:
Apply patch below:
diff -ruN rxtx.org/files/patch-RXTXCommDriver.java rxtx/files/patch-RXTXCommDriver.java
--- rxtx.org/files/patch-RXTXCommDriver.java 1970-01-01 09:00:00.000000000 +0900
+++ rxtx/files/patch-RXTXCommDriver.java 2008-09-22 20:23:05.000000000 +0900
@@ -0,0 +1,10 @@
+--- src/RXTXCommDriver.java.org 2008-09-22 20:39:29.000000000 +0900
++++ src/RXTXCommDriver.java 2008-09-22 20:40:08.000000000 +0900
+@@ -591,6 +591,7 @@
+ "ttyd", //general purpose serial ports
+ "cuaa", //dialout serial ports
+ "ttyA", //Specialix SI/XIO dialin ports
++ "ttyU", //USB serial ports
+ "cuaA", //Specialix SI/XIO dialout ports
+ "ttyD", //Digiboard - 16 dialin ports
+ "cuaD", //Digiboard - 16 dialout ports
I am not familier about FreeBSD USB serials, so I don't know this
patch is enough.
For example, "/dev/cuaU*" devices is not support in this patch.
If more device letter is needed, please comment.
--
Takeshi MUTOH <mutoh at openedu.org>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list