Subject: kern/34861: Added IrTrans USB to the uftdi driver
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <clan@wheel.dk>
List: netbsd-bugs
Date: 10/19/2006 11:15:00
>Number:         34861
>Category:       kern
>Synopsis:       Added IrTrans USB to the uftdi driver
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 19 11:15:00 +0000 2006
>Originator:     Claus Andersen
>Release:        3.0.1
>Organization:
Added IRTrans
>Environment:
NetBSD eden 3.0.1 NetBSD 3.0.1 (EDEN) #9: Sat Oct 14 15:11:46 CEST 2006  clan@eden:/usr/src/sys/arch/i386/compile/EDEN i386

>Description:
I have had my hands on a IrTrans USB IR transmitter/reciever so I added it to the uftdi driver.

It is a simple update just adding the ProductID.

Files concerned:
sys/dev/usb/uftdi.c
sys/dev/usb/usbdevs
share/man/man4/uftdi.4

Relevant dmesg:
uftdi0 at uhub0 port 1
uftdi0: IRTrans IRTrans USB, rev 1.10/4.00, addr 2
ucom0 at uftdi0 portno 1: portno 1

>How-To-Repeat:

>Fix:
/sys/dev/usb/uftdi.c

--- uftdi.c.org3        2006-10-14 14:08:14.000000000 +0200
+++ uftdi.c     2006-10-14 14:11:15.000000000 +0200
@@ -132,6 +132,7 @@
        { USB_VENDOR_BBELECTRONICS, USB_PRODUCT_BBELECTRONICS_USOTL4 },
        { USB_VENDOR_FALCOM, USB_PRODUCT_FALCOM_TWIST },
        { USB_VENDOR_FALCOM, USB_PRODUCT_FALCOM_SAMBA },
+       { USB_VENDOR_FTDI, USB_PRODUCT_FTDI_IRTRANS_USB },
        { USB_VENDOR_FTDI, USB_PRODUCT_FTDI_SERIAL_8U100AX },
        { USB_VENDOR_FTDI, USB_PRODUCT_FTDI_SERIAL_8U232AM },
        { USB_VENDOR_FTDI, USB_PRODUCT_FTDI_MHAM_KW },


/sys/dev/usb/usbdevs

--- usbdevs.org3        2006-10-14 14:03:20.000000000 +0200
+++ usbdevs     2006-10-14 14:07:12.000000000 +0200
@@ -884,6 +884,7 @@
 product FTDI LCD_CFA_633       0xfc0b  Crystalfontz CFA-633 LCD
 product FTDI LCD_CFA_631       0xfc0c  Crystalfontz CFA-631 LCD
 product FTDI LCD_CFA_635       0xfc0d  Crystalfontz CFA-635 LCD
+product FTDI IRTRANS_USB       0xfc60  IRTrans USB
 product FTDI SEMC_DSS20                0xfc82  SEMC DSS-20 SyncStation

 /* Fuji photo products */


/share/man/man4/uftdi.4

--- uftdi.4.org2        2006-10-19 13:04:10.000000000 +0200
+++ uftdi.4     2006-10-19 13:08:18.000000000 +0200
@@ -74,6 +74,7 @@
 .It Tn Inland UAS111
 .It Tn Interpid Control Systems ValueCAN
 .It Tn Interpid Control Systems NeoVI Blue
+.It Tn IrTrans USB
 .It Tn Sealevel Systems USB-Serial adapter
 .It Tn SIIG US2308 Serial
 .It Tn QVS USC-1000