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.

can not enable wifi for ICS on custom tablet board with OMAP4430

Other Parts Discussed in Thread: 4430

Hi

I am using custom tablet board with 4430. When it uses L27.IS.1 release, WIFI is work well. After I move to 4AI.1.3, WIFI can't work.

The logcat log shows there is no wlan0 interface and supplicant not running.


A part of logs as following:

***************************

I/SystemServer( 190): Device Policy
I/SystemServer( 190): Status Bar
I/SystemServer( 190): Clipboard Service
I/SystemServer( 190): NetworkManagement Service
I/SystemServer( 190): Text Service Manager Service
I/SystemServer( 190): NetworkStats Service
I/SystemServer( 190): NetworkPolicy Service
I/SystemServer( 190): Wi-Fi P2pService
I/SystemServer( 190): Wi-Fi Service
E/CommandListener( 112): Failed to open /proc/sys/net/ipv6/conf/wlan0/disable_ipv6: No such file or directory
E/WifiStateMachine( 190): Failed to disable IPv6: java.lang.IllegalStateException: Unable to communicate to native daemon for disabling ipv6
I/SystemServer( 190): Connectivity Service
D/ConnectivityService( 190): ConnectivityService starting up
D/NetworkManagementService( 190): Registering observer
E/MobileDataStateTracker( 190): default: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 190): default: Could not enable APN type "default"
D/NetworkManagementService( 190): Registering observer
D/NetworkManagementService( 190): Registering observer
I/WifiService( 190): WifiService starting up with Wi-Fi disabled

*****************************

D/NetworkManagementService( 190): not enabling bandwidth control
D/dalvikvm( 190): GC_CONCURRENT freed 390K, 25% free 8133K/10759K, paused 7ms+5ms
W/NetworkStats( 190): problem reading network stats: java.lang.IllegalStateException: problem parsing idx 1
D/NetworkManagementService( 190): Registering observer
D/NetworkManagementService( 190): Registering observer
D/SystemUIService( 380): loading: class com.android.systemui.statusbar.tablet.TabletStatusBar
D/SystemUIService( 380): running: com.android.systemui.statusbar.tablet.TabletStatusBar@410d01a0
I/StatusBar.HeightReceiver( 380): Resizing status bar plugged=false height=48 old=0
I/ActivityManager( 190): Config changed: {1.0 0mcc0mnc en_US layoutdir=0 sw768dp w1024dp h720dp xlrg land finger -keyb/v/h -nav/h s.3}
W/RecognitionManagerService( 190): no available voice recognition services found
W/AppWidgetService( 190): Failed to read state: java.io.FileNotFoundException: /data/system/appwidgets.xml: open failed: ENOENT (No such file or directory)
W/InputManagerService( 190): Ignoring setImeWindowStatus of uid 1000 token: null
I/ActivityManager( 190): Start proc com.android.inputmethod.latin for service com.android.inputmethod.latin/.LatinIME: pid=396 uid=10021 gids={}
D/NetworkManagementService( 190): Registering observer
E/ThrottleService( 190): Error reading data file
D/dalvikvm( 380): GC_CONCURRENT freed 107K, 4% free 6763K/6983K, paused 2ms+1ms
I/ActivityManager( 190): Start proc com.android.phone for added application com.android.phone: pid=414 uid=1001 gids={3002, 3001, 3003, 1015}
I/ActivityManager( 190): START {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.android.settings/.CryptKeeper} from pid 0
I/ActivityManager( 190): Start proc com.android.settings for activity com.android.settings/.CryptKeeper: pid=427 uid=1000 gids={1015, 3002, 3001, 3003}
W/ThrottleService( 190): unable to find stats for iface rmnet0
I/ActivityThread( 414): Pub mms: com.android.providers.telephony.MmsProvider
I/ActivityThread( 414): Pub sms: com.android.providers.telephony.SmsProvider
I/ActivityThread( 414): Pub telephony: com.android.providers.telephony.TelephonyProvider
W/TelephonyProvider( 414): onCreate: confFile=/system/etc/apns-conf.xml oldCheckSum=-1
E/BinaryDictionaryGetter( 396): Could not find a dictionary pack
E/ActivityThread( 396): Failed to find provider info for com.android.inputmethod.latin.dictionarypack
W/ThrottleService( 190): unable to find stats for iface rmnet0
I/ActivityThread( 414): Pub icc: com.android.phone.IccProvider
I/ActivityThread( 414): Pub mms-sms: com.android.providers.telephony.MmsSmsProvider
D/dalvikvm( 396): GC_CONCURRENT freed 169K, 4% free 6779K/7047K, paused 2ms+3ms
W/NetworkManagementSocketTagger( 190): setKernelCountSet(1000, 1) failed with errno -2

*****************************

D/WifiService( 190): New client listening to asynchronous messages
D/dalvikvm( 190): GC_FOR_ALLOC freed 456K, 22% free 8445K/10759K, paused 41ms
I/ActivityManager( 190): START {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.android.launcher/com.android.launcher2.Launcher} from pid 0
I/ActivityManager( 190): Start proc com.android.launcher for activity com.android.launcher/com.android.launcher2.Launcher: pid=556 uid=10022 gids={}
W/ActivityManager( 190): Unable to start service Intent { act=com.android.ussd.IExtendedNetworkService }: not found
D/dalvikvm( 190): GC_CONCURRENT freed 101K, 22% free 8462K/10759K, paused 7ms+6ms
W/NetworkManagementSocketTagger( 190): setKernelCountSet(10022, 1) failed with errno -2

*****************************

W/NetworkManagementSocketTagger( 190): setKernelCountSet(10022, 0) failed with errno -2
W/CommandListener( 112): Failed to retrieve HW addr for wlan0 (No such device)
D/NetworkManagementService( 190): rsp <213 00:00:00:00:00:00 0.0.0.0 0 [down]>
D/CommandListener( 112): Setting iface cfg
E/WifiStateMachine( 190): Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native daemon to interface setcfg - com.android.server.NativeDaemonConnectorException: Cmd {interface setcfg wlan0 0.0.0.0 0 [down]} failed with code 400 : {Failed to set address (No such device)}
D/NetworkManagementService( 190): flags <[down]>
I/wpa_supplicant( 842): rfkill: Cannot open RFKILL control device
E/wpa_supplicant( 842): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 842): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 842): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 842): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 842): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 842): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 842): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 842): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 842): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 842): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 842): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 842): nl80211: Could not set interface 'wlan0' UP
E/wpa_supplicant( 842): wlan0: Failed to initialize driver interface
D/dalvikvm( 190): GC_CONCURRENT freed 391K, 21% free 8597K/10759K, paused 7ms+3ms
E/WifiHW ( 190): Supplicant not running, cannot connect
E/WifiHW ( 190): Supplicant not running, cannot connect
E/WifiHW ( 190): Supplicant not running, cannot connect
E/WifiHW ( 190): Supplicant not running, cannot connect
E/WifiHW ( 190): Supplicant not running, cannot connect
E/WifiStateMachine( 190): Failed to setup control channel, restart supplicant
W/CommandListener( 112): Failed to retrieve HW addr for wlan0 (No such device)
D/CommandListener( 112): Setting iface cfg
D/NetworkManagementService( 190): rsp <213 00:00:00:00:00:00 0.0.0.0 0 [down]>
D/NetworkManagementService( 190): flags <[down]>
E/WifiStateMachine( 190): Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native daemon to interface setcfg - com.android.server.NativeDaemonConnectorException: Cmd {interface setcfg wlan0 0.0.0.0 0 [down]} failed with code 400 : {Failed to set address (No such device)}
I/wpa_supplicant( 890): rfkill: Cannot open RFKILL control device
E/wpa_supplicant( 890): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 890): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 890): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 890): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 890): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 890): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 890): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 890): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 890): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 890): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 890): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 890): nl80211: Could not set interface 'wlan0' UP
E/wpa_supplicant( 890): wlan0: Failed to initialize driver interface
E/WifiHW ( 190): Supplicant not running, cannot connect
E/WifiHW ( 190): Supplicant not running, cannot connect
E/WifiHW ( 190): Supplicant not running, cannot connect
E/WifiHW ( 190): Supplicant not running, cannot connect
E/WifiHW ( 190): Supplicant not running, cannot connect
E/WifiStateMachine( 190): Failed to setup control channel, restart supplicant
W/CommandListener( 112): Failed to retrieve HW addr for wlan0 (No such device)
D/NetworkManagementService( 190): rsp <213 00:00:00:00:00:00 0.0.0.0 0 [down]>
D/NetworkManagementService( 190): flags <[down]>
D/CommandListener( 112): Setting iface cfg
E/WifiStateMachine( 190): Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native daemon to interface setcfg - com.android.server.NativeDaemonConnectorException: Cmd {interface setcfg wlan0 0.0.0.0 0 [down]} failed with code 400 : {Failed to set address (No such device)}
I/wpa_supplicant( 936): rfkill: Cannot open RFKILL control device
E/wpa_supplicant( 936): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 936): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 936): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 936): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 936): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 936): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 936): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 936): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 936): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 936): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 936): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 936): nl80211: Could not set interface 'wlan0' UP
E/wpa_supplicant( 936): wlan0: Failed to initialize driver interface
E/WifiHW ( 190): Supplicant not running, cannot connect
E/WifiHW ( 190): Supplicant not running, cannot connect
E/WifiHW ( 190): Supplicant not running, cannot connect
E/WifiHW ( 190): Supplicant not running, cannot connect
E/WifiHW ( 190): Supplicant not running, cannot connect
E/WifiStateMachine( 190): Failed to setup control channel, restart supplicant
D/dalvikvm( 190): GC_CONCURRENT freed 445K, 21% free 8573K/10759K, paused 6ms+3ms
W/CommandListener( 112): Failed to retrieve HW addr for wlan0 (No such device)

*****************************

  • Check that you have the modules in /system/lib/module:


     $ 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

    There was an error in a path for 4AI.1.3 WIFI build instruction that you may not see when building. Now it is correct.