uath under FreeBSD 8.0-STABLE

Sam Leffler sam at errno.com
Fri Dec 25 19:44:13 UTC 2009


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


More information about the freebsd-net mailing list