From owner-freebsd-usb@FreeBSD.ORG Fri Apr 1 00:58:43 2005 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7388D16A4CF for ; Fri, 1 Apr 2005 00:58:43 +0000 (GMT) Received: from avscan2.sentex.ca (avscan2.sentex.ca [199.212.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id E114943D49 for ; Fri, 1 Apr 2005 00:58:42 +0000 (GMT) (envelope-from mike@sentex.net) Received: from localhost (localhost.sentex.ca [127.0.0.1]) by avscan2.sentex.ca (8.12.11/8.12.11) with ESMTP id j310wfcB040858; Thu, 31 Mar 2005 19:58:41 -0500 (EST) (envelope-from mike@sentex.net) Received: from avscan2.sentex.ca ([127.0.0.1]) by localhost (avscan2.sentex.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 40301-05; Thu, 31 Mar 2005 19:58:41 -0500 (EST) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by avscan2.sentex.ca (8.12.11/8.12.11) with ESMTP id j310wfmC040834; Thu, 31 Mar 2005 19:58:41 -0500 (EST) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.12.11/8.12.11) with ESMTP id j310wXDr028918; Thu, 31 Mar 2005 19:58:33 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <6.2.1.2.0.20050331195044.037f52b0@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.1.2 Date: Thu, 31 Mar 2005 19:58:19 -0500 To: ticso@cicely.de From: Mike Tancsa 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new X-Virus-Scanned: by amavisd-new at avscan2b cc: freebsd-usb@freebsd.org Subject: Re: uftdi serial adaptors (small patch) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 00:58:43 -0000 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