[Android Software/Hacking General [Developers Only]] S-trace:
dhd.ko doesn't loads at Samsung SGH-I927 Captivate Glide

Hello.

I compiled bcmod module for my phone, but it doesn't loads:

root@SGH-I927:/ # uname -a
Linux localhost 3.1.10-g5b9aed9-dirty #1 SMP PREEMPT Sat Mar 15 19:33:23 CET 2014 armv7l GNU/Linux

root@SGH-I927:/data/local/tmp # ./setup.sh
LOADING MODULE
Assuming firmware path: /data/local/tmp/bcm4330_sta.bcmon.bin
insmod: init_module 'dhd.ko' failed (No such device)
error: SIOCGIFFLAGS (No such device)

255|root@SGH-I927:/data/local/tmp # dmesg
<4>[ 463.071455] ## wifi_probe
<4>[ 463.071785] wifi_set_power = 1
<4>[ 463.375231] wifi_set_carddetect = 1
<6>[ 463.436694] mmc2: new high speed SDIO card at address 0001
<4>[ 463.445457] bcmsdh_sdmmc: probe of mmc2:0001:2 failed with error 1
<6>[ 466.516957] mif: link_pm_irq_handler: gpio [HWK] get [0]
<6>[ 466.620327] mif: link_pm_irq_handler: gpio [HWK] get [1]
<6>[ 466.620917] mif: link_pm_irq_handler: gpio [SWK] set [0]
<6>[ 466.683189] mif: if_usb_resume: [if_usb_resumed]
<6>[ 466.876419] mif: if_usb_suspend: [if_usb_suspended]
<6>[ 473.425087] mif: link_pm_irq_handler: gpio [HWK] get [0]
<6>[ 473.530195] mif: link_pm_irq_handler: gpio [HWK] get [1]
<6>[ 473.530793] mif: link_pm_irq_handler: gpio [SWK] set [0]
<6>[ 473.591458] mif: if_usb_resume: [if_usb_resumed]
<6>[ 473.785750] mif: if_usb_suspend: [if_usb_suspended]
<4>[ 475.435298] dhd_module_init: sdio_register_driver timeout
<4>[ 475.436001] bcmsdh_sdmmc: bcmsdh_sdmmc_remove Enter
<4>[ 475.437275] ## wifi_remove
<4>[ 475.437596] wifi_set_power = 0
<4>[ 475.645373] wifi_set_carddetect = 0
<6>[ 475.647675] mmc2: card 0001 removed

Looks lilke that dhd_module_init: sdio_register_driver timeout is the failure.

Maybe this can help - stock dhd.ko loading:

<4>[20543.606381] ## wifi_probe
<4>[20543.606708] wifi_set_power = 1
<4>[20543.916107] wifi_set_carddetect = 1
<6>[20543.997497] mmc2: new high speed SDIO card at address 0001
<4>[20544.007572] dhdsdio_probe : no mutex held. set lock
<4>[20544.008553] F1 signature read @0x18000000=0x16834330
<4>[20544.021398] DHD: dongle ram size is set to 294912(orig 294912)
<6>[20544.029327] CFG80211-INFO2) wl_cfg80211_attach : wl_cfg80211_attach: wl = 0xe7805360
<6>[20544.037289] CFG80211-INFO2) wl_create_event_handler : Enter
<6>[20544.037875] CFG80211-INFO2) wl_create_event_handler : wl = 0xe7805360, wl->event_tsk = 0xe780557c
<4>[20544.038771] wl_create_event_handler thr:2135 created
<6>[20544.038802] CFG80211-INFO2) wl_event_handler : tsk Enter, tsk = 0xe780557c
<6>[20544.038904] CFG80211-INFO2) wl_event_handler : DAEMONIZE completed
<6>[20544.038935] CFG80211-INFO2) wl_event_handler : tsk completed
<4>[20544.040648] wl_create_event_handler thr:2135 started
<4>[20544.046727] p2p0: P2P Interface Registered
<4>[20544.047575] dhd_attach thr:2136 created
<4>[20544.052517] dhd_attach thr:2136 started
<4>[20544.053159] dhd_attach thr:2137 created
<4>[20544.054583] dhd_attach thr:2137 started
<4>[20544.055246] dhd_attach thr:2138 created
<4>[20544.055976] dhd_attach thr:2138 started
<4>[20544.056578] dhd_early_suspend: enter
<4>[20544.056928] dhd_set_suspend: enter, value = 1 in_suspend=1
<4>[20544.163828] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
<4>[20544.300272] dhd_wl_ioctl: WLC_GET_VAR: cisdump, ret = -23
<4>[20544.301009] Read MAC : [00:12:34:1F:63:32] [1]
<4>[20544.306626] dhd_wl_ioctl: WLC_GET_VAR: p2p, ret = -23
<4>[20544.317255] dhd_wl_ioctl: WLC_GET_VAR: p2p, ret = -23
<4>[20544.317565] Firmware up: op_mode=1POWER_VAL = 1
<4>[20544.444540] Firmware version = wl0: May 7 2012 16:25:59 version 5.90.100.342
<4>[20544.458741] Broadcom Dongle Host Driver: register interface [wlan0]dhdsdio_probe : the lock is released.
<6>[20545.154083] mif: link_pm_irq_handler: gpio [HWK] get [0]
<6>[20545.250499] mif: link_pm_irq_handler: gpio [HWK] get [1]
<6>[20545.251092] mif: link_pm_irq_handler: gpio [SWK] set [0]
<6>[20545.308160] mif: if_usb_resume: [if_usb_resumed]
<6>[20545.506553] mif: if_usb_suspend: [if_usb_suspended]

What can I do to enable this mode?