usb/142387: Netgear WPN111 not recognised by uath(4) after uathload

Andrew andrew at flarn.com
Thu Jan 7 10:23:57 UTC 2010


2010/1/7 Andrew <andrew at flarn.com>:
> 2010/1/6 Hans Petter Selasky <hselasky at c2i.net>:
>> On Wednesday 06 January 2010 21:26:03 Andrew wrote:
>>> >Number:         142387
>>> >Category:       usb
>>> >Synopsis:       Netgear WPN111 not recognised by uath(4) after uathload
>>> >Confidential:   no
>>> >Severity:       non-critical
>>> >Priority:       low
>>> >Responsible:    freebsd-usb
>>> >State:          open
>>> >Quarter:
>>> >Keywords:
>>> >Date-Required:
>>> >Class:          sw-bug
>>> >Submitter-Id:   current-users
>>> >Arrival-Date:   Wed Jan 06 20:30:06 UTC 2010
>>> >Closed-Date:
>>> >Last-Modified:
>>> >Originator:     Andrew
>>> >Release:        8-STABLE
>>> >Organization:
>>> >Environment:
>>>
>>> FreeBSD XXXXXX 8.0-STABLE FreeBSD 8.0-STABLE #2: Tue Jan  5 21:34:37 GMT
>>>  2010     root at XXXXXX:/usr/obj/usr/src/sys/GENERIC  amd64
>>>
>>> >Description:
>>>
>>> After running uathload the device changes from:
>>> ugen3.2: <WPN111 Atheros Communications Inc> at usbus3, cfg=0 md=HOST
>>>  spd=HIGH (480Mbps) pwr=ON
>>>
>>>   bLength = 0x0012
>>>   bDescriptorType = 0x0001
>>>   bcdUSB = 0x0200
>>>   bDeviceClass = 0x00ff
>>>   bDeviceSubClass = 0x0000
>>>   bDeviceProtocol = 0x0000
>>>   bMaxPacketSize0 = 0x0040
>>>   idVendor = 0x1385
>>>   idProduct = 0x5f01
>>>   bcdDevice = 0x0001
>>>   iManufacturer = 0x0001  <Atheros Communications Inc>
>>>   iProduct = 0x0002  <WPN111>
>>>   iSerialNumber = 0x0003  <1.0>
>>>   bNumConfigurations = 0x0001
>>> to:
>>> ugen3.2: <WPN111 Atheros Communications Inc> at usbus3, cfg=0 md=HOST
>>>  spd=HIGH (480Mbps) pwr=ON
>>>
>>>   bLength = 0x0012
>>>   bDescriptorType = 0x0001
>>>   bcdUSB = 0x0200
>>>   bDeviceClass = 0x00ff
>>>   bDeviceSubClass = 0x0000
>>>   bDeviceProtocol = 0x0000
>>>   bMaxPacketSize0 = 0x0040
>>>   idVendor = 0x1385
>>>   idProduct = 0x5f02
>>>   bcdDevice = 0x0001
>>>   iManufacturer = 0x0001  <Atheros Communications Inc>
>>>   iProduct = 0x0002  <WPN111>
>>>   iSerialNumber = 0x0003  <1.0>
>>>   bNumConfigurations = 0x0001
>>>
>>> Note: idProduct 0x5f01 -> 0x5f02 rather than 0x5f00
>>>
>>> >How-To-Repeat:
>>>
>>> Connect a Netgear WPN111, run uathload -d /dev/ugenX.X
>>>
>>> >Fix:
>>>
>>> Correct sys/dev/usb/usbdevs product id for WPN111 with firmware, patch
>>>  attached.
>>>
>>> uath now attachs:
>>>
>>> dmesg:
>>> ugen3.2: <Atheros Communications Inc> at usbus3 (disconnected)
>>> ugen3.2: <Atheros Communications Inc> at usbus3
>>> uath0: <Atheros Communications Inc WPN111, rev 2.00/0.01, addr 2> on usbus3
>>>
>>>
>>> ifconfig uath0
>>> uath0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
>>>         ether 00:14:6c:ea:81:a4
>>>         media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
>>>         status: no carrier
>>>
>>>
>>> Patch attached with submission follows:
>>>
>>> --- usbdevs.orig      2010-01-06 20:15:02.000000000 +0000
>>> +++ usbdevs   2010-01-05 21:28:03.000000000 +0000
>>> @@ -2005,8 +2005,8 @@
>>>  product NETGEAR2 MA101B              0x4102  MA101 Rev B
>>>  product NETGEAR3 WG111T              0x4250  WG111T
>>>  product NETGEAR3 WG111T_NF   0x4251  WG111T (no firmware)
>>> -product NETGEAR3 WPN111              0x5f00  WPN111
>>>  product NETGEAR3 WPN111_NF   0x5f01  WPN111 (no firmware)
>>> +product NETGEAR3 WPN111              0x5f02  WPN111
>>>
>>>  /* Nikon products */
>>>  product NIKON E990           0x0102  Digital Camera E990
>>>
>>> >Release-Note:
>>> >Audit-Trail:
>>> >Unformatted:
>>
>> Hi,
>>
>> Are you certain that product "0x5f00" is incorrect and that we shouldn't add
>> the new product, 0x5f02 instead?
>
> I can't be certain no, it was an assumption on my part that the WPN111
> id was incorrect as the WPN111_NF was correct for the device. Adding a
> second id for WPN111 will  be enough for my hardware to work.

I have just seen this thread on -net:
http://lists.freebsd.org/pipermail/freebsd-net/2010-January/024182.html

Seems to be another Netgear uath(4) device that increments rather than
decrements it's productId, but that's by no means conclusive.

Regards,
Andrew


More information about the freebsd-usb mailing list