Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[SOLVED] wifi doesn't work

105

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
105

[SOLVED] wifi doesn't work

Posted at 2/26/2016 20:08:13      View:7889 | Replies:2        Print      Only Author   [Copy Link] 1#
Last edited by Key In 2/27/2016 14:23 Editor

hello everyone
I have some problem with wifi module.
I removed network-manager and configured wifi in /etc/network/interfaces manually.
  1. auto wlan0
  2. iface wlan0 inet static
  3. address 192.168.111.1
  4. netmask 255.255.255.0
  5. network 192.168.111.0
  6. broadcast 192.168.111.255
  7. wpa-ssid name
  8. wpa-psk pass
Copy the code

then
  1. sudo ifup wlan0
Copy the code
and it used to work well.

But after board restarted, interface wlan0 just disappeared....
iwconfig shows only sit, eth0, and lo interfaces.

dmesg without wifi config | grep wlan:
  1. [    4.058073] [WLAN_RFKILL]: Enter rfkill_wlan_init
  2. [    4.058325] [WLAN_RFKILL]: Enter rfkill_wlan_probe
  3. [    4.058342] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
  4. [    4.058350] [WLAN_RFKILL]: wlan_platdata_parse_dt: disable wifi io reference voltage control.
  5. [    4.058357] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
  6. [    4.058382] [WLAN_RFKILL]: wlan_platdata_parse_dt: get property: WIFI,poweren_gpio = 156, flags = 0.
  7. [    4.058402] [WLAN_RFKILL]: wlan_platdata_parse_dt: get property: WIFI,host_wake_irq = 158, flags = 0.
  8. [    4.058409] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
  9. [    4.058438] [WLAN_RFKILL]: rockchip_wifi_voltage_select: wifi & sdio reference voltage: 1.8V
  10. [    4.058497] [WLAN_RFKILL]: Exit rfkill_wlan_probe
  11. [    7.350670] [WLAN_RFKILL]: rockchip_wifi_power: 1
  12. [    7.350677] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: 1
  13. [    7.350681] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: wifi io reference voltage control is disabled.
  14. [    7.455297] [WLAN_RFKILL]: wifi turn on power. 156
  15. [    9.426941] [WLAN_RFKILL]: rockchip_wifi_power: 1
  16. [    9.426950] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: 1
  17. [    9.426959] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: wifi io reference voltage control is disabled.
  18. [    9.531557] [WLAN_RFKILL]: wifi turn on power. 156
  19. [    9.531610] =========== WLAN placed in POWER ON ========
  20. [    9.919238] [WLAN_RFKILL]: rockchip_wifi_get_oob_irq: Enter
  21. [    9.937226] [WLAN_RFKILL]: rockchip_wifi_mac_addr: enter.
  22. [    9.937246] [WLAN_RFKILL]: falsh wifi_custom_mac_addr=[00:00:00:00:00:00]
  23. [    9.937255] [WLAN_RFKILL]: This mac address is not valid, ignored...
  24. [    9.938679] [WLAN_RFKILL]: rockchip_wifi_power: 0
  25. [   10.043210] [WLAN_RFKILL]: wifi shut off power.
  26. [   10.043225] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: 0
  27. [   10.043233] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: wifi io reference voltage control is disabled.
  28. [   10.043241] =========== WLAN placed in RESET ========
  29. [  156.059646] [WLAN_RFKILL]: rockchip_wifi_power: 1
  30. [  156.059700] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: 1
  31. [  156.059754] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: wifi io reference voltage control is disabled.
  32. [  156.167394] [WLAN_RFKILL]: wifi turn on power. 156
  33. [  156.167463] =========== WLAN going back to live  ========
  34. [  156.343324] dhd_bus_devreset: == WLAN ON ==
  35. [  156.628664] [WLAN_RFKILL]: rockchip_wifi_mac_addr: enter.
  36. [  156.628675] [WLAN_RFKILL]: falsh wifi_custom_mac_addr=[00:00:00:00:00:00]
  37. [  156.628681] [WLAN_RFKILL]: This mac address is not valid, ignored...

Copy the code

dmesg with wifi config | grep wlan:
  1. [    4.366600] [WLAN_RFKILL]: Enter rfkill_wlan_init
  2. [    4.369608] [WLAN_RFKILL]: Enter rfkill_wlan_probe
  3. [    4.375200] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
  4. [    4.378002] [WLAN_RFKILL]: wlan_platdata_parse_dt: disable wifi io reference voltage control.
  5. [    4.380813] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
  6. [    4.383668] [WLAN_RFKILL]: wlan_platdata_parse_dt: get property: WIFI,poweren_gpio = 156, flags = 0.
  7. [    4.386733] [WLAN_RFKILL]: wlan_platdata_parse_dt: get property: WIFI,host_wake_irq = 158, flags = 0.
  8. [    4.388827] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
  9. [    4.390908] [WLAN_RFKILL]: rockchip_wifi_voltage_select: wifi & sdio reference voltage: 1.8V
  10. [    4.393084] [WLAN_RFKILL]: Exit rfkill_wlan_probe
Copy the code

wifi rockchip driver just didn't start without any messages...

How can i configure wifi?
Thanks
Reply

Use props Report

105

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
105
Posted at 2/27/2016 14:22:25        Only Author  2#
solved))
allow-hotplug wlan0
Reply

Use props Report

403

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
403
Posted at 3/3/2016 16:29:17        Only Author  3#
  Thank you for sharing this.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list