Subject: kern/24482: USB hints for Tripp-Lite usb-serial adaptor
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <mlh@goathill.org>
List: netbsd-bugs
Date: 02/18/2004 17:55:39
>Number:         24482
>Category:       kern
>Synopsis:       add uplcom support for Tripp-Lite serial adaptor
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 18 23:56:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     MLH
>Release:        NetBSD 1.6ZK
>Organization:
none
	
>Environment:
	
	
System: NetBSD tiamat.goathill.org 1.6ZK NetBSD 1.6ZK (APMVIA) #1: Wed Feb 18 16:57:04 CST 2004 mlh@tiamat.goathill.org:/opt/obj/opt/src/sys/arch/i386/compile/APMVIA i386
Architecture: i386
Machine: i386
>Description:
There was no support for the Tripp-Lite usb-serial adaptor Model # U209-000-R
which is almost identical to the ATEN/IOGEAR unit and even has the ATEN logo
in the housing (and cost about 1/2 as much). Apparently only the Manuf id
has been changed.
	
>How-To-Repeat:
	
>Fix:
diffs to allow it to work included below provide a working /dev/ttyU0 via:
uplcom0 at uhub1 port 2
uplcom0: Tripp-Lite Serial adapter (ATEN/IOGEAR/TRIPPLITE), rev 1.10/0.01, addr 2
ucom0 at uplcom0

Please adapt names, etc. as needed. I just wanted it to work.
---------------------------------------------------------
Index: uplcom.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/uplcom.c,v
retrieving revision 1.33
diff -u -r1.33 uplcom.c
--- uplcom.c	2004/01/05 13:29:08	1.33
+++ uplcom.c	2004/02/18 23:43:53
@@ -155,6 +155,8 @@
 	{ USB_VENDOR_ATEN, USB_PRODUCT_ATEN_UC232A },
 	/* IOGEAR/ATEN UC-232A */
 	{ USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_PL2303 },
+	/* IOGEAR/ATENTRIPPLITE */
+	{ USB_VENDOR_TRIPPLITE, USB_PRODUCT_TRIPPLITE_U209 },
 	/* ELECOM UC-SGT */
 	{ USB_VENDOR_ELECOM, USB_PRODUCT_ELECOM_UCSGT },
 	/* RATOC REX-USB60 */
Index: usbdevs
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs,v
retrieving revision 1.367
diff -u -r1.367 usbdevs
--- usbdevs	2004/01/28 21:56:51	1.367
+++ usbdevs	2004/02/18 23:43:54
@@ -380,6 +380,7 @@
 vendor DLINK		0x2001	D-Link
 vendor ERICSSON		0x2282	Ericsson
 vendor MOTOROLA2	0x22b8	Motorola
+vendor TRIPPLITE	0x2478	Tripp-Lite
 vendor HIROSE		0x2631	Hirose Electric
 vendor NHJ		0x2770  NHJ
 vendor VIDZMEDIA	0x3275	VidzMedia Pte Ltd
@@ -1558,6 +1559,9 @@
 /* Trek Technology products */
 product TREK THUMBDRIVE		0x1111	ThumbDrive
 product TREK THUMBDRIVE_8MB	0x9988	ThumbDrive 8MB
+
+/* Tripp-Lite products */
+product TRIPPLITE U209  	0x2008  U209 Serial adapter (ATEN/IOGEAR/TRIPPLITE UC232A)
 
 /* Trumpion products */
 product	TRUMPION T33521		0x1003	USB/MP3 decoder
Index: usbdevs.h
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs.h,v
retrieving revision 1.370
diff -u -r1.370 usbdevs.h
--- usbdevs.h	2004/01/28 21:57:11	1.370
+++ usbdevs.h	2004/02/18 23:43:54
@@ -387,6 +387,7 @@
 #define	USB_VENDOR_DLINK	0x2001		/* D-Link */
 #define	USB_VENDOR_ERICSSON	0x2282		/* Ericsson */
 #define	USB_VENDOR_MOTOROLA2	0x22b8		/* Motorola */
+#define	USB_VENDOR_TRIPPLITE	0x2478		/* Tripp-Lite */
 #define	USB_VENDOR_HIROSE	0x2631		/* Hirose Electric */
 #define	USB_VENDOR_NHJ	0x2770		/* NHJ */
 #define	USB_VENDOR_VIDZMEDIA	0x3275		/* VidzMedia Pte Ltd */
@@ -1565,6 +1566,9 @@
 /* Trek Technology products */
 #define	USB_PRODUCT_TREK_THUMBDRIVE	0x1111		/* ThumbDrive */
 #define	USB_PRODUCT_TREK_THUMBDRIVE_8MB	0x9988		/* ThumbDrive 8MB */
+
+/* Tripp-Lite products */
+#define	USB_PRODUCT_TRIPPLITE_U209	0x2008		/* Serial adapter */
 
 /* Trumpion products */
 #define	USB_PRODUCT_TRUMPION_T33521	0x1003		/* USB/MP3 decoder */
Index: usbdevs_data.h
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs_data.h,v
retrieving revision 1.371
diff -u -r1.371 usbdevs_data.h
--- usbdevs_data.h	2004/01/28 21:57:11	1.371
+++ usbdevs_data.h	2004/02/18 23:43:57
@@ -4509,6 +4509,13 @@
 	    "Trek Technology",
 	    "ThumbDrive 8MB",
 	},
+        {
+	    USB_VENDOR_TRIPPLITE, USB_PRODUCT_TRIPPLITE_U209,
+	    0,
+	    "Tripp-Lite",
+	    "Serial adapter (ATEN/IOGEAR/TRIPPLITE)",
+	},
+
 	{
 	    USB_VENDOR_TRUMPION, USB_PRODUCT_TRUMPION_T33521,
 	    0,
@@ -6825,5 +6832,12 @@
 	    "Hewlett Packard",
 	    NULL,
 	},
+        {
+	    USB_VENDOR_TRIPPLITE, 0,
+	    USB_KNOWNDEV_NOPROD,
+	    "Tripp-Lite",
+	    NULL,
+	},
+	
 	{ 0, 0, 0, NULL, NULL, }
 };
	
>Release-Note:
>Audit-Trail:
>Unformatted: