NetBSD Problem Report #41235

From jgw@tx0.org  Thu Apr 16 20:39:17 2009
Return-Path: <jgw@tx0.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 97BFE63C1FA
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 16 Apr 2009 20:39:17 +0000 (UTC)
Message-Id: <20090416203906.091E822DA67@think.sleepy.cat>
Date: Thu, 16 Apr 2009 13:39:06 -0700 (PDT)
From: jgw@freeshell.org
Reply-To: jgw@freeshell.org
To: gnats-bugs@gnats.NetBSD.org
Subject: aue(4) driver addition: SMC2008USB/ETH
X-Send-Pr-Version: 3.95

>Number:         41235
>Category:       kern
>Synopsis:       aue(4) driver addition: SMC2008USB/ETH
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 16 20:40:00 +0000 2009
>Last-Modified:  Fri Apr 17 15:50:01 +0000 2009
>Originator:     Jeff Woodall
>Release:        NetBSD 4.99.59
>Organization:

>Environment:


System: NetBSD think.sleepy.cat 4.99.59 NetBSD 4.99.59 (GENERIC.NOACPI) #0: Sun Apr 13 07:56:12 UTC 2008 bouyer@b2.netbsd.org:/home/builds/ab/HEAD/i386/200804120000Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC.NOACPI i386
Architecture: i386
Machine: i386
>Description:
Can we get this USB Ethernet adapter added to aue(4)?

SMC2008USB/ETH
P/N: 99-012084-382
Desc: "USB to 10/100 Ethernet Adapter"

It gets detected okay and ifconfig will configure it
but it does not transmit or receive currently.  Could
possibly loan device for development/testing.

Looks like the code could be taken from the Linux
Pegasus II driver[1].

--
Info:
# dmesg output:
...
aue0 at uhub1 port 1
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

#ifconfig -m aue0:
aue0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        address: 00:10:60:04:92:b4
        media: Ethernet autoselect (none)
        status: no carrier
        supported Ethernet media:
                media none
                media 10baseT
                media 10baseT mediaopt full-duplex
                media 100baseTX
                media 100baseTX mediaopt full-duplex
                media autoselect

Chip:
ADMtek ADM8513 USB

Drivers:
[1] Linux driver: Pegasus II (pegasus2.sourceforge.net)
WinXP driver: ADM851X USB

>How-To-Repeat:
	N/A
>Fix:
	Update aue(4) driver from Linux Pegasus II driver code?

>Audit-Trail:
From: Bernd Ernesti <netbsd@lists.veego.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/41235: aue(4) driver addition: SMC2008USB/ETH
Date: Thu, 16 Apr 2009 23:17:42 +0200

 On Thu, Apr 16, 2009 at 08:40:01PM +0000, jgw@freeshell.org wrote:
 > >Description:
 > Can we get this USB Ethernet adapter added to aue(4)?

 You didn't include the usb product id, but IMHO it is an url(4)
 and not an aue(4).

 Bernd

From: jgw@freeshell.org
To: netbsd-bugs@NetBSD.org, kern-bug-people@NetBSD.org, jgw@freeshell.org,
        gnats-bugs@NetBSD.org, gnats-admin@NetBSD.org
Cc: 
Subject: Re: kern/41235: aue(4) driver addition: SMC2008USB/ETH
Date: Fri, 17 Apr 2009 08:45:13 -0700

 Bernd Ernesti <netbsd@lists.veego.de> wrote:

 > The following reply was made to PR kern/41235; it has been noted by GNATS.
 >
 > From: Bernd Ernesti <netbsd@lists.veego.de>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: kern/41235: aue(4) driver addition: SMC2008USB/ETH
 > Date: Thu, 16 Apr 2009 23:17:42 +0200
 >
 >  On Thu, Apr 16, 2009 at 08:40:01PM +0000, jgw@freeshell.org wrote:
 >  > >Description:
 >  > Can we get this USB Ethernet adapter added to aue(4)?
 >  
 >  You didn't include the usb product id, but IMHO it is an url(4)
 >  and not an aue(4).
 >  
 >  Bernd
 >  

 Bernd,
 Sorry for the ommission; here's the usbdevs(8) output:

 #usbdevs -d -v -f /dev/usb1
 Controller /dev/usb1:
 addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
 Intel(0x8086), rev 1.00
   uhub1 port 1 addr 2: full speed, power 160 mA, config 1,
  SMC2208USB/ETH(0x8513), USB(0x07a6), rev 2.01, serial 92B4
    aue0 port 2 powered

 Let me know if more is needed.

 Regards,
 Jeff

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.