From stripes@torb.pix.net  Wed Apr  5 14:23:15 2000
Return-Path: <stripes@torb.pix.net>
Received: from torb.pix.net (torb.pix.net [192.135.81.20])
	by hub.freebsd.org (Postfix) with ESMTP id AB57037BE41
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  5 Apr 2000 14:23:13 -0700 (PDT)
	(envelope-from stripes@torb.pix.net)
Received: (from stripes@localhost)
	by torb.pix.net (8.9.3/8.9.3) id LAA59128;
	Wed, 5 Apr 2000 11:12:02 -0400 (EDT)
	(envelope-from stripes)
Message-Id: <200004051512.LAA59128@torb.pix.net>
Date: Wed, 5 Apr 2000 11:12:02 -0400 (EDT)
From: jmo <stripes@torb.pix.net>
Reply-To: stripes@torb.pix.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: D-Link DSB-H4E USB hub & ethernet probe patch
X-Send-Pr-Version: 3.2

>Number:         17815
>Category:       kern
>Synopsis:       The ethernet in the D-Link DSB-H4E is not recognised
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    n_hibma
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr  5 14:30:02 PDT 2000
>Closed-Date:    Sun Aug 6 16:51:27 PDT 2000
>Last-Modified:  Sun Aug 06 16:51:57 PDT 2000
>Originator:     Josh Osborne
>Release:        FreeBSD 4.0-RELEASE i386
>Organization:
(personal)
>Environment:

	FreeBSD 4.0 on an AMD K7 with a ohci USB conrtoler (AMD-756 USB Controller),
    with a D-Link DSB-H4E plugged into the USB port.

>Description:

	The hub part of the D-Link DSB-H4E is found, but the ethernet (perminatly
    attatched to port 4 of the hub) is not recognised as a kue (Kawasaki LSI
    USB-Ethernet).

>How-To-Repeat:

	Buy, borrow, or steal a D-Link DSB-H4E (they are under $40), and attatch
    it to the USB port on your 4.0 machine.  Boot.  Observe the kernel
    config messages during boot.

>Fix:

The following patch works.  After applying it the device functions
about as well as could be ecpected of a $20 anemic ethernet on a
little 12Mbit bus.  Well maybe slighlty less well then that.  Still,
it does work, and it would be nice if other people could "plug n' play".

diff -c usbdevs.orig usbdevs ; diff -c if_kue.c.orig if_kue.c
*** usbdevs.orig        Sun Mar 26 09:27:53 2000
--- usbdevs     Sat Mar 25 13:24:57 2000
***************
*** 424,426 ****
--- 424,429 ----
  
  /* Zoom Telephonics Inc. products */
  product ZOOM 2986L            0x9700  2986L Fax modem
+ 
+ /* Kawasaki LSI products -- I think JMO */
+ product KLSI DUH3E10BT      0x0008  10BT Ethernet adapter, in the DU-H3E
*** if_kue.c.orig       Sun Mar 26 09:27:41 2000
--- if_kue.c    Sat Mar 25 13:22:25 2000
***************
*** 113,118 ****
--- 113,119 ----
        { USB_VENDOR_COREGA, USB_PRODUCT_COREGA_ETHER_USB_T },
        { USB_VENDOR_DLINK, USB_PRODUCT_DLINK_DSB650C },
        { USB_VENDOR_SMC, USB_PRODUCT_SMC_2102USB },
+       { USB_VENDOR_KLSI, USB_PRODUCT_KLSI_DUH3E10BT },
        { 0, 0 }
  };


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->n_hibma 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Wed Apr 12 02:53:46 PDT 2000 
Responsible-Changed-Why:  
Over to Mr. USB. 
State-Changed-From-To: open->closed 
State-Changed-By: n_hibma 
State-Changed-When: Sun Aug 6 16:51:27 PDT 2000 
State-Changed-Why:  
The ids for this have been committed some time ago to both current 
and stable. 
Thanks for the patch! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=17815 
>Unformatted:
