Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Working USB Wifi for MK808B Plus and probably the rest of the boxes/sticks with s805 chipsets

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Working USB Wifi for MK808B Plus and probably the rest of the boxes/sticks with s805 chipsets

    After many hours working I have a working usb wifi solution. It requires a usb wifi adapter with an 8188eu wifi chip and internal Bluetooth continues to work

    Download 8188eu.ko

    Place 8188eu.ko in your /system/lib/ directory. Just copy over with es file explorer. I didn't have to mess with permissions.

    Then add these following commands in a shell script that starts up at boot. It is safe to say on most firmware insallApk.sh is present in /system/bin/ directory. Add this right at the beginning

    Code:
    svc wifi disable
    sleep 1
    insmod /system/lib/8188eu.ko
    sleep 1
    svc wifi enable
    Reboot and that is it. Sleep is just precautionary....dont know if necessary. It was the disabling of the internal wifi on boot that did the trick before loading the driver. It was hit and miss if it worked before that. If you wanted you could insert in boot.img probably.

    I got this working with 109k4 patched to work with AP612.

    Click image for larger version

Name:	8188eu.ko.jpg
Views:	187
Size:	160.0 KB
ID:	545685

    I have asked for some links from vendors and see if they have any in stock. I found mine on ****.

    I had another version that was more popular but traded to a buddy. I will see if this method works with it to get multiple options and borrow it for a night but that will be next week.

    Here is link to drivers that i will try. http://balintbanyasz.pe.hu/mk808b-pl...n-mk808b-plus/ Thank you BalintBanyasz hopefully.

    Driver came from Inphic's Spot i5 rom. And that rom works on MK808B plus with this adapter out of the box. But i would guess no Bluetooth. I didn't think to test.
    Last edited by prahjister; 24 December 2015, 04:50.
    Prahjister ****MK808(nonB)****MK808B V5****MK808B Plus****UBOX R89**** CX919****MK808B Pro****Nexbox N9****Eny Em95****Matricon Q2****Tanix TX5 Pro****

    #2
    BalintBanyasz 8188cus driver almost works but fails. it tries to start. Here is the dmesg log for those smarter then I.

    [CODE]<11>[ 25.642684@0] init: no such service 'wififix'
    <4>[ 25.687023@2] dhd_module_init in
    <4>[ 25.687059@2] wifi_setup_dt
    <4>[ 25.687400@2] wifi_request_32k_clk : ON-->ON for sdio_wifi
    <4>[ 25.693027@2] interrupt_pin(118) : (null)
    <4>[ 25.696963@2] reg:2620,clearmask=100010,setmask=0
    <4>[ 25.701652@2] reg:2622,clearmask=ff,set pin=118
    <4>[ 25.701655@2] reg:2623,clearmask=70000,setmask=4
    <4>[ 25.701692@2] interrupt_pin(118) : sdio_wifi
    <4>[ 25.701695@2] power_on_pin(6) : (null)
    <4>[ 25.701709@2] power_on_pin(6) : sdio_wifi
    <4>[ 25.701711@2] power_on_pin2(108) : (null)
    <4>[ 25.701719@2] power_on_pin2(108) : sdio_wifi
    <4>[ 25.701777@2] ======== bcm_wlan_set_plat_data ========
    <4>[ 25.701780@2] host_oob_irq: 100
    <4>[ 25.701781@2] host_oob_irq_flags=4
    <4>[ 25.701783@2] dhd_wifi_platform_load: Enter
    <4>[ 25.701787@2] Power-up adapter 'DHD generic adapter'
    <4>[ 25.701926@2] wifi_platform_set_power = 1
    <4>[ 25.701928@2] ======== PULL WL_REG_ON HIGH! ========
    <4>[ 25.701934@2] WIFI Disable! 6
    <4>[ 26.002247@0] WIFI Enable! 6
    <4>[ 26.113072@1] CPU1: Booted secondary processor
    <5>[ 26.203698@2] type=1400 audit(178731571.410:5): avc: denied { getattr } for pid=704 comm="zygote" path="socket:[3278]" dev="sockfs" ino=3278 scontext=u:r:untrusted_app:s0 tcontext=u:r:init:s0 tclass=unix_stream_socket
    <5>[ 26.203915@2] type=1400 audit(178731571.410:6): avc: denied { getopt } for pid=704 comm="zygote" path="/dev/socket/zygote" scontext=u:r:untrusted_app:s0 tcontext=u:r:init:s0 tclass=unix_stream_socket
    <5>[ 26.205398@2] type=1400 audit(178731571.410:7): avc: denied { read } for pid=704 comm="m.ss.squarehome" path=2F6465762F6173686D656D2F64616C76696B2D6865617 0202864656C6574656429 dev="tmpfs" ino=398 scontext=u:r:untrusted_app:s0 tcontext=ubject_r:init_tmpfs:s0 tclass=file
    <6>[ 26.384822@1] sdio: mmc_rescan_try_freq: trying to init card at 400000 Hz
    <4>[ 26.413077@3] CPU3: Booted secondary processor
    <5>[ 26.499780@2] type=1400 audit(178731571.700:8): avc: denied { call } for pid=704 comm="re-initialized>" scontext=u:r:untrusted_app:s0 tcontext=u:r:init:s0 tclass=binder
    <4>[ 26.573366@3] IRQ95 no longer affine to CPU3
    <5>[ 26.573607@0] CPU3: shutdown
    <7>[ 26.577729@0] CTS_CPU_CLK 1536 --> 1250 (MHz)
    <4>[ 26.703361@1] IRQ93 no longer affine to CPU1
    <5>[ 26.703615@0] CPU1: shutdown
    <5>[ 26.827955@2] type=1400 audit(178731572.030:9): avc: denied { getattr } for pid=704 comm="m.ss.squarehome" path="/data/app" dev="data" ino=320641 scontext=u:r:untrusted_app:s0 tcontext=ubject_r:apk_data_file:s0 tclass=dir
    <4>[ 27.113240@1] CPU1: Booted secondary processor
    <5>[ 28.770221@0] type=1400 audit(178731573.970:10): avc: denied { read write } for pid=579 comm="Binder_3" path="socket:[897]" dev="sockfs" ino=897 scontext=u:r:untrusted_app:s0 tcontext=u:r:init:s0 tclass=unix_stream_socket
    <5>[ 29.146217@1] type=1400 audit(178731574.350:11): avc: denied { transfer } for pid=704 comm="m.ss.squarehome" scontext=u:r:untrusted_app:s0 tcontext=u:r:init:s0 tclass=binder
    <4>[ 27.433197@0] [aml_sdio_timeout] time_start_cnt:1047
    <4>[ 27.433197@0] [aml_sdio_print_err] sdio: Timeout error, Cmd52 arg 0xc00, Xfer 0 Bytes, host->xfer_step=12, host->cmd_is_stop=0, pdata->port=0, virqs=0x13, virqc=0x1f001f00, conf->cmd_clk_divide=199, pdata->clkc=199, conf->bus_width=0, pdata->width=0, conf=0x416270c7, clock=398437
    <4>[ 27.433197@0] [aml_sdio_timeout] time_start_cnt:1049
    <4>[ 27.433197@0] [aml_sdio_print_err] sdio: Timeout error, Cmd52 arg 0x80000c08, Xfer 0 Bytes, host->xfer_step=12, host->cmd_is_stop=0, pdata->port=0, virqs=0x13, virqc=0x1f001f00, conf->cmd_clk_divide=199, pdata->clkc=199, conf->bus_width=0, pdata->width=0, conf=0x416270c7, clock=398437
    <4>[ 27.433197@0] [aml_sdio_timeout] time_start_cnt:1049
    <4>[ 27.433197@0] [aml_sdio_print_err] sdio: Timeout error, Cmd8 arg 0x1aa, Xfer 0 Bytes, host->xfer_step=12, host->cmd_is_stop=0, pdata->port=0, virqs=0x13, virqc=0x3f001f00, conf->cmd_clk_divide=199, pdata->clkc=199, conf->bus_width=0, pdata->width=0, conf=0x416270c7, clock=398437
    <4>[ 29.702917@0] <4>[ 29.739016@2] sdio: queuing unknown CIS tuple 0x80 (2 bytes)
    <4>[ 29.740629@2] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
    <4>[ 29.742229@2] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
    <4>[ 29.745381@2] sdio: queuing unknown CIS tuple 0x80 (7 bytes)
    <6>[ 29.873547@2] sdio: new high speed SDIO card at address 0001, clock 39843750, 4-bit-bus-width
    <4>[ 29.889918@1] [sdio_reinit] finish
    <4>[ 30.092938@1] wifi_platform_bus_enumerate device present 1
    <4>[ 30.092988@1] ======== Card detection to detect SDIO card! ========
    <4>[ 30.117118@1] bcmsdh_register: register client driver
    <4>[ 30.155104@1] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
    <4>[ 30.155280@1] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
    <4>[ 30.160461@1] bus num (host idx)=1, slot num (rca)=1
    <4>[ 30.208127@1] found adapter info 'DHD generic adapter'
    <4>[ 30.222284@1] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x0 pkg:0x4
    <4>[ 30.229593@2] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
    <4>[ 30.237635@1] wl_create_event_handler(): thread:wl_event_handler:3ac started
    <4>[ 30.237875@1] tsk Enter, tsk = 0xd140144c
    <4>[ 30.237964@1] dhd_attach(): thread:dhd_watchdog_thread:3ad started
    <4>[ 30.238020@1] dhd_attach(): thread:dhd_dpc:3ae started
    <4>[ 30.238115@1] dhd_attach(): thread:dhd_rxf:3af started
    <4>[ 30.238129@1] dhd_deferred_work_init: work queue initialized
    <4>[ 30.238546@1] Dongle Host Driver, version 1.141.66.1 (r483454)
    <4>[ 30.238546@1] Compiled in drivers/net/wireless/bcmdhd on May 13 2015 at 12:10:37
    <4>[ 30.239393@1] Register interface [wlan1] MAC: 00:90:4c:11:22:33
    <4>[ 30.239393@1]
    <4>[ 30.239401@1] dhd_prot_ioctl : bus is down. we have nothing to do
    <4>[ 30.239498@1] bcmsdh_oob_intr_unregister: Enter
    <4>[ 30.239501@1] bcmsdh_oob_intr_unregister: irq is not registered
    <4>[ 30.239510@1] dhd_bus_devreset: WLAN OFF DONE
    <4>[ 30.239614@1] wifi_platform_set_power = 0
    <4>[ 30.239617@1] ======== PULL WL_REG_ON LOW! ========
    <4>[ 30.239727@1] dhd_module_init: Exit err=0
    <4>[ 30.260063@0] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    <7>[ 30.260118@0] SELinux: initialized (dev mmcblk0p1, type vfat), uses genfs_contexts
    <6>[ 30.801043@0] rtl8192cu: MAC auto ON okay!
    <6>[ 30.855154@0] rtl8192cu: Tx queue select: 0x05
    <6>[ 31.433530@0] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    <11>[ 32.377495@0] init: data_integrity_guard isBootCompleted:1!
    <6>[ 32.494620@0] wlan0: authenticate with b4:75:0e:c7:d7:7e
    <6>[ 32.550750@0] wlan0: send auth to b4:75:0e:c7:d7:7e (try 1/3)
    <6>[ 32.555873@0] wlan0: authenticated
    <6>[ 32.562984@0] wlan0: associate with b4:75:0e:c7:d7:7e (try 1/3)
    <6>[ 32.570653@0] wlan0: RX AssocResp from b4:75:0e:c7:d7:7e (capab=0x411 status=0 aid=1)
    <7>[ 32.577224@0] rtlwifi:addbareq_rx():<100-1> sta is NULL
    <6>[ 32.578796@2] wlan0: associated
    <6>[ 32.580578@2] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    <6>[ 32.756484@2] wlan0: deauthenticating from b4:75:0e:c7:d7:7e by local choice (reason=3)
    <6>[ 32.813272@0] cfg80211: Calling CRDA to update world regulatory domain
    <4>[ 33.429982@2] dhd_module_cleanup: Enter
    <4>[ 33.430062@2] bcmsdh_oob_intr_unregister: Enter
    <4>[ 33.432703@2] bcmsdh_oob_intr_unregister: irq is not registered
    <4>[ 33.438674@2] dhd_wlfc_deinit():3252, Already disabled!
    <4>[ 33.633589@2] dhd_detach(): thread:dhd_watchdog_thread:3ad terminated OK
    <4>[ 33.633599@2] dhd_detach(): thread:dhd_rxf:3af terminated OK
    <4>[ 33.633619@0] dhd_dpc_thread: Unexpected up_cnt 0
    <4>[ 33.633634@2] dhd_detach(): thread:dhd_dpc:3ae terminated OK
    <4>[ 33.633819@1] wl_event_handler: was terminated
    <4>[ 33.633868@2] wl_destroy_event_handler(): thread:wl_event_handler:3ac terminated OK
    <4>[ 33.923628@2] unregister wifi platform drivers
    <4>[ 33.923633@2] wifi_teardown_dt
    <4>[ 33.923652@2] wifi_request_32k_clk : ON-->OFF for sdio_wifi
    <4>[ 33.923655@2] dhd_module_cleanup: Exit
    <11>[ 34.425650@0] init: no such service 'wififix'
    <4>[ 34.433793@2] dhd_module_init in
    <4>[ 34.433828@2] wifi_setup_dt
    <4>[ 34.434168@2] wifi_request_32k_clk : ON-->ON for sdio_wifi
    <4>[ 34.439648@2] interrupt_pin(118) : (null)
    <4>[ 34.443718@2] reg:2620,clearmask=100010,setmask=0
    <4>[ 34.448411@2] reg:2622,clearmask=ff,set pin=118
    <4>[ 34.452925@2] reg:2623,clearmask=70000,setmask=4
    <4>[ 34.457609@2] interrupt_pin(118) : sdio_wifi
    <4>[ 34.461822@2] power_on_pin(6) : (null)
    <4>[ 34.465799@2] power_on_pin(6) : sdio_wifi
    <4>[ 34.469512@2] power_on_pin2(108) : (null)
    <4>[ 34.473657@2] power_on_pin2(108) : sdio_wifi
    <4>[ 34.477822@2] ======== bcm_wlan_set_plat_data ========
    <4>[ 34.482941@2] host_oob_irq: 100
    <4>[ 34.486184@2] host_oob_irq_flags=4
    <4>[ 34.489578@2] dhd_wifi_platform_load: Enter
    <4>[ 34.493783@2] Power-up adapter 'DHD generic adapter'
    <4>[ 35.568432@2] dummy_sdmmc: probe of sdio:0001:1 failed with error -110
    <5>[ 36.136994@1] type=1400 audit(178731581.340:12): avc: denied { execute } for pid=1146 comm="Thread-73" name="libestool2.so" dev="data" ino=16524 scontext=u:r:untrusted_app:s0 tcontext=ubject_r:app_data_file:s0 tclass=file
    <5>[ 36.162805@1] type=1400 audit(178731581.360:13): avc: denied { execute_no_trans } for pid=1146 comm="Thread-73" path="/data/data/com.estrongs.android.pop/files/libestool2.so" dev="data" ino=16524 scontext=u:r:untrusted_app:s0 tcontext=ubject_r:app_data_file:s0 tclass=file
    <11>[ 36.300113@2] init: mount none to target failed
    <4>[ 36.304066@2] cur_mode = 0
    <4>[ 36.304093@2] [0x0] = 0x1dd0190
    <4>[ 36.304834@2] [0x4] = 0xf800ca
    <4>[ 36.307971@2] [0x8] = 0x82006e
    <4>[ 36.310917@2] [0xc] = 0x3c0030
    <4>[ 36.314050@2] [0x10] = 0x30fa0013
    <4>[ 36.317248@2] [0x18] = 0x6f19000
    <4>[ 36.320466@2] [0x1c] = 0x9f40
    <4>[ 36.320468@2] [0x20] = 0x0
    <4>[ 36.320470@2] [0x24] = 0x0
    <4>[ 36.320472@2] [0x28] = 0x0
    <4>[ 36.320476@2] set_remote_mode[65]
    <4>[ 36.636801@2] dummy_sdmmc: probe of sdio:0001:2 failed with error -110
    <4>[ 36.643417@2] wifi_platform_set_power = 1
    <4>[ 36.647266@2] ======== PULL WL_REG_ON HIGH! ========
    <4>[ 36.652358@2] WIFI Disable! 6
    <4>[ 36.861901@1] WIFI Enable! 6
    <4>[ 37.070233@1] sdio_reset_comm():
    <4>[ 37.085503@1] sdio: queuing unknown CIS tuple 0x80 (2 bytes)
    <4>[ 37.087475@1] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
    <4>[ 37.093179@1] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
    <4>[ 37.100447@2] sdio: queuing unknown CIS tuple 0x80 (7 bytes)
    <4>[ 37.235225@2] [sdio_reinit] finish
    <4>[ 37.442917@2] wifi_platform_bus_enumerate device present 1
    <4>[ 37.442921@2] ======== Card detection to detect SDIO card! ========
    <4>[ 38.226189@0] aml_nftl_open ok!
    <4>[ 38.638950@0] buf=0
    <4>[ 38.638977@0] IEC958_mode_raw=0
    <6>[ 38.639481@0] aml_spdif_mute
    <4>[ 38.642207@0] hdmitx: audio: configure on
    <4>[ 39.442900@2] failed to power up DHD generic adapter, 3 retry left
    <4>[ 39.459604@2] wifi_platform_set_power = 0
    <4>[ 39.459639@2] ======== PULL WL_REG_ON LOW! ========
    <4>[ 39.462883@2] wifi_platform_bus_enumerate device present 0
    <4>[ 39.468312@2] ======== Card detection to remove SDIO card! ========
    <4>[ 39.475075@2] wifi_platform_set_power = 1
    <4>[ 39.478560@2] ======== PULL WL_REG_ON HIGH! ========
    <4>[ 39.483572@2] WIFI Disable! 6
    <4>[ 39.694989@2] WIFI Enable! 6
    <4>[ 39.894833@2] sdio_reset_comm():
    <4>[ 39.909512@2] sdio: queuing unknown CIS tuple 0x80 (2 bytes)
    <4>[ 39.911419@2] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
    <4>[ 39.917082@2] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
    <4>[ 39.924244@2] sdio: queuing unknown CIS tuple 0x80 (7 bytes)
    <4>[ 40.033842@2] [sdio_reinit] finish
    <4>[ 40.252869@2] wifi_platform_bus_enumerate device present 1
    <4>[ 40.252873@2] ======== Card detection to detect SDIO card! ========
    <4>[ 40.269075@2] bcmsdh_register: register client driver
    <4>[ 40.271034@2] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
    <4>[ 40.276084@2] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
    <4>[ 40.276089@2] bus num (host idx)=1, slot num (rca)=1
    <4>[ 40.276093@2] found adapter info 'DHD generic adapter'
    <4>[ 40.297864@2] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x0 pkg:0x4
    <4>[ 40.300331@2] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
    <4>[ 40.301203@2] wl_create_event_handler(): thread:wl_event_handler:50a started
    <4>[ 40.301209@1] tsk Enter, tsk = 0xe670144c
    <4>[ 40.301414@2] dhd_attach(): thread:dhd_watchdog_thread:50b started
    <4>[ 40.301470@2] dhd_attach(): thread:dhd_dpc:50c started
    <4>[ 40.301518@2] dhd_attach(): thread:dhd_rxf:50d started
    <4>[ 40.301528@2] dhd_deferred_work_init: work queue initialized
    <4>[ 40.301889@2] Dongle Host Driver, version 1.141.66.1 (r483454)
    <4>[ 40.301889@2] Compiled in drivers/net/wireless/bcmdhd on May 13 2015 at 12:10:37
    <4>[ 40.302613@2] Register interface [wlan1] MAC: 00:90:4c:11:22:33
    <4>[ 40.302613@2]
    <4>[ 40.302620@2] dhd_prot_ioctl : bus is down. we have nothing to do
    <4>[ 40.303142@2] bcmsdh_oob_intr_unregister: Enter
    <4>[ 40.303145@2] bcmsdh_oob_intr_unregister: irq is not registered
    <4>[ 40.303158@2] dhd_bus_devreset: WLAN OFF DONE
    <4>[ 40.303271@2] wifi_platform_set_power = 0
    <4>[ 40.303275@2] ======== PULL WL_REG_ON LOW! ========
    <4>[ 40.303386@2] dhd_module_init: Exit err=0
    <6>[ 42.050108@0] rtl8192cu: MAC auto ON okay!
    <6>[ 42.091670@0] rtl8192cu: Tx queue select: 0x05
    <6>[ 42.551469@0] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    <4>[ 43.357499@0] aml_nftl_open ok!
    <4>[ 43.493122@2] dhd_module_cleanup: Enter
    <4>[ 43.493251@2] bcmsdh_oob_intr_unregister: Enter
    <4>[ 43.495852@2] bcmsdh_oob_intr_unregister: irq is not registered
    <4>[ 43.502016@2] dhd_wlfc_deinit():3252, Already disabled!
    <4>[ 43.663513@2] dhd_detach(): thread:dhd_watchdog_thread:50b terminated OK
    <4>[ 43.664596@2] dhd_detach(): thread:dhd_rxf:50d terminated OK
    <4>[ 43.670504@0] dhd_dpc_thread: Unexpected up_cnt 0
    <4>[ 43.672000@2] dhd_detach(): thread:dhd_dpc:50c terminated OK
    <4>[ 43.672265@1] wl_event_handler: was terminated
    <4>[ 43.672907@2] wl_destroy_event_handler(): thread:wl_event_handler:50a terminated OK
    <4>[ 43.918749@2] unregister wifi platform drivers
    <4>[ 43.918790@2] wifi_teardown_dt
    <4>[ 43.920618@2] wifi_request_32k_clk : ON-->OFF for sdio_wifi
    <4>[ 43.927601@2] dhd_module_cleanup: Exit
    <11>[ 44.438512@2] init: no such service 'wififix'
    <4>[ 44.447906@2] dhd_module_init in
    <4>[ 44.447938@2] wifi_setup_dt
    <4>[ 44.448281@2] wifi_request_32k_clk : ON-->ON for sdio_wifi
    <4>[ 44.453793@2] interrupt_pin(118) : (null)
    <4>[ 44.457765@2] reg:2620,clearmask=100010,setmask=0
    <4>[ 44.462530@2] reg:2622,clearmask=ff,set pin=118
    <4>[ 44.467051@2] reg:2623,clearmask=70000,setmask=4
    <4>[ 44.471679@2] interrupt_pin(118) : sdio_wifi
    <4>[ 44.475925@2] power_on_pin(6) : (null)
    <4>[ 44.479643@2] power_on_pin(6) : sdio_wifi
    <4>[ 44.483647@2] power_on_pin2(108) : (null)
    <4>[ 44.487630@2] power_on_pin2(108) : sdio_wifi

    Prahjister ****MK808(nonB)****MK808B V5****MK808B Plus****UBOX R89**** CX919****MK808B Pro****Nexbox N9****Eny Em95****Matricon Q2****Tanix TX5 Pro****

    Comment


      #3
      And here is the rest

      <4>[ 44.491948@2] ======== bcm_wlan_set_plat_data ========
      <4>[ 44.497043@2] host_oob_irq: 100
      <4>[ 44.500296@2] host_oob_irq_flags=4
      <4>[ 44.503714@2] dhd_wifi_platform_load: Enter
      <4>[ 44.507859@2] Power-up adapter 'DHD generic adapter'
      <4>[ 35.542888@2] [aml_sdio_timeout] time_start_cnt:1044
      <4>[ 35.542888@2] [aml_sdio_print_err] sdio: Timeout error, Cmd52 arg 0x80022040, Xfer 0 Bytes, host->xfer_step=12, host->cmd_is_stop=0, pdata->port=0, virqs=0x13, virqc=0x1f003f00, conf->cmd_clk_divide=1, pdata->clkc=1, conf->bus_width=1, pdata->width=1, conf=0x41727001, clock=39843750
      <4>[ 35.542888@2] [aml_sdio_timeout] time_start_cnt:1044
      <4>[ 35.542888@2] [aml_sdio_print_err] sdio: Timeout error, Cmd52 arg 0x80042000, Xfer 0 Bytes, host->xfer_step=12, host->cmd_is_stop=0, pdata->port=0, virqs=0x13, virqc=0x3f001f00, conf->cmd_clk_divide=1, pdata->clkc=1, conf->bus_width=1, pdata->width=1, conf=0x41727001, clock=39843750
      <4>[ 35.542888@2] [aml_sdio_timeout] time_start_cnt:1059
      <4>[ 35.542888@2] [aml_sdio_print_err] sdio: Timeout error, Cmd52 arg 0x80022040, Xfer 0 Bytes, host->xfer_step=12, host->cmd_is_stop=0, pdata->port=0, virqs=0x13, virqc=0x1f003f00, conf->cmd_clk_divide=1, pdata->clkc=1, conf->bus_width=1, pdata->width=1, conf=0x41727001, clock=39843750
      <4>[ 45.572922@2] <4>[ 45.598231@2] dummy_sdmmc: probe of sdio:0001:1 failed with error -110
      <7>[ 46.312867@0] -----hotplug:2
      <4>[ 46.373270@1] IRQ93 no longer affine to CPU1
      <5>[ 46.373551@0] CPU1: shutdown
      <4>[ 46.678273@2] dummy_sdmmc: probe of sdio:0001:2 failed with error -110
      <4>[ 46.684973@2] wifi_platform_set_power = 1
      <4>[ 46.688881@2] ======== PULL WL_REG_ON HIGH! ========
      <4>[ 46.693703@2] WIFI Disable! 6
      <4>[ 46.916653@2] WIFI Enable! 6
      <4>[ 47.124412@0] sdio_reset_comm():
      <4>[ 47.139301@2] sdio: queuing unknown CIS tuple 0x80 (2 bytes)
      <4>[ 47.141131@2] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
      <4>[ 47.146814@2] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
      <4>[ 47.153871@2] sdio: queuing unknown CIS tuple 0x80 (7 bytes)
      <4>[ 47.261455@2] [sdio_reinit] finish
      <4>[ 47.462882@2] wifi_platform_bus_enumerate device present 1
      <4>[ 47.462923@2] ======== Card detection to detect SDIO card! ========
      <4>[ 49.462885@2] failed to power up DHD generic adapter, 3 retry left
      <4>[ 49.479578@2] wifi_platform_set_power = 0
      <4>[ 49.479609@2] ======== PULL WL_REG_ON LOW! ========
      <4>[ 49.482855@2] wifi_platform_bus_enumerate device present 0
      <4>[ 49.488294@2] ======== Card detection to remove SDIO card! ========
      <4>[ 49.495100@2] wifi_platform_set_power = 1
      <4>[ 49.498531@2] ======== PULL WL_REG_ON HIGH! ========
      <4>[ 49.503842@2] WIFI Disable! 6
      <7>[ 49.573828@0] CTS_CPU_CLK 1536 --> 1250 (MHz)
      <4>[ 49.709359@2] WIFI Enable! 6
      <4>[ 49.913337@1] CPU1: Booted secondary processor
      <4>[ 49.932894@1] sdio_reset_comm():
      <4>[ 49.948387@2] sdio: queuing unknown CIS tuple 0x80 (2 bytes)
      <4>[ 49.950419@2] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
      <4>[ 49.956062@2] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
      <4>[ 49.967200@0] sdio: queuing unknown CIS tuple 0x80 (7 bytes)
      <4>[ 50.087759@2] [sdio_reinit] finish
      <4>[ 50.292906@2] wifi_platform_bus_enumerate device present 1
      <4>[ 50.292954@2] ======== Card detection to detect SDIO card! ========
      <4>[ 50.315215@2] bcmsdh_register: register client driver
      <4>[ 50.315450@2] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
      <4>[ 50.319809@2] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
      <4>[ 50.324589@2] bus num (host idx)=1, slot num (rca)=1
      <4>[ 50.329592@2] found adapter info 'DHD generic adapter'
      <4>[ 50.342508@2] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x0 pkg:0x4
      <4>[ 50.345292@2] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
      <4>[ 50.351623@2] wl_create_event_handler(): thread:wl_event_handler:5c4 started
      <4>[ 50.351629@0] tsk Enter, tsk = 0xc5a0144c
      <4>[ 50.361515@2] dhd_attach(): thread:dhd_watchdog_thread:5c5 started
      <4>[ 50.367407@2] dhd_attach(): thread:dhd_dpc:5c6 started
      <4>[ 50.372505@2] dhd_attach(): thread:dhd_rxf:5c7 started
      <4>[ 50.377574@2] dhd_deferred_work_init: work queue initialized
      <4>[ 50.383711@2] Dongle Host Driver, version 1.141.66.1 (r483454)
      <4>[ 50.383711@2] Compiled in drivers/net/wireless/bcmdhd on May 13 2015 at 12:10:37
      <4>[ 50.399666@2] Register interface [wlan1] MAC: 00:90:4c:11:22:33
      <4>[ 50.399666@2]
      <4>[ 50.405878@2] dhd_prot_ioctl : bus is down. we have nothing to do
      <4>[ 50.410265@2] bcmsdh_oob_intr_unregister: Enter
      <4>[ 50.414718@2] bcmsdh_oob_intr_unregister: irq is not registered
      <4>[ 50.421089@2] dhd_bus_devreset: WLAN OFF DONE
      <4>[ 50.425166@2] wifi_platform_set_power = 0
      <4>[ 50.429032@2] ======== PULL WL_REG_ON LOW! ========
      <4>[ 50.434129@2] dhd_module_init: Exit err=0
      <6>[ 50.685371@2] rtl8192cu: MAC auto ON okay!
      <6>[ 50.717320@2] rtl8192cu: Tx queue select: 0x05
      <6>[ 51.130051@2] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
      <4>[ 46.652884@0] [aml_sdio_timeout] time_start_cnt:1041
      <4>[ 46.652884@0] [aml_sdio_print_err] sdio: Timeout error, Cmd52 arg 0x80042000, Xfer 0 Bytes, host->xfer_step=12, host->cmd_is_stop=0, pdata->port=0, virqs=0x13, virqc=0x1f001f00, conf->cmd_clk_divide=1, pdata->clkc=1, conf->bus_width=1, pdata->width=1, conf=0x41727001, clock=39843750
      <4>[ 46.652884@0] 
      <6>[ 52.174652@0] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : [NETDEV_DOWN] wait for complete of cleanup_work (0 th)
      <4>[ 53.478397@0] dhd_module_cleanup: Enter
      <4>[ 53.478520@0] bcmsdh_oob_intr_unregister: Enter
      <4>[ 53.481385@0] bcmsdh_oob_intr_unregister: irq is not registered
      <4>[ 53.488234@0] dhd_wlfc_deinit():3252, Already disabled!
      <4>[ 53.643091@0] dhd_detach(): thread:dhd_watchdog_thread:5c5 terminated OK
      <4>[ 53.644289@0] dhd_detach(): thread:dhd_rxf:5c7 terminated OK
      <4>[ 53.650320@0] dhd_dpc_thread: Unexpected up_cnt 0
      <4>[ 53.654858@0] dhd_detach(): thread:dhd_dpc:5c6 terminated OK
      <4>[ 53.661532@0] wl_event_handler: was terminated
      <4>[ 53.664935@0] wl_destroy_event_handler(): thread:wl_event_handler:5c4 terminated OK
      <4>[ 53.954190@0] unregister wifi platform drivers
      <4>[ 53.954195@0] wifi_teardown_dt
      <4>[ 53.954212@0] wifi_request_32k_clk : ON-->OFF for sdio_wifi
      <4>[ 53.954214@0] dhd_module_cleanup: Exit
      <11>[ 54.456731@1] init: no such service 'wififix'
      <4>[ 54.473943@1] dhd_module_init in
      <4>[ 54.473984@1] wifi_setup_dt
      <4>[ 54.474319@1] wifi_request_32k_clk : ON-->ON for sdio_wifi
      <4>[ 54.479793@1] interrupt_pin(118) : (null)
      <4>[ 54.489429@1] reg:2620,clearmask=100010,setmask=0
      <4>[ 54.489435@1] reg:2622,clearmask=ff,set pin=118
      <4>[ 54.489438@1] reg:2623,clearmask=70000,setmask=4
      <4>[ 54.489673@1] interrupt_pin(118) : sdio_wifi
      <4>[ 54.489678@1] power_on_pin(6) : (null)
      <4>[ 54.489703@1] power_on_pin(6) : sdio_wifi
      <4>[ 54.489706@1] power_on_pin2(108) : (null)
      <4>[ 54.489718@1] power_on_pin2(108) : sdio_wifi
      <4>[ 54.490822@1] ======== bcm_wlan_set_plat_data ========
      <4>[ 54.490829@1] host_oob_irq: 100
      <4>[ 54.490832@1] host_oob_irq_flags=4
      <4>[ 54.490836@1] dhd_wifi_platform_load: Enter
      <4>[ 54.490842@1] Power-up adapter 'DHD generic adapter'
      <4>[ 55.599369@1] dummy_sdmmc: probe of sdio:0001:1 failed with error -110
      <4>[ 56.642953@1] dummy_sdmmc: probe of sdio:0001:2 failed with error -110
      <4>[ 56.643052@1] wifi_platform_set_power = 1
      <4>[ 56.643056@1] ======== PULL WL_REG_ON HIGH! ========
      <4>[ 56.643067@1] WIFI Disable! 6
      <4>[ 56.879546@0] WIFI Enable! 6
      <4>[ 57.097734@1] sdio_reset_comm():
      <4>[ 57.114257@2] sdio: queuing unknown CIS tuple 0x80 (2 bytes)
      <4>[ 57.116190@2] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
      <4>[ 57.121928@2] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
      <4>[ 57.129383@2] sdio: queuing unknown CIS tuple 0x80 (7 bytes)
      <4>[ 57.253495@2] [sdio_reinit] finish
      <4>[ 57.462891@2] wifi_platform_bus_enumerate device present 1
      <4>[ 57.462933@2] ======== Card detection to detect SDIO card! ========
      <7>[ 58.512893@2] -----hotplug:2
      <4>[ 58.633362@1] IRQ93 no longer affine to CPU1
      <5>[ 58.633659@0] CPU1: shutdown
      <5>[ 58.731780@0] type=1400 audit(178731603.930:14): avc: denied { read } for pid=1641 comm="su" name="/" dev="selinuxfs" ino=1 scontext=u:r:untrusted_app:s0 tcontext=ubject_r:selinuxfs:s0 tclass=dir
      <5>[ 58.751712@0] type=1400 audit(178731603.950:15): avc: denied { search } for pid=1641 comm="su" name="/" dev="selinuxfs" ino=1 scontext=u:r:untrusted_app:s0 tcontext=ubject_r:selinuxfs:s0 tclass=dir
      <5>[ 58.765620@0] type=1400 audit(178731603.970:16): avc: denied { read } for pid=1641 comm="su" name="enforce" dev="selinuxfs" ino=4 scontext=u:r:untrusted_app:s0 tcontext=ubject_r:selinuxfs:s0 tclass=file
      <5>[ 58.784698@0] type=1400 audit(178731603.990:17): avc: denied { open } for pid=1641 comm="su" path="/sys/fs/selinux/enforce" dev="selinuxfs" ino=4 scontext=u:r:untrusted_app:s0 tcontext=ubject_r:selinuxfs:s0 tclass=file
      <5>[ 58.803274@0] type=1400 audit(178731604.010:18): avc: denied { getattr } for pid=1641 comm="su" path="/sys/fs/selinux/enforce" dev="selinuxfs" ino=4 scontext=u:r:untrusted_app:s0 tcontext=ubject_r:selinuxfs:s0 tclass=file
      <4>[ 59.462924@2] failed to power up DHD generic adapter, 3 retry left
      <4>[ 59.479681@2] wifi_platform_set_power = 0
      <4>[ 59.479721@2] ======== PULL WL_REG_ON LOW! ========
      <4>[ 59.483284@2] wifi_platform_bus_enumerate device present 0
      <4>[ 59.488645@2] ======== Card detection to remove SDIO card! ========
      <4>[ 59.489230@2] wifi_platform_set_power = 1
      <4>[ 59.489234@2] ======== PULL WL_REG_ON HIGH! ========
      <4>[ 59.489243@2] WIFI Disable! 6
      <4>[ 59.710388@2] WIFI Enable! 6
      <4>[ 59.713065@1] CPU1: Booted secondary processor
      <4>[ 59.910229@2] sdio_reset_comm():
      <4>[ 59.925305@2] sdio: queuing unknown CIS tuple 0x80 (2 bytes)
      <4>[ 59.927293@2] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
      <4>[ 59.932928@2] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
      <4>[ 59.940118@2] sdio: queuing unknown CIS tuple 0x80 (7 bytes)
      <4>[ 60.051317@2] [sdio_reinit] finish
      <4>[ 60.252884@2] wifi_platform_bus_enumerate device present 1
      <4>[ 60.252930@2] ======== Card detection to detect SDIO card! ========
      <4>[ 60.275384@2] bcmsdh_register: register client driver
      <4>[ 60.275580@2] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
      <4>[ 60.279904@2] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
      <4>[ 60.284751@2] bus num (host idx)=1, slot num (rca)=1
      <4>[ 60.289680@2] found adapter info 'DHD generic adapter'
      <4>[ 60.302113@2] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x0 pkg:0x4
      <4>[ 60.304678@2] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
      <4>[ 60.312950@2] wl_create_event_handler(): thread:wl_event_handler:673 started
      <4>[ 60.316860@2] tsk Enter, tsk = 0xde70144c
      <4>[ 60.321331@2] dhd_attach(): thread:dhd_watchdog_thread:674 started
      <4>[ 60.328556@2] dhd_attach(): thread:dhd_dpc:675 started
      <4>[ 60.332178@2] dhd_attach(): thread:dhd_rxf:676 started
      <4>[ 60.337442@2] dhd_deferred_work_init: work queue initialized
      <4>[ 60.337844@2] Dongle Host Driver, version 1.141.66.1 (r483454)
      <4>[ 60.337844@2] Compiled in drivers/net/wireless/bcmdhd on May 13 2015 at 12:10:37
      <4>[ 60.339721@2] Register interface [wlan1] MAC: 00:90:4c:11:22:33
      <4>[ 60.339721@2]
      <4>[ 60.339729@2] dhd_prot_ioctl : bus is down. we have nothing to do
      <4>[ 60.339823@2] bcmsdh_oob_intr_unregister: Enter
      <4>[ 60.339826@2] bcmsdh_oob_intr_unregister: irq is not registered
      <4>[ 60.339836@2] dhd_bus_devreset: WLAN OFF DONE
      <4>[ 60.339937@2] wifi_platform_set_power = 0
      <4>[ 60.339940@2] ======== PULL WL_REG_ON LOW! ========
      <4>[ 60.340339@2] dhd_module_init: Exit err=0
      <6>[ 60.614606@0] rtl8192cu: MAC auto ON okay!
      <6>[ 60.647691@0] rtl8192cu: Tx queue select: 0x05
      <6>[ 61.078687@0] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
      <4>[ 61.965434@2] dhd_module_cleanup: Enter
      <4>[ 61.965509@2] bcmsdh_oob_intr_unregister: Enter
      <4>[ 61.968160@2] bcmsdh_oob_intr_unregister: irq is not registered
      <4>[ 61.974123@2] dhd_wlfc_deinit():3252, Already disabled!
      <4>[ 62.113144@2] dhd_detach(): thread:dhd_watchdog_thread:674 terminated OK
      <4>[ 62.114247@2] dhd_detach(): thread:dhd_rxf:676 terminated OK
      <4>[ 62.119888@0] dhd_dpc_thread: Unexpected up_cnt 0
      <4>[ 62.124691@2] dhd_detach(): thread:dhd_dpc:675 terminated OK
      <4>[ 62.130919@2] wl_event_handler: was terminated
      <4>[ 62.134746@2] wl_destroy_event_handler(): thread:wl_event_handler:673 terminated OK
      <4>[ 62.383495@2] unregister wifi platform drivers
      <4>[ 62.383534@2] wifi_teardown_dt
      <4>[ 62.385367@2] wifi_request_32k_clk : ON-->OFF for sdio_wifi
      <4>[ 62.390910@2] dhd_module_cleanup: Exit
      <7>[ 62.712900@2] -----hotplug:2
      <4>[ 62.773403@1] IRQ93 no longer affine to CPU1
      <5>[ 62.773689@0] CPU1: shutdown
      <11>[ 62.896689@0] init: no such service 'wififix'
      <4>[ 62.909798@2] dhd_module_init in
      <4>[ 62.909828@2] wifi_setup_dt
      <4>[ 62.910175@2] wifi_request_32k_clk : ON-->ON for sdio_wifi
      <4>[ 62.915727@2] interrupt_pin(118) : (null)
      <4>[ 62.919667@2] reg:2620,clearmask=100010,setmask=0
      <4>[ 62.924422@2] reg:2622,clearmask=ff,set pin=118
      <4>[ 62.928938@2] reg:2623,clearmask=70000,setmask=4
      <4>[ 62.933667@2] interrupt_pin(118) : sdio_wifi
      <4>[ 62.937797@2] power_on_pin(6) : (null)
      <4>[ 62.941546@2] power_on_pin(6) : sdio_wifi
      <4>[ 62.945557@2] power_on_pin2(108) : (null)
      <4>[ 62.949534@2] power_on_pin2(108) : sdio_wifi
      <4>[ 62.953864@2] ======== bcm_wlan_set_plat_data ========
      <4>[ 62.958897@2] host_oob_irq: 100
      <4>[ 62.962195@2] host_oob_irq_flags=4
      <4>[ 62.965624@2] dhd_wifi_platform_load: Enter
      <4>[ 62.969752@2] Power-up adapter 'DHD generic adapter'
      <4>[ 55.562894@2] [aml_sdio_timeout] time_start_cnt:1064
      <4>[ 55.562894@2] [aml_sdio_print_err] sdio: Timeout error, Cmd52 arg 0x80022040, Xfer 0 Bytes, host->xfer_step=12, host->cmd_is_stop=0, pdata->port=0, virqs=0x13, virqc=0x1f001f00, conf->cmd_clk_divide=1, pdata->clkc=1, conf->bus_width=1, pdata->width=1, conf=0x41727001, clock=39843750
      <4>[ 55.562894@2] [aml_sdio_timeout] time_start_cnt:1042
      <4>[ 55.562894@2] [aml_sdio_print_err] sdio: Timeout error, Cmd52 arg 0x80042000, Xfer 0 Bytes, host->xfer_step=12, host->cmd_is_stop=0, pdata->port=0, virqs=0x13, virqc=0x3f001f00, conf->cmd_clk_divide=1, pdata->clkc=1, conf->bus_width=1, pdata->width=1, conf=0x41727001, clock=39843750
      <4>[ 55.562894@2] 
      <4>[ 64.022882@2] [aml_sdio_timeout] time_start_cnt:1048
      <4>[ 64.022882@2] <4>[ 64.052962@2] dummy_sdmmc: probe of sdio:0001:1 failed with error -110
      <4>[ 65.129217@2] dummy_sdmmc: probe of sdio:0001:2 failed with error -110
      <4>[ 65.133671@2] wifi_platform_set_power = 1
      <4>[ 65.137199@2] ======== PULL WL_REG_ON HIGH! ========
      <4>[ 65.142415@2] WIFI Disable! 6
      <4>[ 65.345317@2] WIFI Enable! 6
      <4>[ 65.513224@1] CPU1: Booted secondary processor
      <4>[ 65.545416@2] sdio_reset_comm():
      <4>[ 65.560450@2] sdio: queuing unknown CIS tuple 0x80 (2 bytes)
      <4>[ 65.562410@2] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
      <4>[ 65.568106@2] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
      <4>[ 65.575333@2] sdio: queuing unknown CIS tuple 0x80 (7 bytes)
      <4>[ 65.686845@2] [sdio_reinit] finish
      <4>[ 65.892875@2] wifi_platform_bus_enumerate device present 1
      <4>[ 65.892920@2] ======== Card detection to detect SDIO card! ========
      <7>[ 66.212896@0] -----hotplug:2
      <4>[ 66.273360@2] IRQ94 no longer affine to CPU2
      <5>[ 66.273650@0] CPU2: shutdown
      <4>[ 67.892935@0] failed to power up DHD generic adapter, 3 retry left
      <4>[ 67.909422@0] wifi_platform_set_power = 0
      <4>[ 67.909453@0] ======== PULL WL_REG_ON LOW! ========
      <4>[ 67.913226@0] wifi_platform_bus_enumerate device present 0
      <4>[ 67.918175@0] ======== Card detection to remove SDIO card! ========
      <4>[ 67.924944@0] wifi_platform_set_power = 1
      <4>[ 67.928702@0] ======== PULL WL_REG_ON HIGH! ========
      <4>[ 67.934134@0] WIFI Disable! 6
      <4>[ 68.137121@0] WIFI Enable! 6
      <4>[ 68.213087@2] CPU2: Booted secondary processor
      <4>[ 68.337427@0] sdio_reset_comm():
      <4>[ 68.352349@0] sdio: queuing unknown CIS tuple 0x80 (2 bytes)
      <4>[ 68.354289@0] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
      <4>[ 68.359963@0] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
      <4>[ 68.372671@0] sdio: queuing unknown CIS tuple 0x80 (7 bytes)
      <4>[ 68.486350@0] [sdio_reinit] finish
      <4>[ 68.692911@0] wifi_platform_bus_enumerate device present 1
      <4>[ 68.692955@0] ======== Card detection to detect SDIO card! ========
      <4>[ 68.715424@0] bcmsdh_register: register client driver
      <4>[ 68.715632@0] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
      <4>[ 68.719984@0] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
      <4>[ 68.724886@0] bus num (host idx)=1, slot num (rca)=1
      <4>[ 68.729775@0] found adapter info 'DHD generic adapter'
      <4>[ 68.739449@0] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x0 pkg:0x4
      <4>[ 68.742968@0] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
      <4>[ 68.749423@0] wl_create_event_handler(): thread:wl_event_handler:68d started
      <4>[ 68.755162@1] tsk Enter, tsk = 0xddf2144c
      <4>[ 68.759231@0] dhd_attach(): thread:dhd_watchdog_thread:68e started
      <4>[ 68.765453@0] dhd_attach(): thread:dhd_dpc:68f started
      <4>[ 68.770489@0] dhd_attach(): thread:dhd_rxf:690 started
      <4>[ 68.775600@0] dhd_deferred_work_init: work queue initialized
      <4>[ 68.781670@0] Dongle Host Driver, version 1.141.66.1 (r483454)
      <4>[ 68.781670@0] Compiled in drivers/net/wireless/bcmdhd on May 13 2015 at 12:10:37
      <4>[ 68.795968@0] Register interface [wlan1] MAC: 00:90:4c:11:22:33
      <4>[ 68.795968@0]
      <4>[ 68.802999@0] dhd_prot_ioctl : bus is down. we have nothing to do
      <4>[ 68.808247@0] bcmsdh_oob_intr_unregister: Enter
      <4>[ 68.812701@0] bcmsdh_oob_intr_unregister: irq is not registered
      <4>[ 68.818715@0] dhd_bus_devreset: WLAN OFF DONE
      <4>[ 68.823182@0] wifi_platform_set_power = 0
      <4>[ 68.827008@0] ======== PULL WL_REG_ON LOW! ========
      <4>[ 68.832301@0] dhd_module_init: Exit err=0
      <6>[ 69.074486@0] rtl8192cu: MAC auto ON okay!
      <6>[ 69.104241@0] rtl8192cu: Tx queue select: 0x05
      <6>[ 69.505077@0] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
      <4>[ 70.353348@1] dhd_module_cleanup: Enter
      <4>[ 70.353422@1] bcmsdh_oob_intr_unregister: Enter
      <4>[ 70.356073@1] bcmsdh_oob_intr_unregister: irq is not registered
      <4>[ 70.361984@1] dhd_wlfc_deinit():3252, Already disabled!
      <4>[ 70.533044@0] dhd_detach(): thread:dhd_watchdog_thread:68e terminated OK
      <4>[ 70.534144@0] dhd_detach(): thread:dhd_rxf:690 terminated OK
      <4>[ 70.539816@0] dhd_dpc_thread: Unexpected up_cnt 0
      <4>[ 70.544670@1] dhd_detach(): thread:dhd_dpc:68f terminated OK
      <4>[ 70.550550@1] wl_event_handler: was terminated
      <4>[ 70.554667@1] wl_destroy_event_handler(): thread:wl_event_handler:68d terminated OK
      <4>[ 70.803322@0] unregister wifi platform drivers
      <4>[ 70.803367@0] wifi_teardown_dt
      <4>[ 70.805226@0] wifi_request_32k_clk : ON-->OFF for sdio_wifi
      <4>[ 70.810804@0] dhd_module_cleanup: Exit
      <4>[ 64.025084@2] [aml_sdio_print_err] sdio: Timeout error, Cmd52 arg 0x80022040, Xfer 0 Bytes, host->xfer_step=12, host->cmd_is_stop=0, pdata->port=0, virqs=0x13, virqc=0x3f003f00, conf->cmd_clk_divide=1, pdata->clkc=1, conf->bus_width=1, pdata->width=1, conf=0x41727001, clock=39843750
      <4>[ 64.025084@2] [aml_sdio_timeout] time_start_cnt:1046
      <4>[ 64.025084@2] [aml_sdio_print_err] sdio: Timeout error, Cmd52 arg 0x80042000, Xfer 0 Bytes, host->xfer_step=12, host->cmd_is_stop=0, pdata->port=0, virqs=0x13, virqc=0x3f001f00, conf->cmd_clk_divide=1, pdata->clkc=1, conf->bus_width=1, pdata->width=1, conf=0x41727001, clock=39843750
      <4>[ 64.025084@2] 
      <7>[ 71.012887@2] -----hotplug:2
      <4>[ 71.073463@1] IRQ93 no longer affine to CPU1
      <5>[ 71.073755@0] CPU1: shutdown
      <11>[ 71.316849@2] init: no such service 'wififix'
      <4>[ 71.340142@0] dhd_module_init in
      <4>[ 71.340235@0] wifi_setup_dt
      <4>[ 71.340537@0] wifi_request_32k_clk : ON-->ON for sdio_wifi
      <4>[ 71.346326@0] interrupt_pin(118) : (null)
      <4>[ 71.350075@0] reg:2620,clearmask=100010,setmask=0
      <4>[ 71.354778@0] reg:2622,clearmask=ff,set pin=118
      <4>[ 71.359293@0] reg:2623,clearmask=70000,setmask=4
      <4>[ 71.364123@0] interrupt_pin(118) : sdio_wifi
      <4>[ 71.368892@0] power_on_pin(6) : (null)
      <4>[ 71.373103@2] power_on_pin(6) : sdio_wifi
      <4>[ 71.377529@2] power_on_pin2(108) : (null)
      <4>[ 71.379908@2] power_on_pin2(108) : sdio_wifi
      <4>[ 71.384409@2] ======== bcm_wlan_set_plat_data ========
      <4>[ 71.389250@2] host_oob_irq: 100
      <4>[ 71.392548@2] host_oob_irq_flags=4
      <4>[ 71.396040@2] dhd_wifi_platform_load: Enter
      <4>[ 71.400108@2] Power-up adapter 'DHD generic adapter'
      <4>[ 72.275784@2] IRQ94 no longer affine to CPU2
      <5>[ 72.276030@0] CPU2: shutdown
      <4>[ 72.488569@0] dummy_sdmmc: probe of sdio:0001:1 failed with error -110
      <4>[ 73.569487@0] dummy_sdmmc: probe of sdio:0001:2 failed with error -110
      <4>[ 73.574102@0] wifi_platform_set_power = 1
      <4>[ 73.574672@0] ======== PULL WL_REG_ON HIGH! ========
      <4>[ 73.582024@0] WIFI Disable! 6
      <4>[ 73.784993@0] WIFI Enable! 6
      <4>[ 73.996748@0] sdio_reset_comm():
      <4>[ 74.010931@0] sdio: queuing unknown CIS tuple 0x80 (2 bytes)
      <4>[ 74.012753@0] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
      <4>[ 74.016790@1] CPU1: Booted secondary processor
      <4>[ 74.022890@0] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
      <4>[ 74.029929@0] sdio: queuing unknown CIS tuple 0x80 (7 bytes)
      <4>[ 74.138285@1] [sdio_reinit] finish
      <4>[ 74.343148@1] wifi_platform_bus_enumerate device present 1
      <4>[ 74.343592@1] ======== Card detection to detect SDIO card! ========
      <4>[ 75.375760@1] IRQ93 no longer affine to CPU1
      <5>[ 75.376009@0] CPU1: shutdown
      <4>[ 76.342959@0] failed to power up DHD generic adapter, 3 retry left
      <4>[ 76.359807@0] wifi_platform_set_power = 0
      <4>[ 76.359853@0] ======== PULL WL_REG_ON LOW! ========
      <4>[ 76.363612@0] wifi_platform_bus_enumerate device present 0
      <4>[ 76.368888@0] ======== Card detection to remove SDIO card! ========
      <4>[ 76.369698@0] wifi_platform_set_power = 1
      <4>[ 76.369702@0] ======== PULL WL_REG_ON HIGH! ========
      <4>[ 76.369715@0] WIFI Disable! 6
      <4>[ 76.587371@0] WIFI Enable! 6
      <4>[ 76.712990@1] CPU1: Booted secondary processor
      <4>[ 76.788377@0] sdio_reset_comm():
      <4>[ 76.802556@0] sdio: queuing unknown CIS tuple 0x80 (2 bytes)
      <4>[ 76.804381@0] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
      <4>[ 76.810037@0] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
      <4>[ 76.817138@0] sdio: queuing unknown CIS tuple 0x80 (7 bytes)
      <7>[ 76.883658@1] CTS_CPU_CLK 1536 --> 1250 (MHz)
      <4>[ 76.923169@0] [sdio_reinit] finish
      <4>[ 77.133208@0] wifi_platform_bus_enumerate device present 1
      <4>[ 77.133653@0] ======== Card detection to detect SDIO card! ========
      <4>[ 77.160320@0] bcmsdh_register: register client driver
      <4>[ 77.161843@0] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
      <4>[ 77.166685@0] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
      <4>[ 77.169929@0] bus num (host idx)=1, slot num (rca)=1
      <4>[ 77.175436@0] found adapter info 'DHD generic adapter'[/CODE]
      Prahjister ****MK808(nonB)****MK808B V5****MK808B Plus****UBOX R89**** CX919****MK808B Pro****Nexbox N9****Eny Em95****Matricon Q2****Tanix TX5 Pro****

      Comment


        #4
        Did you get to work the 8188cus driver?

        Comment


          #5
          No it did not. Sorry. The 8188eu works really well
          Prahjister ****MK808(nonB)****MK808B V5****MK808B Plus****UBOX R89**** CX919****MK808B Pro****Nexbox N9****Eny Em95****Matricon Q2****Tanix TX5 Pro****

          Comment


            #6
            Thanks. Does realtek 8188etv chipset (inphic spot i5) works with the 8188eu driver?

            Comment


              #7
              This lib is from a spoti5 rom. Tested on 109k4 or alternately you can use the spot i5 rom on the b+.

              According to this page https://wikidevi.com/wiki/Realtek the 8188etv uses same driver as 8188eu.
              n/a USB 2.0 bgn 1x1:1 2013-05-14 small form factor, same
              linux driver as RTL8188EU
              2 devices 1 devices DS
              Prahjister ****MK808(nonB)****MK808B V5****MK808B Plus****UBOX R89**** CX919****MK808B Pro****Nexbox N9****Eny Em95****Matricon Q2****Tanix TX5 Pro****

              Comment


                #8
                prahjister Thanks, I have STB Inphic spot i5 with 8188etv wifi chipset ;-D

                Comment

                Working...
                X