Ralink RT3573 / ASUS USB-N66: run0: could not load 8051 microcode
Alex Deiter
alex.deiter at gmail.com
Tue Feb 18 06:12:46 UTC 2014
Hello,
Thank you for your advice!
I found a workaround:
# ifconfig wlan0 create wlandev run0
then wait 5 minutes ;-)
and only thereafter:
# ifconfig wlan0 up
dme
2014-02-18 2:05 GMT+04:00 Waitman Gobble <uzimac at da3m0n8t3r.com>:
>
> On Mon, February 17, 2014 8:53 pm, Alex Deiter wrote:
> > 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<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
> > ether 30:85:a9:f4:52:bd nd6
> > options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> 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<STA,IBSS,HOSTAP,SHSLOT,SHPREAMBLE,MONITOR,MBSS,WPA1,WPA
> > 2,WME,WDS>
> > cryptocaps=1b<WEP,TKIP,AES_CCM,TKIPMIC>
> >
> > 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 <Ralink>
> > 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
> > _______________________________________________
> > freebsd-wireless at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> > To unsubscribe, send any mail to
> > "freebsd-wireless-unsubscribe at freebsd.org"
> >
> >
>
> Alex,
>
> I've been using a device with the same chipset on HEAD without trouble.
> It's not ASUS but hmmm. (i don't see a brand name on it anywhere but
> 'made in china' is mighty prominent).
>
> # ifconfig wlan0 create wlandev run0 ssid "SSID"
> # wpa_supplicant -B -i wlan0 -c /etc/"SSID".conf
> # ifconfig wlan0 up
> # ifconfig wlan0 inet "IP" netmask 255.255.255.0
>
> this driver is in src/sys/dev/usb/wlan/if_run.c,
>
> RUN_DEV(RALINK, RT3573),
>
> {should be supported}
>
> AFAIK there isn't a specific kernel option for the run device.
>
> > kldstat | grep run
> 12 1 0xffffffff81a14000 13309 if_run.ko
>
> you can take a look at
> #man runfw
>
> > find /boot/ | grep run
> /boot/kernel/if_run.ko
> /boot/kernel/runfw.ko
> /boot/kernel.old/if_run.ko
> /boot/kernel.old/runfw.ko
>
> I think the firmware should be in
> src/sys/contrib/dev/run
>
> --
> Waitman Gobble
> San Jose California USA
> +1.510-830-7975
>
--
Alex Deiter
More information about the freebsd-wireless
mailing list