From owner-freebsd-net@FreeBSD.ORG Fri Dec 25 19:44:13 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 80B5C106566B for ; Fri, 25 Dec 2009 19:44:13 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 2119F8FC0C for ; Fri, 25 Dec 2009 19:44:12 +0000 (UTC) Received: from ice.local ([10.0.0.115]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id nBPJiCKo024182 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Dec 2009 11:44:12 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <4B35160C.3040701@errno.com> Date: Fri, 25 Dec 2009 11:44:12 -0800 From: Sam Leffler User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Steven Friedrich References: <200912151603.32111.freebsd@insightbb.com> <200912221754.25692.freebsd@insightbb.com> <20091224220942.GC1491@weongyo> <200912250117.00907.freebsd@insightbb.com> In-Reply-To: <200912250117.00907.freebsd@insightbb.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist 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 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Dec 2009 19:44:13 -0000 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). Sam