Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2006 16:41:44 GMT
From:      Nick Gustas <freebsdpr@tychl.txf.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   usb/93347: Added support for Tripplite U209-000-R Usb-Serial adapter
Message-ID:  <200602141641.k1EGfi45033527@www.freebsd.org>
Resent-Message-ID: <200602141650.k1EGo427002877@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93347
>Category:       usb
>Synopsis:       Added support for Tripplite U209-000-R Usb-Serial adapter
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 14 16:50:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Nick Gustas
>Release:        6.1-BETA1
>Organization:
SPI
>Environment:
FreeBSD captive.roc.lan 6.1-BETA1 FreeBSD 6.1-BETA1 #0: Wed Feb  1 21:59:39 UTC 2006     root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386 
>Description:
Patch to "add" support for the Tripplite U209-000-R usb to serial adapter.

uplcom.c ver 1.29 from FreeBSD 6.1-BETA1 doesn't support the Tripplite U209-000-R, I tried 1.31 from HEAD, and it also didn't support it. Device shows up as gen0 instead of ucom0

Hopefully this can be added before 6.1 is released.

>How-To-Repeat:
captive# kldload /boot/kernel/uplcom.ko
captive# kldstat
Id Refs Address    Size     Name
 1    7 0xc0400000 640478   kernel
 2    1 0xc0a41000 58554    acpi.ko
 3    2 0xc1bf5000 3000     ucom.ko
 4    1 0xc1cae000 3000     uplcom.ko


ugen0: Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00, addr 2


captive# usbdevs -a 2 -v
Controller /dev/usb0:
Controller /dev/usb1:
addr 2: full speed, power 100 mA, config 1, USB-Serial Controller(0x2008), Prolific Technology Inc.(0x2478), rev 3.00
Controller /dev/usb2:

       
>Fix:
Patch for uplcom.c ver 1.29


--- uplcom.c~   Tue Feb 14 12:29:20 2006
+++ uplcom.c    Tue Feb 14 12:29:20 2006
@@ -241,6 +241,8 @@
        /* IOGEAR/ATEN UC-232A (also ST Lab USB-SERIAL-1) */
        { USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_PL2303, -1, TYPE_PL2303 },
        /* TDK USB-PHS Adapter UHA6400 */
+        /* Tripplite U209-000-R */
+        { USB_VENDOR_TRIPPLITE, USB_PRODUCT_ATEN_UC232A, -1, TYPE_PL2303X },
        { USB_VENDOR_TDK, USB_PRODUCT_TDK_UHA6400, -1, TYPE_PL2303 },
        /* RATOC REX-USB60 */
        { USB_VENDOR_RATOC, USB_PRODUCT_RATOC_REXUSB60, -1, TYPE_PL2303 },



-----



cd /usr/src/sys/dev/usb

patch < patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- uplcom.c~  Tue Feb 14 12:29:20 2006
|+++ uplcom.c   Tue Feb 14 12:29:20 2006
--------------------------
Patching file uplcom.c using Plan A...
Hunk #1 succeeded at 241.
done

cd /usr/src/sys/modules/uplcom

make

kldload ./uplcom.ko

ucom0: Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00, addr 2

cu -l /dev/cuaU0
Connected
at
OK





>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602141641.k1EGfi45033527>