OK I'm able to help now.. What's the service that isn't working?
ok, first let me talk about my device.its a E730 from lg, it has a 3.0.8 kernel, and the last officially released android for it is ics 4.0.4.
lg provide the kernel sources, it uses a bcm 4330 wifi card and the wifi module is compiled in the kernel, not as module. it use the bdmdhd driver with nl80211
i can't get the wifi work, on the dmesg there aren't errors, i can see the last wifi related message is ===WLAN PLACED IN RESET ==== after the firmware initialization.
on a shell i can see the wpa_supplicant service never start, and the wpa_wlan0 socket is never created. on a logcat there aren't errors related to the wpa_supplicant, it seem it quietly die. all i can see is this message E/WifiHW ( 465): Failed to stop supplicant
it fail to stop because it never start i guess. but why?
i tried to start the wpa_supplicant service on the init.victor.rc using the -dd switch or to use "service wpa_supplicant /system/bin/logwrapper wpa_supplicant ......" or to use your suggestion starting wpa_supplicant with strace -f -o .... but i never get any debug from it.
Just to exclude i was missing some lib i tried to start the wpa-supplicant from the root shell and it start, but it don't create the socket.
My device is quite similar to the vs920, i've seen what has been done for it on github and i can't see weird errors on my side.
ah, before i forget, what i'm trying to compile is a CM11. i already succeed to compile working cm10 and cm10.1 for this device but at the time it as using the 2.6.35 kernel and the wifi module was using wext and it was compiled as module, any suggestion is highly appreciate, thanks