Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jan 2010 20:26:03 GMT
From:      Andrew <andrew@flarn.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   usb/142387: Netgear WPN111 not recognised by uath(4) after uathload
Message-ID:  <201001062026.o06KQ3VP043830@www.freebsd.org>
Resent-Message-ID: <201001062030.o06KU61M058207@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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