Guest pier11 Posted February 24, 2012 Report Posted February 24, 2012 I thought to create separate topic on wifi issue in .32 kernel, as it affects many roms already: - cm7.2 - um840 - cm6.x new builds if used with this kernel also it's the last annoying problem of .32 kernel.
Guest pier11 Posted February 24, 2012 Report Posted February 24, 2012 (edited) To start I found this development of cm7 for u8100/u8110/u8120 based on .32 kernel. Those devices feature our ar6000 driver. Worth to investigate... Don't know actual state of things there but they claim "--Wifi fixed" in UPDATE_12-FIX. http://forum.xda-dev...d.php?t=1295844 u8120 is also known as Pulse Mini... Edited February 24, 2012 by pier11
Guest dr.flo Posted February 24, 2012 Report Posted February 24, 2012 u8120 is also known as Pulse Mini... is their kernel source available?
Guest pier11 Posted February 24, 2012 Report Posted February 24, 2012 is their kernel source available? yet to figure. they never had official .32 kernel, but based I think on one from u8150 or increasingly popular u8160 one.
Guest dr.flo Posted February 24, 2012 Report Posted February 24, 2012 (edited) maybe this one? https://github.com/t...el_huawei_u8120 Kernel:2.6.32-9 (based on u8160 sources) this commit expicitly refers addition of ar6000 to kernel original reference I found says wifi and wifi hotspot working Edited February 24, 2012 by dr.flo
Guest pier11 Posted February 24, 2012 Report Posted February 24, 2012 possibly, or one of derivatives: https://github.com/tas0s/kernel_huawei_u8120/network/members in fact my first wifi integration attempt, which gave kernel reboots until wifi is turned off, was a copy of msm_sdcc.c from one of that trees (which is the same with regard to this file).
Guest pier11 Posted February 24, 2012 Report Posted February 24, 2012 maybe this one? https://github.com/t...el_huawei_u8120 Kernel:2.6.32-9 (based on u8160 sources) this commit expicitly refers addition of ar6000 to kernel original reference I found says wifi and wifi hotspot working we need to figure which wifi driver they used to make wifi hotspot working (and wifi in general) - the one from huawei or that openmoko in the kernel source tree...
Guest pier11 Posted February 24, 2012 Report Posted February 24, 2012 (edited) original reference I found says wifi and wifi hotspot working I think that's outdated snapshot of joilaroi's work, original of which is here: http://forum.xda-dev...d.php?t=1096075 and it also points to his own branch of tas0s kernel... Edited February 24, 2012 by pier11
Guest dr.flo Posted February 24, 2012 Report Posted February 24, 2012 the one from huawei or that openmoko in the kernel source tree... I would guess they used the latter - at least it was mentioned and commited in one go.... Would that mean if we go back to your first version of wifi integration (if it is identical to that) and extract ar6000 files from a current u8120 rom, we might already be done? that would be too simple, wouldn't it?
Guest pier11 Posted February 24, 2012 Report Posted February 24, 2012 (edited) looking at device_u8120.mk, ar6000.ko is taken from prebuilt folder... Question is what to put it there :) What's the origin of the driver... Edited February 24, 2012 by pier11
Guest pier11 Posted February 24, 2012 Report Posted February 24, 2012 ... extract ar6000 files from a current u8120 rom, we might already be done? that would be too simple, wouldn't it? try just ar6000.ko from their cm7. If it's openmoko compilation, it should already make a difference. (My current integration is quite close to that already, just a bit less hacks.)
Guest pier11 Posted February 24, 2012 Report Posted February 24, 2012 (edited) well, in the latest joilaroi's kernel config from Jan 4 CONFIG_AR6000_WLAN=mLooks like they do really build it. I think roots of this driver goes all the way to zte blade. (and then to openmoko of course) EDIT: here is zte blade commit (should be same as in u8120 tree): github.com/ZTE-BLADE/ZTE-BLADE-2.6.32/commit/37e68d163dd7d5c04f2aed461fb7d3c3b719f3ed Edited February 24, 2012 by pier11
Guest lloco73 Posted February 25, 2012 Report Posted February 25, 2012 this is an offtopic but when doing the wifi issue can also update kernel to boot into fastboot? I know that this is not a issue by itself but old kernel has this option enabled.
Guest pier11 Posted February 25, 2012 Report Posted February 25, 2012 (edited) woohooo - connected to my wifi router using u8120 wifi driver from their cm7.2 Just borrowed /system/wifi - that's it. No more changes. wifi itself works, did not test on resume yet. EDIT: looks it resumes. EDIT2: but sometimes doesn't. EDIT3: after a while it can't connect. But it's not dead as before. If go to wifi settings, it scans, but can't connect. If manually ask it to, it will connect. I.e. no need to reload kernel module by turning wifi off/on. This behavior reminds me of older cm6. Maybe cm7 supplicant would help here too. Edited February 25, 2012 by pier11
Guest dr.flo Posted February 25, 2012 Report Posted February 25, 2012 (edited) but sometimes doesn't. EDIT3: after a while it can't connect. But it's not dead as before. If go to wifi settings, it scans, but can't connect. If manually ask it to, it will connect. I.e. no need to reload kernel module by turning wifi off/on. This behavior reminds me of older cm6. Maybe cm7 supplicant would help here too. Did you test on um840? using TXG06 (TomG original) version of wpa_supplicant? That one is definitely broken. I remember having read on some cyanogenmod related forum that other devices also had resume issues. They were considered fixed in cm7. Likely wpa_supplicant from cm7 branches received some related fixes. ----> Take wpa_supplicant from cm72 (or from cm6-clean, is the same). Pretty sure it will help. What you have sounds like good old cm6 wifi reconnection bug! edit: or try their wpa_supplicant? Edited February 25, 2012 by dr.flo
Guest lloco73 Posted February 25, 2012 Report Posted February 25, 2012 like we are talking about kernel i have a question.? Is .32 kernel backward compatible with the stock 2.1 rom?
Guest pier11 Posted February 25, 2012 Report Posted February 25, 2012 like we are talking about kernel i have a question.? Is .32 kernel backward compatible with the stock 2.1 rom? it is not supposed to be. Eclair were developed on .29 kernel. It had never tested on .32 kernel. Official Froyo kernel is .32
Guest lloco73 Posted February 25, 2012 Report Posted February 25, 2012 it is not supposed to be. Eclair were developed on .29 kernel. It had never tested on .32 kernel. Official Froyo kernel is .32 Thanks My question was because i've tested kernel .32 on Eclair and it booted ok, but after configuration it gave me a FC on home screen.
Guest dr.flo Posted February 25, 2012 Report Posted February 25, 2012 any news on that? I was working on updating the cm6 roms today so I couldn't test anything myself yet...
Guest pier11 Posted February 25, 2012 Report Posted February 25, 2012 (edited) any news on that? I was working on updating the cm6 roms today so I couldn't test anything myself yet... yes, looks like wpa_supplicant from cm7.2 helps. I was away from my wifi for 5 hours with the device, and when returned pulse has reconnected to wifi - awesome! EDIT: checked USB tethering - also works. Edited February 26, 2012 by pier11
Guest dr.flo Posted February 26, 2012 Report Posted February 26, 2012 (edited) yes, looks like wpa_supplicant from cm7.2 helps. I was away from my wifi for 5 hours with the device, and when returned pulse has reconnected to wifi - awesome! sounds promising :) do you know if there is still a rom online that has the old wifi integration (that causes reboots) - rom_u8150-FR.01.zip maybe? Perhaps it ( = the zImage used on another rom where wifi works) won't reboot with new ar6000.ko...? It might bring us closer to wifi hotspot? Edited February 26, 2012 by dr.flo
Guest Freon35 Posted February 26, 2012 Report Posted February 26, 2012 Besides U8220 I have also a U8110 (Pulse Mini). The best image for that phone (the most complete ROM) is from Anryl. http://forum.xda-developers.com/showthread.php?p=11287884# The next best thing for U8110 is a remoded ROM with ICS look from Sneki - but also everything works. http://forum.xda-developers.com/showthread.php?t=1369063
Guest pier11 Posted February 26, 2012 Report Posted February 26, 2012 Resume really works. Reconnected automatically after overnight inactivity. So this really fixes long standing issue with wifi. Which in fact was not even with kernel itself but wifi driver...
Guest pier11 Posted February 26, 2012 Report Posted February 26, 2012 do you know if there is still a rom online that has the old wifi integration (that causes reboots) ... Perhaps it ( = the zImage used on another rom where wifi works) won't reboot with new ar6000.ko...? It might bring us closer to wifi hotspot? this is dtox's build against .32 kernel. It was before wifi integration got revisit.
Guest pier11 Posted February 26, 2012 Report Posted February 26, 2012 Besides U8220 I have also a U8110 (Pulse Mini). The best image for that phone (the most complete ROM) is from Anryl. http://forum.xda-dev...php?p=11287884# The next best thing for U8110 is a remoded ROM with ICS look from Sneki - but also everything works. http://forum.xda-dev...d.php?t=1369063 thanks for you input. does wifi hotspot work on either?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now