usb/149900: FreeBSD 8.1 uftdi patch to support usb-uirt

John Wehle john at feith.com
Mon Aug 23 05:30:07 UTC 2010


>Number:         149900
>Category:       usb
>Synopsis:       FreeBSD 8.1 uftdi patch to support usb-uirt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 23 05:30:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     John Wehle
>Release:        8.1
>Organization:
>Environment:
FreeBSD wagner 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Wed Aug 18 13:46:05 EDT 2010     root at wagner:/usr/obj/usr/src/sys/CUSTOM  i386
>Description:
The enclosed lightly tested patch allows uftdi to recognize the usb-uirt
which is an universal infrared receiver transmitter (more information is
at: http://www.usbuirt.com ).  lirc expects it to show up as a com port.
I modified a version of lirc so it would build on FreeBSD to verify that
I could talk to the usb-uirt once the patch was applied.
>How-To-Repeat:
Attach a usb-uirt and notice that it doesn't register with uftdi.
>Fix:
Apply attached patch.

Patch attached with submission follows:

*** dev/usb/usbdevs.ORIGINAL	Sun Jun 13 22:09:06 2010
--- dev/usb/usbdevs	Sun Aug 22 01:04:33 2010
*************** product FTDI EMCU2D		0xe88a	Expert mouse
*** 1520,1525 ****
--- 1520,1526 ----
  product FTDI PCMSFU		0xe88b	Precision Clock MSF USB
  product FTDI EMCU2H		0xe88c	Expert mouseCLOCK USB II HBG
  product	FTDI MAXSTREAM		0xee18	Maxstream PKG-U
+ product FTDI USB_UIRT		0xf850	USB-UIRT
  product FTDI USBSERIAL		0xfa00	Matrix Orbital USB Serial
  product FTDI MX2_3		0xfa01	Matrix Orbital MX2 or MX3
  product FTDI MX4_5		0xfa02	Matrix Orbital MX4 or MX5
*** dev/usb/serial/uftdi.c.ORIGINAL	Sun Jun 13 22:09:06 2010
--- dev/usb/serial/uftdi.c	Sun Aug 22 04:12:00 2010
*************** static struct usb_device_id uftdi_devs[]
*** 232,237 ****
--- 232,238 ----
  	UFTDI_DEV(FTDI, CFA_633, 8U232AM),
  	UFTDI_DEV(FTDI, CFA_634, 8U232AM),
  	UFTDI_DEV(FTDI, CFA_635, 8U232AM),
+ 	UFTDI_DEV(FTDI, USB_UIRT, 8U232AM),
  	UFTDI_DEV(FTDI, USBSERIAL, 8U232AM),
  	UFTDI_DEV(FTDI, MX2_3, 8U232AM),
  	UFTDI_DEV(FTDI, MX4_5, 8U232AM),


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


More information about the freebsd-usb mailing list