Subject: SMC2208USB/ETH misidentified?
To: None <port-i386@netbsd.org>
From: None <jeffw@pdxlug.org>
List: port-i386
Date: 03/10/2007 14:21:42
I'm having trouble getting this USB-to-Ethernet adaptor to work.
My system (NetBSD-3.0.1/i386) sees it like so:

# dmesg
...
aue0: USB SMC2208USB/ETH, rev 1.10/2.01, addr 2
aue0: Ethernet address 00:10:60:04:92:b4
ukphy0 at aue0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x00e092, model 0x0001, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

Tried every option listed by 'ifconfig -m aue0' but no dice.


I'm wondering if perhaps the adaptor is being misidentified? A list
archives search on "SMC2208USB/ETH" shows it run via the rue(4) driver
(no longer a NetBSD driver it seems; appears in FreeBSD though) which
was/is for RealTek RTL8150 based USB adaptors (see url(4)).  The aue(4)
driver is for ADMtek AN986 and AN8511 Pegasus USB adaptors and the man
page lists SMC2206USB and SMC2206USB/ETH but not the SMC2208USB/ETH.

How does a USB get "identified"?  Does the system simply look for a
VENDOR/MODEL string match in the various drivers or ?  Can I simply
add an entry to, say, /usr/src/sys/dev/usb/if_url.c and rebuild the
kernel to correct a suspected misidentification?  Sorry if these are
stupid questions; I'm mainly a NetBSD user. :/


Regards,
Jeff