Subject: kern/33071: ADMtek ADM8515 USB2.0 Ethernet Converter not supported
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <djb_netbsd@charter.net>
List: netbsd-bugs
Date: 03/13/2006 16:25:00
>Number:         33071
>Category:       kern
>Synopsis:       ADMtek ADM8515 USB2.0 Ethernet Converter not supported
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 13 16:25:00 +0000 2006
>Originator:     Dave J. Barnes
>Release:        3.0
>Organization:
>Environment:
NetBSD Dominos 3.0 NetBSD 3.0 (2006/3/12 DJB) #4: Sun Mar 12 22:35:22 CST 2006
root@PizzaHut:/PizzaHut/NetBSD_src/usr/src/sys/arch/i386/compile/DJB i386
>Description:
The ADMtek ADM8515 USB2.0 Ethernet Converter shows up as a generic device (ugen0) instead of an ethernet device.  The 8515 is just a faster/USB2.0 version of the supported 8513.

ugen0 at uhub1 port 3
ugen0: ADMtek USB To LAN Converter, rev 1.10/1.01, addr 4


>How-To-Repeat:

>Fix:
The diffs below add the ADM8515 to the list of known USB Ethernet devices. 
------
aue0 at uhub1 port 3
aue0: ADMtek USB To LAN Converter, rev 1.10/1.01, addr 4
aue0: Ethernet address xxxx
ukphy1 at aue0 phy 1: Generic IEEE 802.3u media interface
ukphy1: OUI 0x00e092, model 0x0001, rev. 1
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
------
aue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: xxxx
        media: Ethernet autoselect (10baseT)
        status: active
        inet 10.0.0.63 netmask 0xffffff00 broadcast 10.0.0.255


===================
--- dev/usb/usbdevs.orig	2006-03-13 09:31:40.000000000 -0600
+++ dev/usb/usbdevs	2006-03-13 09:36:18.000000000 -0600
@@ -511,6 +511,7 @@
 product ADMTEK PEGASUS		0x0986	AN986 USB Ethernet
 product ADMTEK PEGASUSII	0x8511	AN8511 USB Ethernet
 product ADMTEK PEGASUSII_2	0x8513	AN8513 Ethernet
+product ADMTEK PEGASUSII_3      0x8515  ADM8515 USB 2.0 Ethernet
 
 /* ADS products */
 product ADS UBS10BT		0x0008	UBS-10BT Ethernet
==================
--- dev/usb/if_aue.c.orig	2006-03-13 09:34:35.000000000 -0600
+++ dev/usb/if_aue.c	2006-03-13 09:34:07.000000000 -0600
@@ -186,6 +186,7 @@
  {{ USB_VENDOR_ADMTEK,		USB_PRODUCT_ADMTEK_PEGASUS},	  PNA },
  {{ USB_VENDOR_ADMTEK,		USB_PRODUCT_ADMTEK_PEGASUSII},	  PII },
  {{ USB_VENDOR_ADMTEK,		USB_PRODUCT_ADMTEK_PEGASUSII_2},  PII },
+ {{ USB_VENDOR_ADMTEK,		USB_PRODUCT_ADMTEK_PEGASUSII_3},  PII },
  {{ USB_VENDOR_AEI,		USB_PRODUCT_AEI_USBTOLAN},	  PII },
  {{ USB_VENDOR_BELKIN,		USB_PRODUCT_BELKIN_USB2LAN},	  PII },
  {{ USB_VENDOR_BILLIONTON,	USB_PRODUCT_BILLIONTON_USB100},	  0 },
==================
Don't forget to do "make -f Makefile.usbdevs" in dev/usb.  I don't think I left out a comma this time:)