Date: Sun, 27 Feb 2005 21:28:07 GMT From: Reinhard Speyerer <rspmn@arcor.de> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/78166: [patch] Add Sitecom CN104 USB to serial adapter to uplcom(4) Message-ID: <200502272128.j1RLS7Cf048319@www.freebsd.org> Resent-Message-ID: <200502272130.j1RLUMNq062266@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 78166
>Category: kern
>Synopsis: [patch] Add Sitecom CN104 USB to serial adapter to uplcom(4)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 27 21:30:22 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Reinhard Speyerer
>Release: FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
FreeBSD hazel 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
The USB id for the Sitecom CN104 USB to serial adapter is missing from uplcom.c.
>How-To-Repeat:
Attach a CN104 to an USB port of a FreeBSD system and check that it is recognized as an ugen(4) device although uplcom.ko is loaded.
>Fix:
Apply the following patch to usbdevs and uplcom.c from -current:
--- usbdevs-1.224 Sun Feb 27 21:17:45 2005
+++ usbdevs Sun Feb 27 21:31:26 2005
@@ -1376,6 +1376,7 @@
/* Sitecom products */
product SITECOM LN029 0x182d USB 2.0 Ethernet
+product SITECOM CN104 0x2068 CN104 Serial
/* SmartBridges products */
product SMARTBRIDGES SMARTLINK 0x0001 SmartLink USB ethernet
--- uplcom.c-1.27 Sun Feb 27 21:15:18 2005
+++ uplcom.c Sun Feb 27 21:34:31 2005
@@ -256,6 +256,8 @@
-1, TYPE_PL2303 },
/* HAL Corporation Crossam2+USB */
{ USB_VENDOR_HAL, USB_PRODUCT_HAL_IMR001, -1, TYPE_PL2303 },
+ /* Sitecom CN104 */
+ { USB_VENDOR_SITECOM, USB_PRODUCT_SITECOM_CN104, -1, TYPE_PL2303X },
{ 0, 0 }
};
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502272128.j1RLS7Cf048319>
