From owner-freebsd-usb@FreeBSD.ORG Thu Jan 7 10:10:07 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EDFA1065670 for ; Thu, 7 Jan 2010 10:10:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6E4B68FC19 for ; Thu, 7 Jan 2010 10:10:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o07AA7vS013906 for ; Thu, 7 Jan 2010 10:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o07AA764013905; Thu, 7 Jan 2010 10:10:07 GMT (envelope-from gnats) Date: Thu, 7 Jan 2010 10:10:07 GMT Message-Id: <201001071010.o07AA764013905@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Andrew Cc: Subject: Re: usb/142387: Netgear WPN111 not recognised by uath(4) after uathload X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andrew List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 10:10:07 -0000 The following reply was made to PR usb/142387; it has been noted by GNATS. From: Andrew To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: usb/142387: Netgear WPN111 not recognised by uath(4) after uathload Date: Thu, 7 Jan 2010 09:32:06 +0000 2010/1/6 Hans Petter Selasky : > 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: 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 >> =A0 iProduct =3D 0x0002 =A0 >> =A0 iSerialNumber =3D 0x0003 =A0<1.0> >> =A0 bNumConfigurations =3D 0x0001 >> to: >> ugen3.2: 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 >> =A0 iProduct =3D 0x0002 =A0 >> =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: at usbus3 (disconnected) >> ugen3.2: at usbus3 >> uath0: on usb= us3 >> >> >> ifconfig uath0 >> uath0: flags=3D8802 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