Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2010 09:32:06 +0000
From:      Andrew <andrew@flarn.com>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org
Subject:   Re: usb/142387: Netgear WPN111 not recognised by uath(4) after  uathload
Message-ID:  <54854a7a1001070132o729ffae0qa47874ac2337afc0@mail.gmail.com>
In-Reply-To: <201001062143.56029.hselasky@c2i.net>
References:  <201001062026.o06KQ3VP043830@www.freebsd.org> <201001062143.56029.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/1/6 Hans Petter Selasky <hselasky@c2i.net>:
> On Wednesday 06 January 2010 21:26:03 Andrew wrote:
>> >Number: =A0 =A0 =A0 =A0 142387
>> >Category: =A0 =A0 =A0 usb
>> >Synopsis: =A0 =A0 =A0 Netgear WPN111 not recognised by uath(4) after ua=
thload
>> >Confidential: =A0 no
>> >Severity: =A0 =A0 =A0 non-critical
>> >Priority: =A0 =A0 =A0 low
>> >Responsible: =A0 =A0freebsd-usb
>> >State: =A0 =A0 =A0 =A0 =A0open
>> >Quarter:
>> >Keywords:
>> >Date-Required:
>> >Class: =A0 =A0 =A0 =A0 =A0sw-bug
>> >Submitter-Id: =A0 current-users
>> >Arrival-Date: =A0 Wed Jan 06 20:30:06 UTC 2010
>> >Closed-Date:
>> >Last-Modified:
>> >Originator: =A0 =A0 Andrew
>> >Release: =A0 =A0 =A0 =A08-STABLE
>> >Organization:
>> >Environment:
>>
>> FreeBSD XXXXXX 8.0-STABLE FreeBSD 8.0-STABLE #2: Tue Jan =A05 21:34:37 G=
MT
>> =A02010 =A0 =A0 root@XXXXXX:/usr/obj/usr/src/sys/GENERIC =A0amd64
>>
>> >Description:
>>
>> After running uathload the device changes from:
>> ugen3.2: <WPN111 Atheros Communications Inc> at usbus3, cfg=3D0 md=3DHOS=
T
>> =A0spd=3DHIGH (480Mbps) pwr=3DON
>>
>> =A0 bLength =3D 0x0012
>> =A0 bDescriptorType =3D 0x0001
>> =A0 bcdUSB =3D 0x0200
>> =A0 bDeviceClass =3D 0x00ff
>> =A0 bDeviceSubClass =3D 0x0000
>> =A0 bDeviceProtocol =3D 0x0000
>> =A0 bMaxPacketSize0 =3D 0x0040
>> =A0 idVendor =3D 0x1385
>> =A0 idProduct =3D 0x5f01
>> =A0 bcdDevice =3D 0x0001
>> =A0 iManufacturer =3D 0x0001 =A0<Atheros Communications Inc>
>> =A0 iProduct =3D 0x0002 =A0<WPN111>
>> =A0 iSerialNumber =3D 0x0003 =A0<1.0>
>> =A0 bNumConfigurations =3D 0x0001
>> to:
>> ugen3.2: <WPN111 Atheros Communications Inc> at usbus3, cfg=3D0 md=3DHOS=
T
>> =A0spd=3DHIGH (480Mbps) pwr=3DON
>>
>> =A0 bLength =3D 0x0012
>> =A0 bDescriptorType =3D 0x0001
>> =A0 bcdUSB =3D 0x0200
>> =A0 bDeviceClass =3D 0x00ff
>> =A0 bDeviceSubClass =3D 0x0000
>> =A0 bDeviceProtocol =3D 0x0000
>> =A0 bMaxPacketSize0 =3D 0x0040
>> =A0 idVendor =3D 0x1385
>> =A0 idProduct =3D 0x5f02
>> =A0 bcdDevice =3D 0x0001
>> =A0 iManufacturer =3D 0x0001 =A0<Atheros Communications Inc>
>> =A0 iProduct =3D 0x0002 =A0<WPN111>
>> =A0 iSerialNumber =3D 0x0003 =A0<1.0>
>> =A0 bNumConfigurations =3D 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
>> =A0attached.
>>
>> 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 usb=
us3
>>
>>
>> ifconfig uath0
>> uath0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
>> =A0 =A0 =A0 =A0 ether 00:14:6c:ea:81:a4
>> =A0 =A0 =A0 =A0 media: IEEE 802.11 Wireless Ethernet autoselect (autosel=
ect)
>> =A0 =A0 =A0 =A0 status: no carrier
>>
>>
>> Patch attached with submission follows:
>>
>> --- usbdevs.orig =A0 =A0 =A02010-01-06 20:15:02.000000000 +0000
>> +++ usbdevs =A0 2010-01-05 21:28:03.000000000 +0000
>> @@ -2005,8 +2005,8 @@
>> =A0product NETGEAR2 MA101B =A0 =A0 =A0 =A0 =A0 =A0 =A00x4102 =A0MA101 Re=
v B
>> =A0product NETGEAR3 WG111T =A0 =A0 =A0 =A0 =A0 =A0 =A00x4250 =A0WG111T
>> =A0product NETGEAR3 WG111T_NF =A0 0x4251 =A0WG111T (no firmware)
>> -product NETGEAR3 WPN111 =A0 =A0 =A0 =A0 =A0 =A0 =A00x5f00 =A0WPN111
>> =A0product NETGEAR3 WPN111_NF =A0 0x5f01 =A0WPN111 (no firmware)
>> +product NETGEAR3 WPN111 =A0 =A0 =A0 =A0 =A0 =A0 =A00x5f02 =A0WPN111
>>
>> =A0/* Nikon products */
>> =A0product NIKON E990 =A0 =A0 =A0 =A0 =A0 0x0102 =A0Digital 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.

Thanks,
Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54854a7a1001070132o729ffae0qa47874ac2337afc0>