wl.ko WIFI driver on ICS

2,148 views
Skip to first unread message

Shady

unread,
Jan 6, 2012, 7:40:30 AM1/6/12
to andro...@googlegroups.com
Hello All,
Still trying to get the bcm wifi device on my Lenovo S10e to work. 
On gingerbread and honeycomb it works like a charm!!
On ICS i get the following in logcat when i try to trun on the wifi in settings
I/WifiHW  ( 1515): got module patch /system/lib/modules/3.0.8-android-x86-asus-laptop+/kernel/drivers/net/wireless/wl/wl.ko
E/WifiStateMachine( 1515): Failed to reload STA firmware java.lang.IllegalStateException: Error communicating to native daemon 
W/CommandListener( 1463): Failed to retrieve HW addr for  (No such device)
D/CommandListener( 1463): Setting iface cfg
E/WifiStateMachine( 1515): Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native daemon to interface setcfg - com.android.server.NativeDaemonConnectorException: Cmd {interface setcfg  0.0.0.0 0 [down]} failed with code 400 : {Failed to set address (No such device)}
D/wpa_supplicant( 2797): wpa_supplicant v0.8.x
D/wpa_supplicant( 2797): random: Trying to read entropy from /dev/random
D/wpa_supplicant( 2797): Initializing interface 'eth0' conf '/data/misc/wifi/wpa_supplicant.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A'
D/wpa_supplicant( 2797): Configuration file '/data/misc/wifi/wpa_supplicant.conf' -> '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 2797): Reading configuration file '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 2797): ctrl_interface='DIR=/data/system/wpa_supplicant GROUP=wifi'
D/wpa_supplicant( 2797): update_config=1
D/wpa_supplicant( 2797): eapol_version=1
D/wpa_supplicant( 2797): ap_scan=1
D/wpa_supplicant( 2797): fast_reauth=1
E/wpa_supplicant( 2797): nl80211: Could not add multicast membership for scan events: -2 (No such file or directory)
E/wpa_supplicant( 2797): eth0: Failed to initialize driver interface
D/wpa_supplicant( 2797): Failed to add interface eth0
D/NetworkManagementService( 1515): rsp <213 00:00:00:00:00:00 0.0.0.0 0 [down]>
D/NetworkManagementService( 1515): flags <[down]>
E/WifiStateMachine( 1515): Failed to start supplicant!
D/KbdSensor( 1515): poll_poll: dev=0x9a27090 ufd=34 fd=35 rotation=0
W/Netd    ( 1463): No subsystem found in netlink event
D/NetlinkEvent( 1463): Unexpected netlink message. type=0x11
D/KbdSensor( 1515): poll_poll: dev=0x9a27090 data=0x9ae70640 count=16
D/AudioHardware( 1468): AudioHardware pcm playback is going to standby.
D/AudioHardware( 1468): closePcmOut_l() mPcmOpenCnt: 1

I would like to point out that if i type insmod wl.ko in the terminal, followed by netcfg eth0 shows up in the list. Trying to switch on the wifi after that unloads the wl module.

Has anyone come accross something similar? Any ideas where to start?

Thanks in advance.

 

Yi Sun

unread,
Jan 6, 2012, 12:51:22 PM1/6/12
to andro...@googlegroups.com


E/WifiStateMachine( 1515): Failed to reload STA firmware java.lang.IllegalStateException: Error communicating to native daemon 
W/CommandListener( 1463): Failed to retrieve HW addr for  (No such device)

It seems that wpa_supplicat is not run correctly.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-x86/-/wjwlTP_xcCgJ.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.

Shady

unread,
Jan 7, 2012, 9:28:06 AM1/7/12
to andro...@googlegroups.com
Thanks for the reply
I noticed that with ICS wpa_supplicant drivers included is only nl80211
in ginger bread I had in the list wext and awext

I tried to rebuild the eeepc target with a modification in the BoardConfig.mk to include wext ... but unforutnately that didnt fix the wifi issue... I couldnt see the logcat since in debug mode wpa_supplicant gives me permission denied when i run it... and without the debug the term application opens in whitescreen

help is much needed with this... pointers in the right direction or possible options to try is what Im looking for...
I hope this is not a dead end!!!
Thanks in advance

dscm

unread,
Jan 7, 2012, 10:57:09 AM1/7/12
to Android-x86
build/target/product/core.mk in ics does not include
wpa_supplicant.conf

as it does in build/target/product/core.mk for honeycomb...

and there may be others...??

Shady

unread,
Jan 7, 2012, 1:59:10 PM1/7/12
to andro...@googlegroups.com
Finally got wifi with wl.ko working on ICS.
It's a simple solution which I tried when I thought I reached a dead end.
The problem is the combination of wl.ko + wpa_supplicant version 0.8 + nl80211 driver for the supplicant are not playing nicely together. In GB an HC wpa_supplicant is version 0.6 using awext driver.
The solution to get wifi working on an eeepc build of ics, copy /system/bin/wpa_supplicant from a honey comb image and replace the one in ics.
Edit init.rc in the ramdisk.img. look for -Dnl80211 and replace it with -Dawext
Save and rebuild the ramdisk.img

Start Android, wifi should work
Now black screens in browser and gmail are the problems to solve... any help?

dscm

unread,
Jan 7, 2012, 2:06:28 PM1/7/12
to Android-x86
black screens in browser may be do to the experiment renderscript
support
added 12-25-11

Shady Rasheed

unread,
Jan 7, 2012, 2:10:30 PM1/7/12
to andro...@googlegroups.com

Can it be disabled without rebuilding?

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.

dscm

unread,
Jan 7, 2012, 2:45:54 PM1/7/12
to Android-x86
no sure haven't traced it yet...have implemented your wifi fix and am
about to build it for
ics tegav2 then test later...be a while..

On Jan 7, 2:10 pm, Shady Rasheed <rasheedsh...@gmail.com> wrote:
> Can it be disabled without rebuilding?

dscm

unread,
Jan 7, 2012, 9:36:35 PM1/7/12
to Android-x86
ok...what image are you running?? those changes break building
tegav2..so I rebuilt it
without the changes and wifi works fine...so again..what image are you
running..??

On Jan 7, 1:59 pm, Shady <rasheedsh...@gmail.com> wrote:

Shady Rasheed

unread,
Jan 7, 2012, 10:16:55 PM1/7/12
to andro...@googlegroups.com

I'm running ICS eeepc 20120101
This build has wl.ko in it. But on my Lenovo S10e wifi doesn't load.

I didn't rebuild the image. Here's what I did.
Install android as read write on ext3 partition.
Replace /system/bin/wpa_supplicant with one from honeycomb.
Edit init.rc in the ramdisk to replace nl80211 by awext (this requires unpacking an repacking ramdisk.img)

dscm

unread,
Jan 8, 2012, 2:30:05 PM1/8/12
to Android-x86
check your email...

On Jan 7, 10:16 pm, Shady Rasheed <rasheedsh...@gmail.com> wrote:
> I'm running ICS eeepc 20120101
> This build has wl.ko in it. But on my Lenovo S10e wifi doesn't load.
>
> I didn't rebuild the image. Here's what I did.
> Install android as read write on ext3 partition.
> Replace /system/bin/wpa_supplicant with one from honeycomb.
> Edit init.rc in the ramdisk to replace nl80211 by awext (this requires
> unpacking an repacking ramdisk.img)

dscm

unread,
Jan 10, 2012, 4:30:42 PM1/10/12
to Android-x86
you should hook up with robill...he's getting progress..

http://groups.google.com/group/android-x86/browse_thread/thread/c22b6d934171a7e0/ca3500c2c7bb6cc6#ca3500c2c7bb6cc6



On Jan 7, 10:16 pm, Shady Rasheed <rasheedsh...@gmail.com> wrote:
> I'm running ICS eeepc 20120101
> This build has wl.ko in it. But on my Lenovo S10e wifi doesn't load.
>
> I didn't rebuild the image. Here's what I did.
> Install android as read write on ext3 partition.
> Replace /system/bin/wpa_supplicant with one from honeycomb.
> Edit init.rc in the ramdisk to replace nl80211 by awext (this requires
> unpacking an repacking ramdisk.img)

Genny Hempstead

unread,
Jan 11, 2012, 11:02:42 AM1/11/12
to Android-x86
I am using the Eee PC version of Android x86 4.0 on a Asus Eee PC &
also have been having the browser black screen problem. I got around
the problem by going into "about:debug" and then going into settings.
Usually after I go back out of settings, I am able to see the pages
correctly. Not sure why enabling the debug settings would fix this but
thought I should mention it. I also disabled OpenGL rendering in debug
mode & set the User Agent to Desktop. But it seems to be just turning
debugging off that "fixes" it. Hope this helps those of you working on
this system to figure out what is causing the bug!
Reply all
Reply to author
Forward
0 new messages