ports/140187: Updated list of supported serial ports in RXTX library

Brian Williamson bwilliamson at bex.net
Mon Nov 2 02:50:03 UTC 2009


>Number:         140187
>Category:       ports
>Synopsis:       Updated list of supported serial ports in RXTX library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 02 02:50:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Brian Williamson
>Release:        8.0RC2
>Organization:
>Environment:
FreeBSD 8.0-RC2
>Description:
Default serial driver in GENERIC is uart.  This names the ports /dev/ttyuX and /dev/cuauX which is not supported by rxtx. Created/updated patch to add these identifiers to the supported list.
>How-To-Repeat:

>Fix:
Apply patch.

Patch attached with submission follows:

*** src/RXTXCommDriver.java.orig	Sun Jan 29 23:37:49 2006
--- src/RXTXCommDriver.java	Sun Nov  1 19:36:18 2009
***************
*** 588,597 ****
--- 588,601 ----
  					else if(osName.equals("FreeBSD")) //FIXME this is probably wrong
  					{
  						String[] Temp = {
  							"ttyd",    //general purpose serial ports
  							"cuaa",    //dialout serial ports
+ 							"ttyu",    //general purpose serial ports (uart)
+ 							"cuau",    //dialout serial ports (uart)
+ 							"ttyD",    //USB serial ports
+ 							"cuaU",    //USB dial in serial ports
  							"ttyA",    //Specialix SI/XIO dialin ports
  							"cuaA",    //Specialix SI/XIO dialout ports
  							"ttyD",    //Digiboard - 16 dialin ports
  							"cuaD",    //Digiboard - 16 dialout ports
  							"ttyE",    //Stallion EasyIO (stl) dialin ports


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



More information about the freebsd-ports-bugs mailing list