Re: Ralink RT3573 / ASUS USB-N66: run0: could not load 8051 microcode
Cool! I committed a fix in r262465, thanks. Kevin On 2014/02/25 00:58, Alex Deiter wrote: Hello Kevin, Thank you very much! Successfully tested! 2014-02-24 12:42 GMT+04:00 Kevin Lo : On 2014/02/19 10:12, Kevin Lo wrote: On 2014/02/18 14:17, Alex Deiter wrote: Hello, Hi Alex, Thank you for your advice! I found a workaround: # ifconfig wlan0 create wlandev run0 then wait 5 minutes ;-) and only thereafter: # ifconfig wlan0 up run0: <1.0> on usbus1 run0: MAC/BBP RT3593 (rev 0x0402), RF RT3053 (MIMO 3T3R), address 30:85:a9:f4:52:bd uhid0: on usbus1 wlan0: Ethernet address: 30:85:a9:f4:52:bd run0: firmware RT3071 ver. 0.33 loaded But found another issue: ifconfig wlan0 list scan command does not show any results: root@test:~ # ifconfig wlan0 list scan root@test:~ # root@test:~ # wlandebug -i wlan0 scan net.wlan.0.debug: 0x0 => 0x20 wlan0: sta_pick_bss: no scan candidate wlan0: scan_task: done, restart [ticks 487917, dwell min 20 scanend 2147963261] wlan0: scan_task: chan 140a -> 1g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 1g -> 6g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 6g -> 11g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 11g -> 7g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 7g -> 52a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 52a -> 56a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 56a -> 60a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 60a -> 64a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 64a -> 36a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 36a -> 40a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 40a -> 44a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 44a -> 48a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 48a -> 2g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 2g -> 3g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 3g -> 4g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 4g -> 5g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 5g -> 8g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 8g -> 9g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 9g -> 10g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 10g -> 149a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 149a -> 153a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 153a -> 157a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 157a -> 161a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 161a -> 100a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 100a -> 104a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 104a -> 108a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 108a -> 112a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 112a -> 116a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 116a -> 120a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 120a -> 124a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 124a -> 128a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 128a -> 132a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 132a -> 136a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 136a -> 140a [active, dwell min 20ms max 200ms] wlan0: sta_pick_bss: no scan candidate I have an ZyxXEL NWD2705 working fine. It has the exact same chipset as the ASUS USB-N66. So far I haven't been able to come up with a good solution to your problem. I purchased the ASUS USB-N66 and will arrive in the next couple of days. Hope I could find a new interesting bug :-) After r258363, I forgot to add a flag to run's device list which uses a standard scsi eject. The ASUS USB-N66 has been tested to work on my laptop. The attached patch should fix your problem :-) Please test it, thanks. Kevin ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
Re: Ralink RT3573 / ASUS USB-N66: run0: could not load 8051 microcode
Hello Kevin, Thank you very much! Successfully tested! 2014-02-24 12:42 GMT+04:00 Kevin Lo : > On 2014/02/19 10:12, Kevin Lo wrote: > >> On 2014/02/18 14:17, Alex Deiter wrote: >> >>> Hello, >>> >> >> Hi Alex, >> >> >>> Thank you for your advice! >>> I found a workaround: >>> >>> # ifconfig wlan0 create wlandev run0 >>> >>> then wait 5 minutes ;-) >>> >>> and only thereafter: >>> >>> # ifconfig wlan0 up >>> >>> run0: <1.0> on usbus1 >>> run0: MAC/BBP RT3593 (rev 0x0402), RF RT3053 (MIMO 3T3R), address >>> 30:85:a9:f4:52:bd >>> uhid0: on >>> usbus1 >>> wlan0: Ethernet address: 30:85:a9:f4:52:bd >>> run0: firmware RT3071 ver. 0.33 loaded >>> >>> But found another issue: ifconfig wlan0 list scan command does not show >>> any >>> results: >>> >>> root@test:~ # ifconfig wlan0 list scan >>> root@test:~ # >>> >>> root@test:~ # wlandebug -i wlan0 scan >>> net.wlan.0.debug: 0x0 => 0x20 >>> >>> wlan0: sta_pick_bss: no scan candidate >>> wlan0: scan_task: done, restart [ticks 487917, dwell min 20 scanend >>> 2147963261] >>> wlan0: scan_task: chan 140a -> 1g [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 1g -> 6g [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 6g -> 11g [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 11g -> 7g [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 7g -> 52a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 52a -> 56a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 56a -> 60a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 60a -> 64a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 64a -> 36a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 36a -> 40a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 40a -> 44a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 44a -> 48a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 48a -> 2g [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 2g -> 3g [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 3g -> 4g [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 4g -> 5g [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 5g -> 8g [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 8g -> 9g [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 9g -> 10g [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 10g -> 149a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 149a -> 153a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 153a -> 157a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 157a -> 161a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 161a -> 100a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 100a -> 104a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 104a -> 108a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 108a -> 112a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 112a -> 116a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 116a -> 120a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 120a -> 124a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 124a -> 128a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 128a -> 132a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 132a -> 136a [active, dwell min 20ms max 200ms] >>> wlan0: scan_task: chan 136a -> 140a [active, dwell min 20ms max 200ms] >>> wlan0: sta_pick_bss: no scan candidate >>> >> >> I have an ZyxXEL NWD2705 working fine. It has the exact same chipset as >> the ASUS USB-N66. So far I haven't been able to come up with a good >> solution to your problem. I purchased the ASUS USB-N66 and will arrive >> in the next couple of days. Hope I could find a new interesting bug :-) >> > > After r258363, I forgot to add a flag to run's device list which uses a > standard scsi eject. The ASUS USB-N66 has been tested to work on my > laptop. > The attached patch should fix your problem :-) Please test it, thanks. > > Kevin > -- Alex Deiter ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
Re: Ralink RT3573 / ASUS USB-N66: run0: could not load 8051 microcode
On 2014/02/19 10:12, Kevin Lo wrote: On 2014/02/18 14:17, Alex Deiter wrote: Hello, Hi Alex, Thank you for your advice! I found a workaround: # ifconfig wlan0 create wlandev run0 then wait 5 minutes ;-) and only thereafter: # ifconfig wlan0 up run0: <1.0> on usbus1 run0: MAC/BBP RT3593 (rev 0x0402), RF RT3053 (MIMO 3T3R), address 30:85:a9:f4:52:bd uhid0: on usbus1 wlan0: Ethernet address: 30:85:a9:f4:52:bd run0: firmware RT3071 ver. 0.33 loaded But found another issue: ifconfig wlan0 list scan command does not show any results: root@test:~ # ifconfig wlan0 list scan root@test:~ # root@test:~ # wlandebug -i wlan0 scan net.wlan.0.debug: 0x0 => 0x20 wlan0: sta_pick_bss: no scan candidate wlan0: scan_task: done, restart [ticks 487917, dwell min 20 scanend 2147963261] wlan0: scan_task: chan 140a -> 1g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 1g -> 6g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 6g -> 11g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 11g -> 7g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 7g -> 52a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 52a -> 56a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 56a -> 60a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 60a -> 64a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 64a -> 36a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 36a -> 40a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 40a -> 44a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 44a -> 48a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 48a -> 2g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 2g -> 3g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 3g -> 4g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 4g -> 5g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 5g -> 8g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 8g -> 9g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 9g -> 10g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 10g -> 149a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 149a -> 153a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 153a -> 157a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 157a -> 161a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 161a -> 100a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 100a -> 104a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 104a -> 108a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 108a -> 112a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 112a -> 116a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 116a -> 120a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 120a -> 124a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 124a -> 128a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 128a -> 132a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 132a -> 136a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 136a -> 140a [active, dwell min 20ms max 200ms] wlan0: sta_pick_bss: no scan candidate I have an ZyxXEL NWD2705 working fine. It has the exact same chipset as the ASUS USB-N66. So far I haven't been able to come up with a good solution to your problem. I purchased the ASUS USB-N66 and will arrive in the next couple of days. Hope I could find a new interesting bug :-) After r258363, I forgot to add a flag to run's device list which uses a standard scsi eject. The ASUS USB-N66 has been tested to work on my laptop. The attached patch should fix your problem :-) Please test it, thanks. Kevin Index: sys/dev/usb/wlan/if_run.c === --- sys/dev/usb/wlan/if_run.c (revision 262433) +++ sys/dev/usb/wlan/if_run.c (working copy) @@ -100,7 +100,8 @@ SYSCTL_INT(_hw_usb_run, OID_AUTO, debug, CTLFLAG_R static const STRUCT_USB_HOST_ID run_devs[] = { #defineRUN_DEV(v,p){ USB_VP(USB_VENDOR_##v, USB_PRODUCT_##v##_##p) } #defineRUN_DEV_EJECT(v,p) \ - { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, 0) } + { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RUN_EJECT) } +#defineRUN_EJECT 1 RUN_DEV(ABOCOM,RT2770), RUN_DEV(ABOCOM,RT2870), RUN_DEV(ABOCOM,RT3070), @@ -315,7 +316,7 @@ static const STRUCT_USB_HOST_ID run_devs[] = { RUN_DEV(ZINWELL, RT3072_2), RUN_DEV(ZYXEL, RT2870_1), RUN_DEV(ZYXEL, RT2870_2), -RUN_DEV(ZYXEL, NWD2705), +RUN_DEV_EJECT(ZYXEL, NWD2705), RUN_DEV_EJECT(RALINK, RT_STOR), #undef RUN_DEV_EJECT #undef RUN_DEV @@ -707,6 +708,8 @@ run_attach(device_t self) device_set_usb_desc(self); sc->sc_udev = uaa->device; sc->sc_dev
Re: Ralink RT3573 / ASUS USB-N66: run0: could not load 8051 microcode
On 2014/02/18 14:17, Alex Deiter wrote: Hello, Hi Alex, Thank you for your advice! I found a workaround: # ifconfig wlan0 create wlandev run0 then wait 5 minutes ;-) and only thereafter: # ifconfig wlan0 up run0: <1.0> on usbus1 run0: MAC/BBP RT3593 (rev 0x0402), RF RT3053 (MIMO 3T3R), address 30:85:a9:f4:52:bd uhid0: on usbus1 wlan0: Ethernet address: 30:85:a9:f4:52:bd run0: firmware RT3071 ver. 0.33 loaded But found another issue: ifconfig wlan0 list scan command does not show any results: root@test:~ # ifconfig wlan0 list scan root@test:~ # root@test:~ # wlandebug -i wlan0 scan net.wlan.0.debug: 0x0 => 0x20 wlan0: sta_pick_bss: no scan candidate wlan0: scan_task: done, restart [ticks 487917, dwell min 20 scanend 2147963261] wlan0: scan_task: chan 140a -> 1g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 1g -> 6g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 6g -> 11g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 11g -> 7g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 7g -> 52a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 52a -> 56a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 56a -> 60a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 60a -> 64a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 64a -> 36a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 36a -> 40a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 40a -> 44a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 44a -> 48a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 48a -> 2g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 2g -> 3g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 3g -> 4g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 4g -> 5g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 5g -> 8g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 8g -> 9g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 9g -> 10g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 10g -> 149a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 149a -> 153a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 153a -> 157a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 157a -> 161a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 161a -> 100a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 100a -> 104a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 104a -> 108a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 108a -> 112a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 112a -> 116a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 116a -> 120a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 120a -> 124a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 124a -> 128a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 128a -> 132a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 132a -> 136a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 136a -> 140a [active, dwell min 20ms max 200ms] wlan0: sta_pick_bss: no scan candidate I have an ZyxXEL NWD2705 working fine. It has the exact same chipset as the ASUS USB-N66. So far I haven't been able to come up with a good solution to your problem. I purchased the ASUS USB-N66 and will arrive in the next couple of days. Hope I could find a new interesting bug :-) Thank you! Kevin ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
Re: Ralink RT3573 / ASUS USB-N66: run0: could not load 8051 microcode
On Mon, February 17, 2014 10:17 pm, Alex Deiter wrote: > 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 > > > run0: <1.0> on usbus1 > run0: MAC/BBP RT3593 (rev 0x0402), RF RT3053 (MIMO 3T3R), address > 30:85:a9:f4:52:bd > uhid0: on > usbus1 wlan0: Ethernet address: 30:85:a9:f4:52:bd > run0: firmware RT3071 ver. 0.33 loaded > > > But found another issue: ifconfig wlan0 list scan command does not show > any results: > > > root@test:~ # ifconfig wlan0 list scan > root@test:~ # > > > root@test:~ # wlandebug -i wlan0 scan > net.wlan.0.debug: 0x0 => 0x20 > > > wlan0: sta_pick_bss: no scan candidate > wlan0: scan_task: done, restart [ticks 487917, dwell min 20 scanend > 2147963261] > wlan0: scan_task: chan 140a -> 1g [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 1g -> 6g [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 6g -> 11g [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 11g -> 7g [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 7g -> 52a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 52a -> 56a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 56a -> 60a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 60a -> 64a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 64a -> 36a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 36a -> 40a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 40a -> 44a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 44a -> 48a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 48a -> 2g [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 2g -> 3g [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 3g -> 4g [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 4g -> 5g [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 5g -> 8g [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 8g -> 9g [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 9g -> 10g [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 10g -> 149a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 149a -> 153a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 153a -> 157a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 157a -> 161a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 161a -> 100a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 100a -> 104a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 104a -> 108a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 108a -> 112a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 112a -> 116a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 116a -> 120a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 120a -> 124a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 124a -> 128a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 128a -> 132a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 132a -> 136a [active, dwell min 20ms max 200ms] > wlan0: scan_task: chan 136a -> 140a [active, dwell min 20ms max 200ms] > wlan0: sta_pick_bss: no scan candidate > > > Thank you! > > > > > 2014-02-18 2:05 GMT+04:00 Waitman Gobble : > > >> >> 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 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> WPA >> >>> 2,WME,WDS> >>> 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 0x81c2d0a8 >>> 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) >>> >>> bL
Re: Ralink RT3573 / ASUS USB-N66: run0: could not load 8051 microcode
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 run0: <1.0> on usbus1 run0: MAC/BBP RT3593 (rev 0x0402), RF RT3053 (MIMO 3T3R), address 30:85:a9:f4:52:bd uhid0: on usbus1 wlan0: Ethernet address: 30:85:a9:f4:52:bd run0: firmware RT3071 ver. 0.33 loaded But found another issue: ifconfig wlan0 list scan command does not show any results: root@test:~ # ifconfig wlan0 list scan root@test:~ # root@test:~ # wlandebug -i wlan0 scan net.wlan.0.debug: 0x0 => 0x20 wlan0: sta_pick_bss: no scan candidate wlan0: scan_task: done, restart [ticks 487917, dwell min 20 scanend 2147963261] wlan0: scan_task: chan 140a -> 1g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 1g -> 6g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 6g -> 11g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 11g -> 7g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 7g -> 52a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 52a -> 56a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 56a -> 60a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 60a -> 64a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 64a -> 36a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 36a -> 40a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 40a -> 44a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 44a -> 48a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 48a -> 2g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 2g -> 3g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 3g -> 4g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 4g -> 5g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 5g -> 8g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 8g -> 9g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 9g -> 10g [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 10g -> 149a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 149a -> 153a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 153a -> 157a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 157a -> 161a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 161a -> 100a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 100a -> 104a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 104a -> 108a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 108a -> 112a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 112a -> 116a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 116a -> 120a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 120a -> 124a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 124a -> 128a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 128a -> 132a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 132a -> 136a [active, dwell min 20ms max 200ms] wlan0: scan_task: chan 136a -> 140a [active, dwell min 20ms max 200ms] wlan0: sta_pick_bss: no scan candidate Thank you! 2014-02-18 2:05 GMT+04:00 Waitman Gobble : > > 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 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 > 2,WME,WDS> > > 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 0x81c2d0a8 > > 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 = > > 0x > > bDeviceSubClass = 0x bDeviceProtocol = 0x bMaxPacketSize0 = > 0x0040 > > idVendor = 0x0b05 idProduct = 0x17ad bcdDevice = 0x0101 iManufacturer = > > 0x0001 > >
Re: Ralink RT3573 / ASUS USB-N66: run0: could not load 8051 microcode
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 : > > 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 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 > 2,WME,WDS> > > 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 0x81c2d0a8 > > 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 = > > 0x > > bDeviceSubClass = 0x bDeviceProtocol = 0x 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 AddressSize Name > > 1 12 0x8020 196df88 kernel > > 21 0x81c12000 17db4if_run.ko > > 31 0x81c2a000 2a45 uhid.ko > > 41 0x81c2d000 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@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > > To unsubscribe, send any mail to > > "freebsd-wireless-unsubscr...@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 > 121 0x81a14000 13309if_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 ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
Re: Ralink RT3573 / ASUS USB-N66: run0: could not load 8051 microcode
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 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 2,WME,WDS> > 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 0x81c2d0a8 > 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 = > 0x > bDeviceSubClass = 0x bDeviceProtocol = 0x 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 AddressSize Name > 1 12 0x8020 196df88 kernel > 21 0x81c12000 17db4if_run.ko > 31 0x81c2a000 2a45 uhid.ko > 41 0x81c2d000 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to > "freebsd-wireless-unsubscr...@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 121 0x81a14000 13309if_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 ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
Ralink RT3573 / ASUS USB-N66: run0: could not load 8051 microcode
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 0x81c2d0a8 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 = 0x bDeviceSubClass = 0x bDeviceProtocol = 0x 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 AddressSize Name 1 12 0x8020 196df88 kernel 21 0x81c12000 17db4if_run.ko 31 0x81c2a000 2a45 uhid.ko 41 0x81c2d000 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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"