From nobody@FreeBSD.org  Mon Nov 16 22:43:28 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E2B5A1065679
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Nov 2009 22:43:28 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id B82338FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Nov 2009 22:43:28 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nAGMhSlH028173
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Nov 2009 22:43:28 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id nAGMhSjK028172;
	Mon, 16 Nov 2009 22:43:28 GMT
	(envelope-from nobody)
Message-Id: <200911162243.nAGMhSjK028172@www.freebsd.org>
Date: Mon, 16 Nov 2009 22:43:28 GMT
From: "David P. Discher" <dpd@dpdtech.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: adding support for Radio Shack Gigware USB to Serial cable (26-949) to uplcom
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         140614
>Category:       kern
>Synopsis:       [uplcom] [patch] adding support for Radio Shack Gigware USB to Serial cable (26-949) to uplcom
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 16 22:50:01 UTC 2009
>Closed-Date:    Thu Sep 23 10:31:38 UTC 2010
>Last-Modified:  Thu Sep 23 10:31:38 UTC 2010
>Originator:     David P. Discher
>Release:        -head
>Organization:
>Environment:
>Description:
Adding support to the uplcom driver so that the Radio Shack Gigaware (26-949) USB to Serial cable can be used as a serial port for freebsd.

Attached is a patch, generated from -head, r199338, but should also apply cleanly to most 8-stable revisions.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: share/man/man4/uplcom.4
===================================================================
--- share/man/man4/uplcom.4	(revision 406)
+++ share/man/man4/uplcom.4	(working copy)
@@ -106,6 +106,8 @@
 .It
 Radio Shack USB Serial Cable
 .It
+Radio Shack Gigaware USB-A to Serial Cable (Part Number 26-949)
+.It
 Sandberg USB to Serial Link (model number 133-08)
 .It
 SOURCENEXT KeikaiDenwa 8 (with and without charger)
Index: sys/dev/usb/serial/uplcom.c
===================================================================
--- sys/dev/usb/serial/uplcom.c	(revision 406)
+++ sys/dev/usb/serial/uplcom.c	(working copy)
@@ -284,6 +284,8 @@
 	/* Tripp-Lite U209-000-R */
 	{USB_UPL(USB_VENDOR_TRIPPLITE, USB_PRODUCT_TRIPPLITE_U209, 0, 0xFFFF, TYPE_PL2303X)},
 	{USB_UPL(USB_VENDOR_RADIOSHACK, USB_PRODUCT_RADIOSHACK_USBCABLE, 0, 0xFFFF, TYPE_PL2303)},
+	/* Radio Shack Gigaware Part Number 26-949 */
+	{USB_UPL(USB_VENDOR_YCCABLE, USB_PRODUCT_RADIOSHACK_USBCABLE2, 0, 0xFFFF, TYPE_PL2303)},
 	/* Prolific Pharos */
 	{USB_UPL(USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_PHAROS, 0, 0xFFFF, TYPE_PL2303)},
 	/* Willcom W-SIM */
Index: sys/dev/usb/usbdevs
===================================================================
--- sys/dev/usb/usbdevs	(revision 406)
+++ sys/dev/usb/usbdevs	(working copy)
@@ -2065,6 +2065,8 @@
 
 /* Radio Shack */
 product RADIOSHACK USBCABLE	0x4026	USB to Serial Cable
+/* Radio Shack Gigaware part number 26-949 */
+product RADIOSHACK USBCABLE2 0x0FBA	USB to Serial Cable
 
 /* Rainbow Technologies products */
 product RAINBOW IKEY2000	0x1200	i-Key 2000


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-usb 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Nov 16 23:19:21 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=140614 
State-Changed-From-To: open->closed 
State-Changed-By: gavin 
State-Changed-When: Thu Sep 23 10:28:38 UTC 2010 
State-Changed-Why:  
This was supported in head in r211111/r2111153, which are now 
merged to stable/8.  Thanks for your submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=140614 
>Unformatted:
