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. Fix: Apply patch below: 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@openedu.org>--VPWjdqC5T9dt9ngD6NUSmNjonVM0fV3kOlvCInXmBr25kosV Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" 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
State Changed From-To: open->closed Committed, thanks! I have added cuaU too.
pav 2008-11-14 12:31:51 UTC FreeBSD ports repository Modified files: comms/rxtx Makefile Added files: comms/rxtx/files patch-RXTXCommDriver.java Log: - Recognize USB serial ports PR: ports/127555 Submitted by: Takeshi MUTOH <mutoh@openedu.org> Revision Changes Path 1.19 +1 -1 ports/comms/rxtx/Makefile 1.1 +11 -0 ports/comms/rxtx/files/patch-RXTXCommDriver.java (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"