Bug 225810

Summary: [uftdi] [patch] kernel/usb/uftdi patch to recognize a TIAO USB Multi Protocol Adapter (TUMPA)
Product: Base System Reporter: heathn
Component: usbAssignee: Ian Lepore <ian>
Status: Closed FIXED    
Severity: Affects Only Me CC: ian
Priority: --- Keywords: patch
Version: 11.1-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch adding the product id to uftdi driver none

Description heathn 2018-02-10 20:20:47 UTC
Created attachment 190489 [details]
Patch adding the product id to uftdi driver

This patch add support for the TIAO USB Multi Protocol Adapter (TUMPA)
(http://www.tiaowiki.com/w/TIAO_USB_Multi_Protocol_Adapter_User%27s_Manual) using a FT2232H chip.

Before patch
/var/log/messages:

Feb  9 19:16:09 hershey kernel: ugen0.5: <TIAO TIAO USB Multi-Protocol Adapter> at usbus0
Feb  9 19:16:10 hershey root: Unknown USB device: vendor 0x0403 product 0x8a98 bus uhub3
Feb  9 19:16:10 hershey root: Unknown USB device: vendor 0x0403 product 0x8a98 bus uhub3

After patch:

Feb  9 20:14:15 hershey kernel: ugen0.5: <TIAO TIAO USB Multi-Protocol Adapter> at usbus0
Feb  9 20:14:15 hershey kernel: uftdi0 on uhub3
Feb  9 20:14:15 hershey kernel: uftdi0: <TIAO USB Multi-Protocol Adapter> on usbus0
Feb  9 20:14:15 hershey kernel: uftdi1 on uhub3
Feb  9 20:14:15 hershey kernel: uftdi1: <TIAO USB Multi-Protocol Adapter> on usbus0
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-02-11 16:35:34 UTC
A commit references this bug:

Author: ian
Date: Sun Feb 11 16:35:24 UTC 2018
New revision: 329125
URL: https://svnweb.freebsd.org/changeset/base/329125

Log:
  Add a device ID to uftdi for TIAO USB Multi Protocol Adapter (TUMPA).

  PR:		225810

Changes:
  head/sys/dev/usb/serial/uftdi.c
  head/sys/dev/usb/usbdevs
Comment 2 Ian Lepore freebsd_committer freebsd_triage 2018-02-11 16:38:37 UTC
Patch applied, thank you.  I'll close the PR after I MFC the changes to older branches, hopefully within a week or so.
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-03-24 21:53:49 UTC
A commit references this bug:

Author: ian
Date: Sat Mar 24 21:53:02 UTC 2018
New revision: 331500
URL: https://svnweb.freebsd.org/changeset/base/331500

Log:
  MFC r329125-r329126

  r329125:
  Add a device ID to uftdi for TIAO USB Multi Protocol Adapter (TUMPA).

  PR:		225810

  r329126:
  Regenerate devd/usb.conf after the recent addition of several new device IDs.

Changes:
_U  stable/11/
  stable/11/etc/devd/usb.conf
  stable/11/sys/dev/usb/serial/uftdi.c
  stable/11/sys/dev/usb/usbdevs