From owner-freebsd-net@FreeBSD.ORG Sat Dec 26 04:42:44 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 4120A1065676 for ; Sat, 26 Dec 2009 04:42:44 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id E1E4B8FC14 for ; Sat, 26 Dec 2009 04:42:43 +0000 (UTC) Received: by qyk6 with SMTP id 6so3885748qyk.3 for ; Fri, 25 Dec 2009 20:42:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:organization:x-operation-sytem; bh=4ec/k8OD0vaZD9pjUxUz6eRltRFJziWKGWtUOlp0pak=; b=T7p2zzJMCWsGzMg7uM1CiyK7YA4yJqg/OiPI9pl3N0CEqTjCwf4nN4yje7rfDvnJXC T5S7r/y7SU8pKNP3b6GSesNV2fO0nefdw9MPzjiF0Ww0MQ2GJELSq5Q0xpEmhkLUnjSA LSoMC9H2mk8SduqolaHkmqGp0hYfSzR/LPrZQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent:organization:x-operation-sytem; b=dLG4XV0I0iuYuGp3MhwA51v3JqTzAZn7WfmUm70iySBlmL4iFXNYMmlnEqFl4ueYDt GaXxdA0Qwmvrecv+CaBCgc7S7jAp2t/WfRuj6nmKMw7jzZOMz0MLQsGPOvRNFR/NC0Fh KoL8u9+NBM6Tf1yPAzVI4ogCKnCTmr1ON8hSc= Received: by 10.224.35.41 with SMTP id n41mr6530984qad.308.1261802563285; Fri, 25 Dec 2009 20:42:43 -0800 (PST) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id 4sm26459125qwe.45.2009.12.25.20.42.41 (version=SSLv3 cipher=RC4-MD5); Fri, 25 Dec 2009 20:42:42 -0800 (PST) Received: by weongyo (sSMTP sendmail emulation); Fri, 25 Dec 2009 20:42:43 -0800 From: Weongyo Jeong Date: Fri, 25 Dec 2009 20:42:43 -0800 To: Steven Friedrich Message-ID: <20091226044243.GE11506@weongyo> Mail-Followup-To: Steven Friedrich , Sam Leffler , freebsd-net@freebsd.org References: <200912151603.32111.freebsd@insightbb.com> <200912221754.25692.freebsd@insightbb.com> <20091224220942.GC1491@weongyo> <200912250117.00907.freebsd@insightbb.com> <4B35160C.3040701@errno.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B35160C.3040701@errno.com> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: freebsd-net@freebsd.org Subject: Re: uath under FreeBSD 8.0-STABLE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong 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 04:42:44 -0000 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