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

Andrew andrew at flarn.com
Thu Jan 7 10:30:06 UTC 2010


The following reply was made to PR usb/142387; it has been noted by GNATS.

From: Andrew <andrew at flarn.com>
To: Hans Petter Selasky <hselasky at c2i.net>
Cc: freebsd-usb at freebsd.org, freebsd-gnats-submit at freebsd.org
Subject: Re: usb/142387: Netgear WPN111 not recognised by uath(4) after 
	uathload
Date: Thu, 7 Jan 2010 10:23:49 +0000

 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: =A0 =A0 =A0 =A0 142387
 >>> >Category: =A0 =A0 =A0 usb
 >>> >Synopsis: =A0 =A0 =A0 Netgear WPN111 not recognised by uath(4) after u=
 athload
 >>> >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 =
 GMT
 >>> =A02010 =A0 =A0 root at 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=3DHO=
 ST
 >>> =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=3DHO=
 ST
 >>> =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 us=
 bus3
 >>>
 >>>
 >>> 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 (autose=
 lect)
 >>> =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 R=
 ev 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 =A0be 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