>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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 23 05:30:06 UTC 2010
>Originator:     John Wehle
>Release:        8.1
FreeBSD wagner 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Wed Aug 18 13:46:05 EDT 2010 
    r...@wagner:/usr/obj/usr/src/sys/CUSTOM  i386
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.
Attach a usb-uirt and notice that it doesn't register with uftdi.
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, MX2_3, 8U232AM),
        UFTDI_DEV(FTDI, MX4_5, 8U232AM),

freebsd-usb@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to