Failed to load Wi-Fi driver

589 views
Skip to first unread message

linux newbie

unread,
Jan 12, 2010, 7:20:49 PM1/12/10
to android...@googlegroups.com
Hi,
 
Ours is Pxa255 based embedd platform.
 
I tested WiFi using wpa_supplicant and then booted Android.
 
If I select Wi-Fi under Settings, it says unable to start Wi-Fi and following is the logcat. Can anyone help me, how to debug this issue?
 
E/WifiService( 2649): Failed to load Wi-Fi driver.
D/SettingsWifiEnabler( 3438): Received wifi state changed from Unknown to Enabling
D/dalvikvm( 2649): GC freed 15560 objects / 781096 bytes in 260ms
D/SettingsWifiEnabler( 3438): Received wifi state changed from Enabling to Unknown
D/PowerManagerService( 2649): setPowerState: mPowerState=6 newState=3 noChangeLights=false
D/PowerManagerService( 2649):   oldKeyboardBright=false newKeyboardBright=false
D/PowerManagerService( 2649):   oldScreenBright=true newScreenBright=true
D/PowerManagerService( 2649):   oldButtonBright=true newButtonBright=false
D/PowerManagerService( 2649):   oldScreenOn=false newScreenOn=true
D/PowerManagerService( 2649):   oldBatteryLow=false newBatteryLow=false
 
Thanks

linux newbie

unread,
Jan 13, 2010, 12:30:42 AM1/13/10
to android...@googlegroups.com
Hi,
 
wpa_supplicant is not build into system/bin.
 
I enabled HAVE_CUSTOM_WIFI_DRIVER_2 := true(as mentioned in some discussions) under ~/mydriod/build/target/board/generic/BoardConfig.mk. But wpa_supplicant is not getting compiled.
 
can anyone help me in this regard?
 
Thanks

Javier Ubillos

unread,
Jan 13, 2010, 2:56:16 AM1/13/10
to android...@googlegroups.com
> E/WifiService( 2649): Failed to load Wi-Fi driver.

If you have made kernel changes you'll need to recompile the Wi-Fi driver aswell.

// Javier



On Wed, Jan 13, 2010 at 6:30 AM, linux newbie <linux.n...@gmail.com> wrote:
Hi,
 
wpa_supplicant is not build into system/bin.
 
I enabled HAVE_CUSTOM_WIFI_DRIVER_2 := true(as mentioned in some discussions) under ~/mydriod/build/target/board/generic/BoardConfig.mk. But wpa_supplicant is not getting compiled.
 
can anyone help me in this regard?
 
Thanks

On Wed, Jan 13, 2010 at 11:20 AM, linux newbie <linux.n...@gmail.com> wrote:
Hi,
 
Ours is Pxa255 based embedd platform.
 
I tested WiFi using wpa_supplicant and then booted Android.
 
If I select Wi-Fi under Settings, it says unable to start Wi-Fi and following is the logcat. Can anyone help me, how to debug this issue?
 
E/WifiService( 2649): Failed to load Wi-Fi driver.
D/SettingsWifiEnabler( 3438): Received wifi state changed from Unknown to Enabling
D/dalvikvm( 2649): GC freed 15560 objects / 781096 bytes in 260ms
D/SettingsWifiEnabler( 3438): Received wifi state changed from Enabling to Unknown
D/PowerManagerService( 2649): setPowerState: mPowerState=6 newState=3 noChangeLights=false
D/PowerManagerService( 2649):   oldKeyboardBright=false newKeyboardBright=false
D/PowerManagerService( 2649):   oldScreenBright=true newScreenBright=true
D/PowerManagerService( 2649):   oldButtonBright=true newButtonBright=false
D/PowerManagerService( 2649):   oldScreenOn=false newScreenOn=true
D/PowerManagerService( 2649):   oldBatteryLow=false newBatteryLow=false
 
Thanks



linux newbie

unread,
Jan 13, 2010, 5:46:33 PM1/13/10
to android...@googlegroups.com
Hi,
 

If you have made kernel changes you'll need to recompile the Wi-Fi driver aswell.
Yes, I recompiled the kernel, android and took the new root file system.
 
I coudlnt get wpa_supplicant in system/bin folder. Do I need to set any configuration flags in order to compile wpa_supplicant for "generic" product??
 
Thanks

linux newbie

unread,
Jan 13, 2010, 8:30:48 PM1/13/10
to android...@googlegroups.com
Hi,
 
Any suggestions?
 
Thanks

linux newbie

unread,
Jan 14, 2010, 7:35:29 PM1/14/10
to android...@googlegroups.com
Hi,
 
I set, BUILD_WPA_SUPPLICANT to true in external/wpa_supplicant folder and now I can able to get the binary under system/bin folder.
 
I just copied the wpa_supplicant executable to my root file system.
 
Still I am getting the same error i.e Failed to load Wi-Fi driver.
 
Any suggestions to debug this issue??
 
Thanks

feiyang yun

unread,
Jan 17, 2010, 8:40:42 PM1/17/10
to android...@googlegroups.com
hi,
see hardware/libhardware_legency/wifi/, it controls wifi on/off

2010/1/15 linux newbie <linux.n...@gmail.com>
Reply all
Reply to author
Forward
0 new messages