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.

wifi can't work on ICS

Other Parts Discussed in Thread: WL1271

Hi,

I am using a custom tablet board with OMAP4430. When I use L27_G_5 release, WIFI is work well. After moved to 4AI.1.3, WIFI can't work.

From the logcat logs, it said that supplicant not running. attached as following.

6470.logcat_wifi_not_work_on_ICS.TXT

Depending on the TI-Android-ICS-PortingGuide, no message wl1271:loaded after inserting wl12xx_sdio.ko kernel module.

But I think all the relevant pinmuxing and gpio configuration is correct,.

So I'm confused that where and when should the gpio been configured?

Thanks!

  • Are you sure you have the module inside /system/lib/module?

    You should have something like:

    ll /system/lib/modules/                                  
    -rw-r--r-- root     root      2975542 2012-05-24 17:51 cfg80211.ko
    -rw-r--r-- root     root       537010 2012-05-24 17:51 compat.ko
    -rw-r--r-- root     root      8385817 2012-05-24 17:51 mac80211.ko
    -rw-r--r-- root     root        25488 2012-05-24 16:08 omaplfb_sgx540_120.ko
    -rw-r--r-- root     root        25488 2012-05-24 16:08 omaplfb_sgx544_112.ko
    -rw-r--r-- root     root       303028 2012-05-24 16:08 pvrsrvkm_sgx540_120.ko
    -rw-r--r-- root     root       302804 2012-05-24 16:08 pvrsrvkm_sgx544_112.ko
    -rw-r--r-- root     root      2648689 2012-05-24 17:51 wl12xx.ko
    -rw-r--r-- root     root       270082 2012-05-24 17:51 wl12xx_sdio.ko

    check in kernel log if there is something about wl12xx module

  • Hi ICe,

    I have all the required modules in /system/lib/modules:

    $ ll /system/lib/modules

    -rw-r--r-- root     root      2969838 2012-06-02 00:46 cfg80211.ko

    -rw-r--r-- root     root       536010 2012-06-02 00:46 compat.ko

    -rw-r--r-- root     root      8332465 2012-06-02 00:46 mac80211.ko

    -rw-r--r-- root     root        22504 2012-06-01 06:02 omaplfb_sgx540_120.ko

    -rw-r--r-- root     root        22504 2012-06-01 06:02 omaplfb_sgx544_112.ko

    -rw-r--r-- root     root       300752 2012-06-01 06:02 pvrsrvkm_sgx540_120.ko

    -rw-r--r-- root     root       300688 2012-06-01 06:02 pvrsrvkm_sgx544_112.ko

    -rw-r--r-- root     root      2731020 2012-06-02 00:46 wl12xx.ko

    -rw-r--r-- root     root       269883 2012-06-02 00:46 wl12xx_sdio.ko

    I porting the WIFI followed TI-Android-ICS-PortingGuide.pdf step by step. The kernel log is:

    2477.kernel_log.log

    On our custom board, the only difference is that there are other two GPIOs should be enabled before GPIO_WIFI_PMENA. I enable them in function fixed_voltage_enable() of fixed.c, did I enable them in the right place?

    Best Regards!

    Jow

  • Hi Jow,

    Are you installing the modules in your init.omap4platform.rc file?, you should see the module is loaded in your booting log.

  • Hi ICe,

    The modules have been installed, as following:

    $ lsmod

    wl12xx 166793 0 - Live 0xbf0f1000

    mac80211 322997 1 wl12xx, Live 0xbf08e000

    cfg80211 177902 2 wl12xx,mac80211, Live 0xbf056000

    omaplfb_sgx540_120 16997 0 - Live 0xbf04e000

    compat 2814 0 - Live 0xbf04a000

    pvrsrvkm_sgx540_120 258314 39 omaplfb_sgx540_120, Live 0xbf000000

     

    But I think the wl12xx.ko has not been installed successful, because the wl12xx_probe is not been called.

    And when I click wifi enable button from the UI, wl12xx_sdio.ko could be inserted into the kernel, but the wl1271_probe was not been called too.

    1、I supposed that the wifi module does not be powered on. As I said earlier that there are other two GPIOs should be enabled before the GPIO_FIFI_PMENA.

    2、In file wl12xx/mian.c, there is a platform_driver named wl12xx_driver, but I don't find a platform_device which named wl12xx_driver. Will this lead to wl12xx_probe not to be executed?

     

    Regards!

    Jow

  • Hi Jow,

    This seems to be a similar error that the one in thread: http://e2e.ti.com/support/omap/f/849/p/190802/689240.aspx

    Please check the solution in that thread.