From owner-freebsd-wireless@FreeBSD.ORG Tue Feb 18 04:53:39 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 91AF617C; Tue, 18 Feb 2014 04:53:39 +0000 (UTC) Received: from mail-we0-x236.google.com (mail-we0-x236.google.com [IPv6:2a00:1450:400c:c03::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E15C71AF2; Tue, 18 Feb 2014 04:53:38 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id u57so11429492wes.27 for ; Mon, 17 Feb 2014 20:53:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=VfvtG2ZfOK2DD1K7YRmx6/h7AEdiqOtNlQNGKannNQg=; b=EUol6xYCVjWFUR3iWvK+Dx3ebULMztCuu7Zf3pNRI2XgQpOqwfxINp+8fQgFn47SYC or/ehNMKpqQF75pzlI5OJAK+dW2v4Z1bN9E01+jtvAIj+OIwgVtvRhlKFyWyxZ3dYIqq ph5jyQp4eYYhJNyrJk4iFAE4/KRVJ/Rir1dy6oC+sxBymSc50W1p3F98gXNG71nRsbMw QKERvMjI9kgRl0t8aykUy9JQsSMWhHPcyAGxGrBW6JJE1JJQWvgyQIjJkWRL8hIupT0n KMt30c/LF0XNv5CECZPoxozBZK3JIzDMM6imCJzictgMDl5kzLb9WJWIvml4cDLBLpTv uwVg== MIME-Version: 1.0 X-Received: by 10.180.188.169 with SMTP id gb9mr16064278wic.17.1392699217431; Mon, 17 Feb 2014 20:53:37 -0800 (PST) Received: by 10.217.119.132 with HTTP; Mon, 17 Feb 2014 20:53:37 -0800 (PST) Date: Tue, 18 Feb 2014 08:53:37 +0400 Message-ID: Subject: Ralink RT3573 / ASUS USB-N66: run0: could not load 8051 microcode From: Alex Deiter To: freebsd-wireless@freebsd.org, Kevin Lo Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Feb 2014 04:53:39 -0000 Hello Kevin, I'm trying to get ASUS USB-N66 USB wifi adapter working with FreeBSD 11.0-CURRENT #0 r261642 amd64. I plug the adapter and it seems to be recognized: #dmesg run0: <1.0> on usbus1 run0: MAC/BBP RT3593 (rev 0x0402), RF RT3053 (MIMO 3T3R), address 30:85:a9:f4:52:bd run0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps run0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps run0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps I can create the wlan device: # ifconfig wlan0 wlan0: flags=8802 metric 0 mtu 1500 ether 30:85:a9:f4:52:bd nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid "" channel 1 (2412 MHz 11b) country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60 wme bintval 0 # ifconfig wlan0 list caps drivercaps=d85c501 cryptocaps=1b But got an error when interface is up: # ifconfig wlan0 up scan wlan0: bpf attached wlan0: bpf attached wlan0: Ethernet address: 30:85:a9:f4:52:bd firmware: 'runfw' version 1: 8192 bytes loaded at 0xffffffff81c2d0a8 run0: could not load 8051 microcode # usbconfig -d ugen1.3 dump_device_desc ugen1.3: <802.11 n WLAN Ralink> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (450mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0b05 idProduct = 0x17ad bcdDevice = 0x0101 iManufacturer = 0x0001 iProduct = 0x0002 <802.11 n WLAN> iSerialNumber = 0x0003 <1.0> bNumConfigurations = 0x0001 # kldstat Id Refs Address Size Name 1 12 0xffffffff80200000 196df88 kernel 2 1 0xffffffff81c12000 17db4 if_run.ko 3 1 0xffffffff81c2a000 2a45 uhid.ko 4 1 0xffffffff81c2d000 26ea runfw.ko Kernel config: GENERIC. I plug in the same adapter to a laptop with Windows 7, it successfully shows the nearby access points and allows me to connect to one, so the adapter is not broken. Any ideas for further troubleshooting are welcome. Thank you! -- Alex Deiter