Guest teknologist Posted November 27, 2009 Report Share Posted November 27, 2009 (edited) Good idea. I am trying it as I write this. I'll keep you all posted! Got all modules compiled and loaded (had to modify many things in kernel config and tweak some the Kconfig files to suit HTC's Hero customizations): # lsmod wl1251_spi 2176 0 - Live 0xbf059000 wl1251_sdio 1248 0 - Live 0xbf057000 ramzswap 7056 1 - Live 0xbf054000 xvmalloc 2944 1 ramzswap, Live 0xbf052000 lzo_compress 1792 1 ramzswap, Live 0xbf050000 lzo_decompress 2208 1 ramzswap, Live 0xbf04e000 tun 6884 0 - Live 0xbf04b000 msm_wifi 800 0 - Live 0xbf049000 wl1251 37985 2 wl1251_spi,wl1251_sdio, Live 0xbf03e000 mac80211 131528 3 wl1251_spi,wl1251_sdio,wl1251, Live 0xbf01c000 cfg80211 90804 2 wl1251,mac80211, Live 0xbf004000 rfkill_backport 10072 1 cfg80211, Live 0xbf000000 Still have a problem detecting the wlan sdio card: wds: 0020 @ 01 qmi: wds: got handle 0x18dd4480 wds: 0022 @ ff qmi: wds: CONNECTED wds: 002d @ 01 qmi: got network profile rmnet_open() SMD: ch 11 OPENING -> OPENED wds: 0020 @ 01 qmi: wds: network start failed (001a) phy0: Failed to initialize wep: -2 wl1251: ERROR unable to register mac80211 hw: -2 wl1251_sdio: probe of mmc0:0001:1 failed with error -2 I'll investigate.. [EDIT] After reading the sources it seems the error comes from the failure to register the hardware and its mac address: static int wl1251_register_hw(struct wl1251 *wl) 1149 { 1150 int ret; 1151 1152 if (wl->mac80211_registered) 1153 return 0; 1154 1155 SET_IEEE80211_PERM_ADDR(wl->hw, wl->mac_addr); 1156 1157 ret = ieee80211_register_hw(wl->hw); 1158 if (ret < 0) { 1159 wl1251_error("unable to register mac80211 hw: %d", ret); 1160 return ret; 1161 } 1162 1163 wl->mac80211_registered = true; 1164 1165 wl1251_notice("loaded"); 1166 1167 return 0; 1168 } Edited November 27, 2009 by teknologist Link to comment Share on other sites More sharing options...
Guest redcow Posted November 27, 2009 Report Share Posted November 27, 2009 A few minutes ago I found the following source tree http://gitorious.org/linux-on-qualcomm-s-m...sm/trees/master, it compiles and loads the modules without problems (omg I lost HOURS playing around in order to get working modules). I get the same error as you.... Link to comment Share on other sites More sharing options...
Guest teknologist Posted November 27, 2009 Report Share Posted November 27, 2009 (edited) A few minutes ago I found the following source tree http://gitorious.org/linux-on-qualcomm-s-m...sm/trees/master, it compiles and loads the modules without problems (omg I lost HOURS playing around in order to get working modules). I get the same error as you.... The unknown symbols errors you posted are related to the kernel config I fixed them by tweaking the config All versions I have tried compile and load modules with no errors whatsoever but I always get this when I insert the sdio module: phy0: Failed to initialize wep: -2 wl1251: ERROR unable to register mac80211 hw: -2 wl1251_sdio: probe of mmc0:0001:1 failed with error -2 Looking at the git commit I found this: Add wl1251 option to set the MAC address. Might solve the issue... I am going to get a break and maybe try later...it's 3:15AM her...need some sleep.. Edited November 27, 2009 by teknologist Link to comment Share on other sites More sharing options...
Guest redcow Posted November 27, 2009 Report Share Posted November 27, 2009 (edited) The unknown symbols erros you posted are related to the kernel config I fixed them by tweaking the config All versions I have tried compile and load modules with no errors whatsoever but I always get this when I insert the sdio module: phy0: Failed to initialize wep: -2 wl1251: ERROR unable to register mac80211 hw: -2 wl1251_sdio: probe of mmc0:0001:1 failed with error -2 Looking at the git commit I found this: Add wl1251 option to set the MAC address. Might solve the issue... I am going to get a break and maybe try later...it's 3:15AM her...need some sleep.. Yeah me too, I'm very tired.. I'm using the compat-wireless-msm sources (the git commit you mentioned) and got the same error, did also a diff with the compat wireless source tree and there is no real significant difference which would have influence on our problem :/. Stupid question, how do u unload modules? rmmod gives me "chdir (2.6.27-mck...): no such file or directory, probably because there is no module directory. Edited November 27, 2009 by redcow Link to comment Share on other sites More sharing options...
Guest teknologist Posted November 27, 2009 Report Share Posted November 27, 2009 (edited) Yeah me too, I'm very tired.. I'm using the compat-wireless-msm sources (the git commit you mentioned) and got the same error, did also a diff with the compat wireless source tree and there is no real significant difference which would have influence on our problem :/. Stupid question, how do u unload modules? rmmod gives me "chdir (2.6.27-mck...): no such file or directory, probably because there is no module directory. You need to symlink /system/lib/modules to /system/lib/modules/KERNELVERSION For example in my case with my kernel version being 2.6.27-mck-teknologist-1.9a ln -s /system/lib/modules /system/lib/modules/2.6.27-mck-teknologist-1.9a [EDIT] Well no luck neither with setting the MAC address manually.. phy0: Failed to initialize wep: -2 wl1251: ERROR unable to register mac80211 hw: -2 wl1251_sdio: probe of mmc0:0001:1 failed with error -2 I'll give up for now... Anyway I am pretty happy with the perfs of wlan from AOSP....The only thing bothering is wifi tether for root users.... I'll focus on that rather than trying to bring this modules to the kernel as it seems work in progress so far if you look at their git repo... Let me know if you succeed though ! [EDIT] Fixed wifi tether issues with original wlan module. Fix released as kernel v 1.9 Edited November 28, 2009 by teknologist Link to comment Share on other sites More sharing options...
Guest redcow Posted November 27, 2009 Report Share Posted November 27, 2009 You need to symlink /system/lib/modules to /system/lib/modules/KERNELVERSION For example in my case with my kernel version being 2.6.27-mck-teknologist-1.9a ln -s /system/lib/modules /system/lib/modules/2.6.27-mck-teknologist-1.9a [EDIT] Well no luck neither with setting the MAC address manually.. phy0: Failed to initialize wep: -2 wl1251: ERROR unable to register mac80211 hw: -2 wl1251_sdio: probe of mmc0:0001:1 failed with error -2 I'll give up for now... Anyway I am pretty happy with the perfs of wlan from AOSP....The only thing bothering is wifi tether for root users.... I'll focus on that rather than trying to bring this modules to the kernel as it seems work in progress so far if you look at their git repo... Let me know if you succeed though ! Alright, thank you for your help :D I wanted to get wl1251 running because it seems it is supported by the aircrack framework and has monitor mode, therefore kismet and all that stuff would probably work (iwconfig etc). Link to comment Share on other sites More sharing options...
Guest huey-t Posted November 28, 2009 Report Share Posted November 28, 2009 I keep getting a syntax error when I try flashing the latest 1.9 update. I'm currently on MCR 2.9. Link to comment Share on other sites More sharing options...
Guest teknologist Posted November 28, 2009 Report Share Posted November 28, 2009 I keep getting a syntax error when I try flashing the latest 1.9 update. I'm currently on MCR 2.9. Sorry about that, Fixed it as fast as I could, but you were faster ! ;-) re-download the file. Link to comment Share on other sites More sharing options...
Guest SorinC Posted November 28, 2009 Report Share Posted November 28, 2009 I have tried to build Teknologist kernel 1.8 with USB_FUNCTION_SERIAL enabled, reflashed but the device does not start (reboots). Has anyone else tried this before, does it work? In need this function to establish communication between the Hero and Atmel EVK1100 running in host mode. Link to comment Share on other sites More sharing options...
Guest Posted November 28, 2009 Report Share Posted November 28, 2009 Flashed without issue, not noticed any change at the moment but everything seems at least as smooth as it was on Modaco 2.9. Might notice some benefits over the next few days. :D Link to comment Share on other sites More sharing options...
Guest teknologist Posted November 28, 2009 Report Share Posted November 28, 2009 (edited) Flashed without issue, not noticed any change at the moment but everything seems at least as smooth as it was on Modaco 2.9. Might notice some benefits over the next few days. :D The main thing is that wifi tether for root users will work flawlessly ! The rest is the same ! This is just a bugfix. [EDIT] Only issue fixed with wifi/tether is the freezes on wifi and reboots....the wep not working is not fixed as I don't believe it's in kernel domain...rather userspace tools...wpa_supplicant maybe ? Why I think that ? because I never had WEP working on Hero even with stock kernel based MCRs...Anyone got WEP working on any MCR releases prior to 2.8 ? Edited November 29, 2009 by teknologist Link to comment Share on other sites More sharing options...
Guest Posted November 28, 2009 Report Share Posted November 28, 2009 D'oh! Feels nice to be up to date at least! Link to comment Share on other sites More sharing options...
Guest teknologist Posted November 29, 2009 Report Share Posted November 29, 2009 D'oh! Feels nice to be up to date at least! Feels nice to have wifi tether working great at least ! ;-) Link to comment Share on other sites More sharing options...
Guest kookix Posted November 29, 2009 Report Share Posted November 29, 2009 (edited) Flashed without issue on MCR 2.9 =) Edited November 29, 2009 by kookix Link to comment Share on other sites More sharing options...
Guest Posted November 29, 2009 Report Share Posted November 29, 2009 Feels nice to have wifi tether working great at least ! ;-) I never use it, perhaps I will just to experience the joy! Link to comment Share on other sites More sharing options...
Guest sheppy1 Posted November 29, 2009 Report Share Posted November 29, 2009 (edited) Installed latest 1.9 update, not noticed any performance increase as of yet but no performance decrease either so that's always good Edited November 29, 2009 by sheppy1 Link to comment Share on other sites More sharing options...
Guest JadeMonkee Posted November 30, 2009 Report Share Posted November 30, 2009 Installed 1.9 today. Works a treat. Link to comment Share on other sites More sharing options...
Guest teknologist Posted November 30, 2009 Report Share Posted November 30, 2009 Installed latest 1.9 update, not noticed any performance increase as of yet but no performance decrease either so that's always good Again, this is just a bugfix for the wifi tether issue...so good indeed that you don't see performance decrease! ;-) Link to comment Share on other sites More sharing options...
Guest Posted November 30, 2009 Report Share Posted November 30, 2009 Again, this is just a bugfix for the wifi tether issue...so good indeed that you don't see performance decrease! ;-) Not to be picky but you did say: If you are on MCR 2.9 I'd recommend you update the kernel to v 1.9 (see previous post) as it fixes Wifi issues with wifi tether and is a bit faster IMO... So I guess people might be expecting a little more from the update. I'm not at all criticising you and am grateful for your hard work, just pointing it out. :D Link to comment Share on other sites More sharing options...
Guest teknologist Posted November 30, 2009 Report Share Posted November 30, 2009 (edited) Not to be picky but you did say: So I guess people might be expecting a little more from the update. I'm not at all criticising you and am grateful for your hard work, just pointing it out. :D IMO = In my opinion and I said a bit... ;-) Last but not least: 1) I do this for free (not a single donation in 5000+ downloads...no comment) even though people seem very excited with these kernels 2) I am not forcing anyone to use these 3) The source is there on github if you want to try improving it yourself ! :-p 4) If you don't mean to be picky, then don't be picky ! No hard feelings mate ! Edited November 30, 2009 by teknologist Link to comment Share on other sites More sharing options...
Guest teknologist Posted November 30, 2009 Report Share Posted November 30, 2009 Teknologist kernel 1.9 for Hero Generic ROMS available here: http://bit.ly/6bgC5d (also includes busybox) This has been tested with .66 generic ROM Enjoy. Link to comment Share on other sites More sharing options...
Guest munkimatt Posted November 30, 2009 Report Share Posted November 30, 2009 (edited) I'm having issues downloading, anyone else? **FIXED NOW** Edited November 30, 2009 by munkimatt Link to comment Share on other sites More sharing options...
Guest teknologist Posted November 30, 2009 Report Share Posted November 30, 2009 (edited) I'm having issues downloading, anyone else? I get 404 not found . Thx for the alert...fixed it ! I had removed the MCR kernel update package file by mistake when adding the new package for generic ROMS... ;-) Edited November 30, 2009 by teknologist Link to comment Share on other sites More sharing options...
Guest munkimatt Posted November 30, 2009 Report Share Posted November 30, 2009 Installed fine, no problems as usual. Nice to see you're still working on it :D Link to comment Share on other sites More sharing options...
Guest teknologist Posted November 30, 2009 Report Share Posted November 30, 2009 (edited) Installed fine, no problems as usual. Nice to see you're still working on it :D Well, that wifi tether bug was annoying and pretty hard to find the root cause... Apart from that, considering that BFS is a no go on 2.6.27, I don't see anything left to do. Pretty happy myself with my Hero right now, performance wise... As for Cupcake, unless I fit a 1Ghz snapdragon ;-) or HTC improves Sense UI perfs, I don't see how we could increase... But as always, suggestions are welcomed ! Edited November 30, 2009 by teknologist Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now