From owner-freebsd-net@FreeBSD.ORG Sat Dec 26 14:42:51 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C56ED106566C for ; Sat, 26 Dec 2009 14:42:51 +0000 (UTC) (envelope-from freebsd@insightbb.com) Received: from mxsf00.insightbb.com (mxsf00.insightbb.com [74.128.0.70]) by mx1.freebsd.org (Postfix) with ESMTP id 910FB8FC19 for ; Sat, 26 Dec 2009 14:42:51 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.47,455,1257138000"; d="scan'208";a="728967410" Received: from unknown (HELO asav01.insightbb.com) ([172.31.249.123]) by mxsf00.insightbb.com with ESMTP; 26 Dec 2009 09:42:50 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ar8EAAmwNUvQLicL/2dsb2JhbACBStEZhDMEgWWEAw X-IronPort-AV: E=Sophos;i="4.47,455,1257138000"; d="scan'208";a="239357112" Received: from 208-46-39-11.dia.static.qwest.net (HELO laptop2.stevenfriedrich.org) ([208.46.39.11]) by asavout01.insightbb.com with ESMTP; 26 Dec 2009 09:42:50 -0500 From: Steven Friedrich To: Sam Leffler , freebsd-net@freebsd.org Date: Sat, 26 Dec 2009 09:42:48 -0500 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; i386; ; ) References: <200912151603.32111.freebsd@insightbb.com> <4B35160C.3040701@errno.com> <20091226044243.GE11506@weongyo> In-Reply-To: <20091226044243.GE11506@weongyo> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912260942.48320.freebsd@insightbb.com> Cc: Subject: Re: uath under FreeBSD 8.0-STABLE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Dec 2009 14:42:51 -0000 On Friday 25 December 2009 11:42:43 pm Weongyo Jeong wrote: > On Fri, Dec 25, 2009 at 11:44:12AM -0800, Sam Leffler wrote: > > Steven Friedrich wrote: > > >On Thursday 24 December 2009 05:09:42 pm Weongyo Jeong wrote: > > >>OK. It looks weird idProduct didn't be decreased 1 after loading the > > >>firmware. > > >> > > >>And what I'd like to see is the *full* result of the following steps: > > >> > > >> 1. plugs in your USB device. > > >> 2. run commands as follows: > > >> > > >> # kldload if_uath > > >> # dmesg | tail > > >> # uathload -v -d /dev/ugen4.3 > > >> # dmesg | tail > > >> > > >>In a theory, after loading the firmware normally the device which at > > >> the moment idProduct is 0x4251 is detached and reseted then it should > > >> be reattached with idProduct(0x4250). > > >> > > >>regards, > > >>Weongyo Jeong > > > > > >Opps, I'm sorry, the reply I just sent ws wrong because once you've used > > >uathload, you have to unplugplug the device before you can run it again. > > >So here it is: > > >Load firmware ar5523.bin (builtin) to /dev/ugen4.3 > > >send block 0: 147368 bytes remaining > > > > > > : data... > > > : wait for ack...flags=0x14 total=149416 > > > > <...snip...> > > > > The device should detach and be re-enumerated w/ a different device id > > that the driver attaches to. Hard to say why it does not. > > > > uathload should be automatically run by devd but it appears the devd > > rules file I did got lost (don't see it in the tree). > > I agree with sam@ that it's hard to understand why it's not detached > after downloading the firmware. > > Yesterday I ordered `Netgear Wireless USB Adapter WG111T' which probably > is same one with you so I could reproduce your problem and debug it. > > regards, > Weongyo Jeong > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > Thanks for your effort. I appreciate it.