Date: Mon, 4 Jan 2010 12:44:24 -0800 From: Weongyo Jeong <weongyo.jeong@gmail.com> To: Steven Friedrich <freebsd@insightbb.com> Cc: freebsd-net@freebsd.org Subject: Re: uath under FreeBSD 8.0-STABLE Message-ID: <20100104204424.GH1491@weongyo> In-Reply-To: <200912260942.48320.freebsd@insightbb.com> References: <200912151603.32111.freebsd@insightbb.com> <4B35160C.3040701@errno.com> <20091226044243.GE11506@weongyo> <200912260942.48320.freebsd@insightbb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--t0UkRYy7tHLRMCai Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Dec 26, 2009 at 09:42:48AM -0500, Steven Friedrich wrote: > 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. > > Thanks for your effort. I appreciate it. Oops I forgot to attach the file. regards, Weongyo Jeong --t0UkRYy7tHLRMCai Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="patch_uath_20100104.diff" Index: usbdevs =================================================================== --- usbdevs (revision 201529) +++ usbdevs (working copy) @@ -2003,8 +2003,8 @@ product NETGEAR WG111V2 0x6a00 WG111V2 product NETGEAR2 MA101 0x4100 MA101 product NETGEAR2 MA101B 0x4102 MA101 Rev B -product NETGEAR3 WG111T 0x4250 WG111T product NETGEAR3 WG111T_NF 0x4251 WG111T (no firmware) +product NETGEAR3 WG111T 0x4252 WG111T product NETGEAR3 WPN111 0x5f00 WPN111 product NETGEAR3 WPN111_NF 0x5f01 WPN111 (no firmware) --t0UkRYy7tHLRMCai--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100104204424.GH1491>