From owner-freebsd-usb@FreeBSD.ORG Thu Jan 7 10:23:57 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CDD1106566B; Thu, 7 Jan 2010 10:23:57 +0000 (UTC) (envelope-from andrewwtulloch@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id B92C58FC1B; Thu, 7 Jan 2010 10:23:56 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 16so2524471fgg.13 for ; Thu, 07 Jan 2010 02:23:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=ymtgd/yeizfbzOxAhKdn0QEvBB1PZg62IlT+xLj0NUQ=; b=iV1Ej8bu8Iws6P/Lys3OoX+p91Y0ccX8rb3tAqQhm0AWdCLYvZPntTzL6HVON8wjn3 UrDNhE6WkvhQQhAjT8+7hDQqriOVTYS9NtDL2x21um4LGl2vkRDIpCdLNO2irUcb6rgE iuzM0sO6sHmG7GWY2XcOcU0nhJNi7S4tp/1qI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=GIBuxwfI009E7t69eJDS5XNLkLz7j27KnK9rV2rBrXvIZZ+fLfXfLNUg2H3BgQBkTQ NRQ6nENcl/04Cl+8KVH416R3X2+6UyGbeLsI/F5dwiN2GRIo7+TldDlLbbLMKBHeRp1c odOTFdsEqGpVNkQJdbBSKgfVB/7ISK8mlhMpY= MIME-Version: 1.0 Sender: andrewwtulloch@gmail.com Received: by 10.239.172.208 with SMTP id b16mr2186355hbf.39.1262859829635; Thu, 07 Jan 2010 02:23:49 -0800 (PST) In-Reply-To: <54854a7a1001070132o729ffae0qa47874ac2337afc0@mail.gmail.com> References: <201001062026.o06KQ3VP043830@www.freebsd.org> <201001062143.56029.hselasky@c2i.net> <54854a7a1001070132o729ffae0qa47874ac2337afc0@mail.gmail.com> Date: Thu, 7 Jan 2010 10:23:49 +0000 X-Google-Sender-Auth: a69dfd82dcb2f352 Message-ID: <54854a7a1001070223n6c929afv1d4135fa1abf557e@mail.gmail.com> From: Andrew To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org 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 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:23:57 -0000 2010/1/7 Andrew : > 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 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@XXXXXX:/usr/obj/usr/src/sys/GENERIC =A0amd64 >>> >>> >Description: >>> >>> After running uathload the device changes from: >>> ugen3.2: 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 >>> =A0 iProduct =3D 0x0002 =A0 >>> =A0 iSerialNumber =3D 0x0003 =A0<1.0> >>> =A0 bNumConfigurations =3D 0x0001 >>> to: >>> ugen3.2: 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 >>> =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 us= bus3 >>> >>> >>> 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 (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