This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Not working after build and install modules

Other Parts Discussed in Thread: WL1831

Hello

I insert your chip(WL1813) to i.mx6SL board of Freescale for WIFI.

--------------------------------------------------------------------------------------------------------------

wlcore_sdio 3338 0 - Live 0x00000000
wl18xx 58243 0 - Live 0x00000000
wlcore 155928 1 wl18xx, Live 0x00000000
mac80211 250644 2 wl18xx,wlcore, Live 0x00000000
cfg80211 166881 3 wl18xx,wlcore,mac80211, Live 0x00000000
compat 1803 4 wlcore_sdio,wl18xx,mac80211,cfg80211, Live 0x00000000

--------------------------------------------------------------------------------------------------------------

After, I turned on wifi at apps -> settings -> wifi.

But, wifi is not working.

I do not know what can i do for this status(not working wifi)

could you find checking point on below my source spec and log?

kernel : 3.0.35

board : Freescale i.mx6 Solo Light

base code for modules : https://gitorious.org/rowboat/hardware-ti-wlan/source/09ae48d2f4d9cb15098024586c67f1163c04bd43:mac80211  

wifi and bt chip : WL1831

---------------------------------------- Logcat ----------------------------------------------------------------------------------

01-02 00:01:47.980: D/WifiService(2538): setWifiEnabled: true pid=2899, uid=1000
01-02 00:01:48.020: D/dalvikvm(2538): GC_FOR_ALLOC freed 642K, 39% free 5905K/9552K, paused 34ms, total 35ms
01-02 00:01:48.200: E/WifiStateMachine(2538): Failed to reload STA firmware java.lang.IllegalArgumentException: command '12 softap fwreload wlan0 STA' failed with '501 12 SoftAP command has failed'
01-02 00:01:48.340: W/CommandListener(2157): Failed to retrieve HW addr for wlan0 (No such device)
01-02 00:01:48.340: D/CommandListener(2157): Setting iface cfg
01-02 00:01:48.380: E/WifiStateMachine(2538): Unable to change interface settings: java.lang.IllegalStateException: command '14 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 14 Failed to set address (No such device)'
01-02 00:01:48.380: E/WifiHW(2538): ctrl_interface != /data/misc/wifi/sockets
01-02 00:01:48.410: D/WifiMonitor(2538): startMonitoring(wlan0) with mConnected = false
01-02 00:01:48.410: E/BluetoothAdapter(2899): Bluetooth binder is null
01-02 00:01:48.450: I/wpa_supplicant(3174): Successfully initialized wpa_supplicant
01-02 00:01:48.460: I/wpa_supplicant(3174): rfkill: Cannot open RFKILL control device
01-02 00:01:48.460: E/wpa_supplicant(3174): Could not read interface p2p0 flags: No such device
01-02 00:01:48.460: E/wpa_supplicant(3174): p2p0: Failed to initialize driver interface
01-02 00:01:53.500: I/MediaFocusControl(2538):  AudioFocus  abandonAudioFocus() from android.media.AudioManager@41329038com.android.music.MediaPlaybackService$3@41327eb8
01-02 00:01:53.510: I/ActivityManager(2538): Start proc com.android.musicfx for broadcast com.android.musicfx/.ControlPanelReceiver: pid=3179 uid=10010 gids={50010, 3003, 3002}
01-02 00:01:53.530: I/PackageManager(2538): Running dexopt on: com.android.musicfx
01-02 00:01:53.680: D/dalvikvm(3192): DexOpt: load 13ms, verify+opt 98ms, 542412 bytes
01-02 00:01:55.960: V/MusicFXControlPanelReceiver(3179): onReceive
01-02 00:01:55.960: V/MusicFXControlPanelReceiver(3179): Action: android.media.action.CLOSE_AUDIO_EFFECT_CONTROL_SESSION
01-02 00:01:55.960: V/MusicFXControlPanelReceiver(3179): Package name: com.android.music
01-02 00:01:55.960: V/MusicFXControlPanelReceiver(3179): Audio session: 7
01-02 00:01:55.960: V/MusicFXControlPanelEffect(3179): closeSession(android.app.ReceiverRestrictedContext@41323170, com.android.music, 7)
01-02 00:01:59.420: E/WifiHW(2538): Supplicant not running, cannot connect
01-02 00:02:00.420: E/WifiHW(2538): Supplicant not running, cannot connect
01-02 00:02:01.430: E/WifiHW(2538): Supplicant not running, cannot connect
01-02 00:02:02.430: E/WifiHW(2538): Supplicant not running, cannot connect
01-02 00:02:03.430: E/WifiHW(2538): Supplicant not running, cannot connect
01-02 00:02:03.430: E/WifiMonitor(2538): startMonitoring(wlan0) failed!
01-02 00:02:03.430: E/WifiStateMachine(2538): Failed to setup control channel, restart supplicant
01-02 00:02:08.450: E/WifiStateMachine(2538): Failed to reload STA firmware java.lang.IllegalArgumentException: command '15 softap fwreload wlan0 STA' failed with '501 15 SoftAP command has failed'
01-02 00:02:08.570: W/CommandListener(2157): Failed to retrieve HW addr for wlan0 (No such device)
01-02 00:02:08.570: D/CommandListener(2157): Setting iface cfg
01-02 00:02:08.610: E/WifiStateMachine(2538): Unable to change interface settings: java.lang.IllegalStateException: command '17 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 17 Failed to set address (No such device)'
01-02 00:02:08.640: I/wpa_supplicant(3194): Successfully initialized wpa_supplicant
01-02 00:02:08.640: I/wpa_supplicant(3194): rfkill: Cannot open RFKILL control device
01-02 00:02:08.650: E/BluetoothAdapter(2899): Bluetooth binder is null
01-02 00:02:08.650: E/WifiMonitor(2538): startMonitor called with unknown iface=wlan0
01-02 00:02:08.650: E/wpa_supplicant(3194): Could not read interface p2p0 flags: No such device
01-02 00:02:08.650: E/wpa_supplicant(3194): p2p0: Failed to initialize driver interface

  • HI,

    Can you please tell me the result of "ifconfig -a"? Do you see the wlan0 interface?

    Regards,
    Gigi Joseph.
  • Hi Joseph.

    When i check ifconfig, there is no wlan0.

    Could you help me?


    root@evk_6sl_eink:/ # busybox ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:04:9F:03:02:83
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

  • Hi,

    This could mean that the device is not powered up.
    Can you check if WLAN_EN is toggling using a scope?

    Regards,
    Gigi Joseph.
  • Hi Joseph

    When i check WLAN_EN, the point is high by using scope.
    After insmod the 'ko ' files, what can i do for enable wifi?

    Thank you.
  • Hi,

    After the insmod is complete, you should see the wlan0 interface. Not seeing that would mean that the device is not up. Please check: http://processors.wiki.ti.com/index.php/WL18xx_Platform_Integration_Guide#WLAN_Reset.2FPower_up_sequence and confirm if the chip power up sequence is working fine.

    Regards,
    Gigi Joseph.