Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Nov 2009 02:45:20 GMT
From:      Brian Williamson <bwilliamson@bex.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/140187: Updated list of supported serial ports in RXTX library
Message-ID:  <200911020245.nA22jKtI094725@www.freebsd.org>
Resent-Message-ID: <200911020250.nA22o3Fc061932@freefall.freebsd.org>

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

>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:



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