by
v8dave » Thu Jan 02, 2020 6:04 am
I have tried many of them. I am trying just now with an RTL8192CU based module as that is the one I have added the Kernel drivers for.
When I checked the Kernel drivers, there were no WiFi drivers except for the one used on the NanoPC T3 Plus. I am not using your pre-built image but instead building from your source. I also did try your pre-built image but it still does not work.
I have had to modify the kernel and the Android OS to add the drivers but Android still does not correctly associate the USB module with WiFi.
I see the following in DMESG output so I know the module is being detected on the USB port.
Code: Select all
<7>[ 1.680000] usb 1-1.3: default language 0x0409
<7>[ 1.680000] usb 1-1.3: udev 3, busnum 1, minor = 2
<6>[ 1.680000] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=8179
<6>[ 1.680000] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
<6>[ 1.688000] usb 1-1.3: Product: 802.11n NIC
<6>[ 1.692000] usb 1-1.3: Manufacturer: Realtek
<6>[ 1.696000] usb 1-1.3: SerialNumber: 3CA31503056C
<7>[ 1.700000] usb 1-1.3: usb_probe_device
<7>[ 1.700000] usb 1-1.3: configuration #1 chosen from 1 choice
<7>[ 1.700000] usb 1-1.3: adding 1-1.3:1.0 (config #1, interface 0)
And further down I see this for the wifi configuration:
Code: Select all
<7>[ 144.304000] dhd_module_init: in
<7>[ 144.304000] ======== bcm_wlan_set_plat_data ========
<7>[ 144.304000] host_oob_irq: 187
<7>[ 144.304000] host_oob_irq_flags = 414
<7>[ 144.304000] dhd_wifi_platform_load: Enter
<7>[ 144.304000] Power-up adapter 'DHD generic adapter'
<7>[ 144.304000] wifi_platform_set_power = 1
<7>[ 144.304000] ======== PULL WL_REG_ON HIGH! ========
<7>[ 144.304000] wifi_pm: bcmdhd: 1
<7>[ 144.620000] wifi_platform_bus_enumerate device present 1
<3>[ 145.656000] dw_mmc dw_mmc.1: Data0: Never released by cmd52
<7>[ 145.820000] failed to power up DHD generic adapter, 1 retry left
<7>[ 145.848000] wifi_platform_set_power = 0
<7>[ 145.848000] ======== PULL WL_REG_ON LOW! ========
<7>[ 145.848000] wifi_pm: bcmdhd: 0
<7>[ 145.960000] wifi_platform_bus_enumerate device present 0
<3>[ 146.660000] dw_mmc dw_mmc.1: Data0: Never released by cmd52
<3>[ 147.664000] dw_mmc dw_mmc.1: Data0: Never released by cmd0
<3>[ 148.668000] dw_mmc dw_mmc.1: Data0: Never released by cmd8
<3>[ 149.672000] dw_mmc dw_mmc.1: Data0: Never released by cmd5
<3>[ 150.680000] dw_mmc dw_mmc.1: Data0: Never released by cmd5
<3>[ 151.688000] dw_mmc dw_mmc.1: Data0: Never released by cmd5
<3>[ 152.692000] dw_mmc dw_mmc.1: Data0: Never released by cmd5
<3>[ 153.700000] dw_mmc dw_mmc.1: Data0: Never released by cmd55
<3>[ 154.704000] dw_mmc dw_mmc.1: Data0: Never released by cmd55
<3>[ 155.708000] dw_mmc dw_mmc.1: Data0: Never released by cmd55
<3>[ 156.712000] dw_mmc dw_mmc.1: Data0: Never released by cmd55
<3>[ 157.716000] dw_mmc dw_mmc.1: Data0: Never released by cmd1
<7>[ 157.716000] failed to power up DHD generic adapter, max retry reached**
<7>[ 157.716000] unregister wifi platform drivers
<7>[ 157.716000] wifi_platform_bus_enumerate device present 0
<7>[ 157.716000] dhd_module_init: Failed to load the driver, try cnt 1
<7>[ 157.716000] ======== bcm_wlan_set_plat_data ========
<7>[ 157.716000] host_oob_irq: 187
<7>[ 157.716000] host_oob_irq_flags = 414
<7>[ 157.716000] dhd_wifi_platform_load: Enter
<7>[ 157.716000] Power-up adapter 'DHD generic adapter'
<7>[ 157.716000] wifi_platform_set_power = 1
<7>[ 157.716000] ======== PULL WL_REG_ON HIGH! ========
<7>[ 157.716000] wifi_pm: bcmdhd: 1
<7>[ 158.032000] wifi_platform_bus_enumerate device present 1
<3>[ 159.068000] dw_mmc dw_mmc.1: Data0: Never released by cmd52
<7>[ 159.232000] failed to power up DHD generic adapter, 1 retry left
<7>[ 159.260000] wifi_platform_set_power = 0
<7>[ 159.260000] ======== PULL WL_REG_ON LOW! ========
<7>[ 159.260000] wifi_pm: bcmdhd: 0
<7>[ 159.376000] wifi_platform_bus_enumerate device present 0
<3>[ 160.076000] dw_mmc dw_mmc.1: Data0: Never released by cmd52
<3>[ 161.080000] dw_mmc dw_mmc.1: Data0: Never released by cmd0
<3>[ 162.084000] dw_mmc dw_mmc.1: Data0: Never released by cmd8
<3>[ 163.088000] dw_mmc dw_mmc.1: Data0: Never released by cmd5
<3>[ 164.092000] dw_mmc dw_mmc.1: Data0: Never released by cmd5
<3>[ 165.096000] dw_mmc dw_mmc.1: Data0: Never released by cmd5
<3>[ 166.104000] dw_mmc dw_mmc.1: Data0: Never released by cmd5
<3>[ 167.108000] dw_mmc dw_mmc.1: Data0: Never released by cmd55
<3>[ 168.116000] dw_mmc dw_mmc.1: Data0: Never released by cmd55
<3>[ 169.124000] dw_mmc dw_mmc.1: Data0: Never released by cmd55
<3>[ 170.128000] dw_mmc dw_mmc.1: Data0: Never released by cmd55
<3>[ 171.132000] dw_mmc dw_mmc.1: Data0: Never released by cmd1
<7>[ 171.132000] failed to power up DHD generic adapter, max retry reached**
<7>[ 171.132000] unregister wifi platform drivers
<7>[ 171.132000] wifi_platform_bus_enumerate device present 0