Subject: kern/35512: Willcom WS002IN PHS device support request
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <kawamoto@tenjin.org>
List: netbsd-bugs
Date: 01/29/2007 10:15:01
>Number:         35512
>Category:       kern
>Synopsis:       Willcom WS002IN PHS device support request
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 29 10:15:00 +0000 2007
>Originator:     KAWAMOTO Yosihisa
>Release:        NetBSD 4.99.9
>Organization:
	tenjin.org
>Environment:
System: NetBSD lucy.tenjin.org 4.99.9 NetBSD 4.99.9 (LUCY0) #28: Mon Jan 22 13:24:18 JST 2007 kawamoto@linus.ics.es.osaka-u.ac.jp:/var/obj/var/src/sys/arch/i386/compile/LUCY0 i386
Architecture: i386
Machine: i386
>Description:
	Willcom WS002IN PHS device support request.
>How-To-Repeat:
	Please apply a following patch.
>Fix:

Index: sys/dev/usb/uplcom.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/uplcom.c,v
retrieving revision 1.50
diff -u -r1.50 uplcom.c
--- sys/dev/usb/uplcom.c	16 Nov 2006 01:33:27 -0000	1.50
+++ sys/dev/usb/uplcom.c	29 Jan 2007 08:27:33 -0000
@@ -191,6 +191,8 @@
 	{ USB_VENDOR_SITECOM, USB_PRODUCT_SITECOM_CN104 },
 	/* Pharos USB GPS - Microsoft version */
 	{ USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_PL2303X },
+	/* Willcom WS002IN (DD) */
+	{ USB_VENDOR_PROLIFIC2, USB_PRODUCT_PROLIFIC2_PL2303X },
 };
 #define uplcom_lookup(v, p) usb_lookup(uplcom_devs, v, p)
 
@@ -201,6 +203,7 @@
 } uplcom_devs_ext[] = {
 	/* I/O DATA USB-RSAQ3 */
 	{ USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_RSAQ3, UPLCOM_TYPE_HX },
+	{ USB_VENDOR_PROLIFIC2, USB_PRODUCT_PROLIFIC2_PL2303X, UPLCOM_TYPE_HX },
 	{0, 0, 0}
 };
 
Index: sys/dev/usb/usbdevs
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs,v
retrieving revision 1.450
diff -u -r1.450 usbdevs
--- sys/dev/usb/usbdevs	22 Jan 2007 19:39:37 -0000	1.450
+++ sys/dev/usb/usbdevs	29 Jan 2007 08:27:34 -0000
@@ -419,6 +419,7 @@
 vendor ACERCM		0x1189	Acer Communications & Multimedia
 vendor SIERRA		0x1199	Sierra Wireless
 vendor TOPFIELD		0x11db	Topfield Co., Ltd
+vendor PROLIFIC2	0x11f6	Prolific Technology
 vendor TSUNAMI		0x1241	Tsunami
 vendor TARGUS		0x1267	Targus
 vendor CREATIVE2	0x1292	Creative Labs
@@ -1648,6 +1649,7 @@
 product PROLIFIC ATAPI4		0x2307	ATAPI-4 Bridge Controller
 product PROLIFIC PL2501		0x2501	PL2501 Host-Host interface
 product PROLIFIC PL2303X	0xaaa0	PL2303 Serial adapter (Pharos GPS)
+product PROLIFIC2 PL2303X	0x2001  Willcom WS002IN (DD)
 
 /* Putercom products */
 product PUTERCOM UPA100		0x047e	USB-1284 BRIDGE