- Recognize USB serial ports

PR:		ports/127555
Submitted by:	Takeshi MUTOH <mutoh@openedu.org>
This commit is contained in:
Pav Lucistnik 2008-11-14 12:31:51 +00:00
parent 5f50875a82
commit b2dc840ac2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222833
2 changed files with 12 additions and 1 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= rxtx
PORTVERSION= 2.1.7r2
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= comms java
MASTER_SITES= ftp://jarvi.dsl.frii.com/pub/rxtx/
PKGNAMESUFFIX= -${JAVA_PORT:S/java\///}

View file

@ -0,0 +1,11 @@
--- src/RXTXCommDriver.java.orig 2006-01-30 05:37:49.000000000 +0100
+++ src/RXTXCommDriver.java 2008-11-14 13:23:47.000000000 +0100
@@ -590,6 +590,8 @@
String[] Temp = {
"ttyd", //general purpose serial ports
"cuaa", //dialout serial ports
+ "ttyU", //USB serial ports
+ "cuaU", //USB dialout serial ports
"ttyA", //Specialix SI/XIO dialin ports
"cuaA", //Specialix SI/XIO dialout ports
"ttyD", //Digiboard - 16 dialin ports