Date: Tue, 26 Oct 2004 21:16:35 GMT From: Scott Price <prices@dflytech.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/73178: Add vendor and product ids for the B&B Electronics USB->RS422/485 adapter Message-ID: <200410262116.i9QLGZqi098895@www.freebsd.org> Resent-Message-ID: <200410262120.i9QLKQBs010455@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 73178 >Category: misc >Synopsis: Add vendor and product ids for the B&B Electronics USB->RS422/485 adapter >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: Tue Oct 26 21:20:25 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Scott Price >Release: >Organization: >Environment: FreeBSD foxinsocks.int.dflytech.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: The B&B Electronics USB->RS422/485 adapter uses the FTDI 8U232AM chip for its USB. With the updates in the patch (just adding the vendor and product codes) the uftdi driver works fine. >How-To-Repeat: Added functionality. >Fix: --- usbdevs.orig Tue Oct 26 09:00:49 2004 +++ usbdevs Tue Oct 26 09:03:40 2004 @@ -368,6 +368,7 @@ vendor DAISY 0x3579 Daisy Technology vendor INTEL 0x8086 Intel vendor HP2 0xf003 Hewlett Packard +vendor BBELECTRONICS 0x0856 B&B Electronics /* * List of known products. Grouped by vendor. @@ -1247,3 +1248,6 @@ /* ZyXEL Communication Co. products */ product ZYXEL OMNI56K 0x1500 Omni 56K Plus product ZYXEL 980N 0x2011 Scorpion-980N keyboard + +/* B&B Electronics products */ +product BBELECTRONICS USOTL4 0xAC01 uLinks Isolated RS-422/485 to USB adapter --- uftdi.c.orig Tue Oct 26 16:01:16 2004 +++ uftdi.c Tue Oct 26 09:46:49 2004 @@ -155,6 +155,11 @@ uaa->product == USB_PRODUCT_FTDI_SERIAL_8U232AM)) return (UMATCH_VENDOR_PRODUCT); + if (uaa->vendor == USB_VENDOR_BBELECTRONICS && + (uaa->product == USB_PRODUCT_BBELECTRONICS_USOTL4)) + return (UMATCH_VENDOR_PRODUCT); + + return (UMATCH_NONE); } @@ -205,6 +210,10 @@ sc->sc_hdrlen = 1; break; + case USB_PRODUCT_BBELECTRONICS_USOTL4: + sc->sc_type = UFTDI_TYPE_8U232AM; + sc->sc_hdrlen = 0; + break; case USB_PRODUCT_FTDI_SERIAL_8U232AM: sc->sc_type = UFTDI_TYPE_8U232AM; sc->sc_hdrlen = 0; break; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410262116.i9QLGZqi098895>