>Number:         113384
>Category:       usb
>Synopsis:       Missing UFTDI support for hardware from Gude Analog- und 
>Digitalsysteme GmbH (DCF77 Clocks)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 05 18:40:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Thorsten Trampisch
>Release:        FreeBSD 6.2-RELEASE-p5 amd64
>Organization:
private
>Environment:
System: FreeBSD freebsd64.home.trampisch.com 6.2-RELEASE-p5 FreeBSD 
6.2-RELEASE-p5 #2: Fri Jun 1 16:23:41 CEST 2007 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/FREEBSD64 amd64

The patch supplied is for -CURRENT not 6.2-RELEASE-p5

>Description:
                After buying a DCF77 longwave radio clock for NTP, which has a 
USB to serial bridge, it was not detected by the UFTDI device driver.
                I changed the driver and recompiled the kernel module to get it 
work.
                The manufacturer of the clock, "Gude Analog- und Digitalsysteme 
GmbH" asked me to submit this change request for all of their UFTDI devices.
                I attached patches for /usr/src/sys/dev/usb/uftdi.c and 
/usr/src/sys/dev/usb/usbdevs.
                I think it would be a good idea to add support for this devices 
in RELEASE-7 so I made the patches against the -CURRENT release.

                dmesg output before the patched uftdi kernel module:
                   ugen0: GUDEADS Expert mouseCLOCK USB II, rev 2.00/6.00, addr 
2

                dmesg output after the patch:
                   ucom0: GUDEADS Expert mouseCLOCK USB II, rev 2.00/6.00, addr 
2

                usbdevs -v after the patch:
                 Controller /dev/usb6:
                 addr 1: full speed, self powered, config 1, UHCI root 
hub(0x0000), VIA(0x0000), rev 1.00
                  port 1 powered
                  port 2 addr 2: full speed, power 100 mA, config 1, Expert 
mouseCLOCK USB II(0xe88a), GUDEADS(0x0403), rev 6.00


>How-To-Repeat:

>Fix:
                Please add support for those five devices to -CURRENT and the 
following FreeBSD RELEASE-7.


--- usbdevs.patch begins here ---
--- usbdevs     Tue May 29 22:05:13 2007
+++ usbdevs.new Tue Jun  5 17:03:57 2007
@@ -1066,6 +1066,13 @@
 /* G.Mate, Inc products */
 product GMATE YP3X00           0x1001  YP3X00 PDA
 
+/* Gude Analog- und Digitalsysteme products */
+product FTDI EISCOU            0xe888 "Expert ISDN Control USB"
+product FTDI UOPTBR            0xe889 "USB-RS232 OptoBridge"
+product FTDI EMCU2D            0xe88a "Expert mouseCLOCK USB II"
+product FTDI PCMSFU            0xe88b "Precision Clock MSF USB"
+product FTDI EMCU2H            0xe88c "Expert mouseCLOCK USB II HBG"
+
 /* Guillemot Corporation */
 product GUILLEMOT DALEADER     0xa300  DA Leader
 product GUILLEMOT HWGUSB254    0xe000  HWGUSB2-54 WLAN
--- usbdevs.patch ends here ---

--- uftdi.c.patch begins here ---
--- uftdi.c     Mon Apr 30 18:15:19 2007
+++ uftdi.c.new Tue Jun  5 17:07:09 2007
@@ -167,7 +167,12 @@
             uaa->product == USB_PRODUCT_FTDI_MX2_3 ||
             uaa->product == USB_PRODUCT_FTDI_MX4_5 ||
             uaa->product == USB_PRODUCT_FTDI_LK202 ||
-            uaa->product == USB_PRODUCT_FTDI_LK204))
+            uaa->product == USB_PRODUCT_FTDI_LK204 ||
+             uaa->product == USB_PRODUCT_FTDI_EISCOU ||
+             uaa->product == USB_PRODUCT_FTDI_UOPTBR ||
+             uaa->product == USB_PRODUCT_FTDI_EMCU2D ||
+             uaa->product == USB_PRODUCT_FTDI_PCMSFU ||
+             uaa->product == USB_PRODUCT_FTDI_EMCU2H ))
                return (UMATCH_VENDOR_PRODUCT);
        if (uaa->vendor == USB_VENDOR_SIIG2 &&
            (uaa->product == USB_PRODUCT_SIIG2_US2308))
@@ -250,6 +255,11 @@
                case USB_PRODUCT_FTDI_MX4_5:
                case USB_PRODUCT_FTDI_LK202:
                case USB_PRODUCT_FTDI_LK204:
+                case USB_PRODUCT_FTDI_EISCOU:
+                case USB_PRODUCT_FTDI_UOPTBR:
+                case USB_PRODUCT_FTDI_EMCU2D:
+                case USB_PRODUCT_FTDI_PCMSFU:
+                case USB_PRODUCT_FTDI_EMCU2H:
                        sc->sc_type = UFTDI_TYPE_8U232AM;
                        sc->sc_hdrlen = 0;
                        break;
--- uftdi.c.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to