NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/39971: Add support for Corega CG-USBRS232R as a serial port
>Number: 39971
>Category: kern
>Synopsis: Add support for Corega CG-USBRS232R as a serial port
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Nov 20 09:35:00 +0000 2008
>Originator: SHIMAOKA Shunsuke
>Release: NetBSD 5.99.02
>Organization:
>Environment:
vmware 5.99.02 NetBSD 5.99.02 (GENERIC) #0: Sun Nov 16 00:54:26 JST 2008
root@vmware:/usr/obj/sys/arch/i386/compile/GENERIC i386
>Description:
CG-USBRS232R is detected as ugen0, while it can be serial port.
dmesg output follows:
ugen1 at uhub0 port 1
ugen1: Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00, addr 3
>How-To-Repeat:
Connect CG-USBRS232R to NetBSD.
>Fix:
This patch adds support for Corega CG-USBRS232R.
Index: uplcom.c
===================================================================
RCS file: /cvs/cvsroot/src/sys/dev/usb/uplcom.c,v
retrieving revision 1.66
diff -u -r1.66 uplcom.c
--- uplcom.c 16 Sep 2008 20:00:17 -0000 1.66
+++ uplcom.c 16 Nov 2008 10:19:23 -0000
@@ -189,6 +189,8 @@
{ USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_PL2303X },
/* Willcom WS002IN (DD) */
{ USB_VENDOR_NETINDEX, USB_PRODUCT_NETINDEX_WS002IN },
+ /* COREGA CG-USBRS232R */
+ { USB_VENDOR_COREGA, USB_PRODUCT_COREGA_CGUSBRS232R },
};
#define uplcom_lookup(v, p) usb_lookup(uplcom_devs, v, p)
Index: usbdevs
===================================================================
RCS file: /cvs/cvsroot/src/sys/dev/usb/usbdevs,v
retrieving revision 1.519
diff -u -r1.519 usbdevs
--- usbdevs 25 Oct 2008 17:35:44 -0000 1.519
+++ usbdevs 16 Nov 2008 10:19:27 -0000
@@ -875,6 +875,7 @@
product COREGA CGWLUSB2GL 0x002d CG-WLUSB2GL
product COREGA CGWLUSB2GPX 0x002e CG-WLUSB2GPX
product COREGA FETHER_USB_TXC 0x9601 FEther USB-TXC
+product COREGA CGUSBRS232R 0x002a CG-USBRS232R
/* Creative products */
product CREATIVE NOMAD_II 0x1002 Nomad II MP3 player
Home |
Main Index |
Thread Index |
Old Index