Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2005 19:58:19 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        ticso@cicely.de
Cc:        freebsd-usb@freebsd.org
Subject:   Re: uftdi serial adaptors (small patch)
Message-ID:  <6.2.1.2.0.20050331195044.037f52b0@64.7.153.2>
In-Reply-To: <20050331211515.GJ2072@cicely12.cicely.de>
References:  <6.2.1.2.0.20050331133331.04d109d0@64.7.153.2> <20050331202346.GH2072@cicely12.cicely.de> <6.2.1.2.0.20050331152926.0385c7d0@64.7.153.2> <20050331211515.GJ2072@cicely12.cicely.de>

next in thread | previous in thread | raw e-mail | index | archive | help
At 04:15 PM 31/03/2005, Bernd Walter wrote:
>On Thu, Mar 31, 2005 at 03:41:32PM -0500, Mike Tancsa wrote:
> > It says on the chip
> > FT2232C
> >  3704
>
>Great - we have a tester ;-)
>And sorry - I did know about this chip and should have warned
>you.

hehe, no worries.  These days I am used to products being totally different 
inside despite the name on the outside in short periods of time.

> > >FTDI devices share the same driver layout.
> > >There are additional features in newwer chips, but they have always
> > >been backward compatible.
> >
> >
> > I can send you one as well
>In the mean time you could add the product ID to uftdi.c.
>It is very likely that you get one port running by this.
>Will try setup a patch during the WE.

Yup, my initial twidling seems to get it to work.

[releng5-865]# diff -c usbdevs.prev usbdevs
*** usbdevs.prev        Thu Mar 31 17:21:09 2005
--- usbdevs     Thu Mar 31 17:24:33 2005
***************
*** 704,709 ****
--- 704,710 ----
   /* Future Technology Devices products */
   product FTDI SERIAL_8U100AX   0x8372  8U100AX Serial converter
   product FTDI SERIAL_8U232AM   0x6001  8U232AM Serial converter
+ product FTDI SERIAL_2232C     0x6010  Dual port Serial converter

   /* Fuji photo products */
   product FUJIPHOTO MASS0100    0x0100  Mass Storage
[releng5-865]#
[releng5-865]# diff -c uftdi.c.prev uftdi.c
*** uftdi.c.prev        Thu Mar 31 17:21:15 2005
--- uftdi.c     Thu Mar 31 17:24:20 2005
***************
*** 154,159 ****
--- 154,160 ----
         if (uaa->vendor == USB_VENDOR_FTDI &&
             (uaa->product == USB_PRODUCT_FTDI_SERIAL_8U100AX ||
              uaa->product == USB_PRODUCT_FTDI_SERIAL_8U232AM ||
+            uaa->product == USB_PRODUCT_FTDI_SERIAL_2232C ||
              uaa->product == USB_PRODUCT_FTDI_SEMC_DSS20 ||
              uaa->product == USB_PRODUCT_FTDI_CFA_631 ||
              uaa->product == USB_PRODUCT_FTDI_CFA_632 ||
***************
*** 226,231 ****
--- 227,233 ----
                         break;
                 case USB_PRODUCT_FTDI_SEMC_DSS20:
                 case USB_PRODUCT_FTDI_SERIAL_8U232AM:
+               case USB_PRODUCT_FTDI_SERIAL_2232C:
                 case USB_PRODUCT_FTDI_CFA_631:
                 case USB_PRODUCT_FTDI_CFA_632:
                 case USB_PRODUCT_FTDI_CFA_633:
[releng5-865]#

[releng5-865]# usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x0000), rev 1.00
  port 1 powered
  port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x0000), rev 1.00
  port 1 addr 2: full speed, power 90 mA, config 1, USB FAST SERIAL 
ADAPTER(0x6010), FTDI(0x0403), rev 5.00
  port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x0000), rev 1.00
  port 1 powered
  port 2 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x0000), rev 1.00
  port 1 powered
  port 2 powered
[releng5-865]#

[releng5-865]# dmesg | grep uco
ucom0: FTDI USB FAST SERIAL ADAPTER, rev 2.00/5.00, addr 2
[releng5-865]#

However, this only shows up as one serial port where as this is a dual 
model.  But it seems to work so far in that my modem connection is working.

         ---Mike


         ---Mike





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