[Onetouch Idol 3 Android Development] petrov.0:
Guys I think that the wireless driver works now. But for some reason wpa_supplicant doesn't. Probably because I force the loading of the driver in one of the init scripts and probably is too late at that stage. However if I insert the module too early it doesn't work again as its automatically unloaded because the wcnss service is not started. So the question is in which moment to load the driver? Any ideas ? Alcatel doesn't do it in this way their driver is loaded by some magic :), Is it possible to be in the kernel and the /system/lib/wlan.ko symlink to be for confusion ? Here is a screen shot from the kernel and the message when the driver loads:

{CODE][ 82.215752] wlan: [4493:E :VOS] vos_nv_readMultiMacAddress: pMacAddress[0]=d0:9d:ab:xx:xx:xx

<3>[ 82.223160] wlan: [4493:E :VOS] vos_nv_readMultiMacAddress: pMacAddress[1]=d0:9d:ab:xx:xx:xx

<3>[ 82.231635] wlan: [4493:E :VOS] vos_nv_readMultiMacAddress: pMacAddress[2]=d2:9d:ab:xx:xx:xx

<3>[ 82.240055] wlan: [4493:E :VOS] vos_nv_readMultiMacAddress: pMacAddress[3]=d2:9d:ab:xx:xx:xx

<6>[ 82.370352] wlan: WCNSS WLAN version 1.5.1.2

<6>[ 82.370375] wlan: WCNSS software version CNSS-PR-2-0-1-1-c1-00018

<6>[ 82.370387] wlan: WCNSS hardware version WCN v2.0 RadioPhy vRhea_GF_1.12 with 19.2MHz XO

<3>[ 82.370406] wlan: [4493:E :CTL] Host caps b4c001ff 31f8f 0 80000000

<3>[ 82.375909] wlan: [4493:E :CTL] Host Capability

<3>[ 82.380168] wlan: [4493:E :CTL] MCC, P2P, DOT11AC, SLM_SESSIONIZATION, DOT11AC_OPMODE, SAP32STA, TDLS, P2P_GO_NOA_DECOUPLE_INIT_SCAN, WLANACTIVE_OFFLOAD, WOW, WLAN_ROAM_SCAN_OFFLOAD, , , , FW

_IN_TX_PATH, EXTENDED_NSOFFLOAD_SLOT, CH_SWITCH_V1, HT40_OBSS_SCAN, , TDLS_SCAN_COEXISTENCE, LINK_LAYER_STATS_MEAS, MU_MIMO, EXTENDED_SCAN, DYNAMIC_WMM_PS, MAC_SPOOFED_SCAN, WPS_PRBRSP_TMPL, BCN_IE_FLT_DELTA

,

<6>[ 82.415603] DefaultCountry is US

<3>[ 82.415832] wlan: [4493:E :SME] csrUpdateChannelList: 606: Power level is zero for channel 14 setting to default 30

<3>[ 82.416711] wlan: [4504:E :CTL] FW caps fdf877fb 39dbf 0 0

<3>[ 82.416715] wlan: [4504:E :CTL] Firmware Capability

<3>[ 82.416733] wlan: [4504:E :CTL] MCC, P2P, SLM_SESSIONIZATION, DOT11AC_OPMODE, SAP32STA, TDLS, P2P_GO_NOA_DECOUPLE_INIT_SCAN, WLANACTIVE_OFFLOAD, BEACON_OFFLOAD, SCAN_OFFLOAD, BCN_MISS_OFFLOAD

, STA_POWERSAVE, , BCN_FILTER, RTT, RATECTRL, WOW, WLAN_ROAM_SCAN_OFFLOAD, , , , , , , FW_IN_TX_PATH, EXTENDED_NSOFFLOAD_SLOT, CH_SWITCH_V1, HT40_OBSS_SCAN, , , , TDLS_SCAN_COEXISTENCE, LINK_LAYER_STATS_MEAS

, EXTENDED_SCAN, DYNAMIC_WMM_PS, MAC_SPOOFED_SCAN, , WPS_PRBRSP_TMPL, BCN_IE_FLT_DELTA

<6>[ 82.481401] cfg80211: Calling CRDA for country: US

<3>[ 82.481613] wlan: [25:E :VOS] error: wiphy->bands is NULL, i = 1

<3>[ 82.486673] wlan: [25:E :VOS] error: wiphy->bands is NULL, i = 2

<6>[ 82.492614] cfg80211: Regulatory domain changed to country: US

<6>[ 82.492623] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)

<6>[ 82.492630] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm)

<6>[ 82.492637] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (600 mBi, 2400 mBm)

<6>[ 82.492643] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (600 mBi, 2400 mBm)

<6>[ 82.492649] cfg80211: (5490000 KHz - 5730000 KHz @ 80000 KHz), (600 mBi, 2400 mBm)

<6>[ 82.492656] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (600 mBi, 3000 mBm)

<6>[ 82.492661] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm)

<3>[ 82.522301] wlan: [4493:E :HDD] wlan_hdd_tdls_init TDLS Implicit trigger not enabled!

<6>[ 82.532149] wlan_logging_sock_activate_svc: Initalizing FEConsoleLog = 1 NumBuff = 32

<6>[ 82.532807] wlan_logging_sock_activate_svc: Activated wlan_logging svc

<3>[ 82.533013] wlan: [4493:E :HDD] hdd_wlan_startup: 9548: Registered IPv6 notifier

<3>[ 82.539776] wlan: [4493:E :HDD] hdd_wlan_startup: 9548: Registered IPv6 notifier

<3>[ 82.547061] wlan: [4493:E :HDD] hdd_wlan_startup: 9562: Registered IPv4 notifier

[/CODE]

I have wlan0 and p2p devices, both have MAC address (but as I said earlier, the wpa_supplicant doesn't work). Is it possible to be started manually through the shell and to interact with the system? What if I enforce its loading again after the drirver in the init script ? I've didn't tested this yet. Probably I should try.