HDMI Driver Modes

Hi Guys,

Just wanted to know why i am getting the different modes when TV is Off or When TV is ON.

Case 1 : When I boot Box and TV is Connected & PowerOff
Edge@Edge:/sys/class/drm/card0-HDMI-A-1$ cat modes
1360x768p60
1280x720p60
1280x720p60
1280x720p50
1280x720p30
1280x720p30
1280x720p24
1280x720p24
1024x768p60
800x600p60
720x576p50
720x576i50
720x480p60
720x480p60
720x480i60
720x480i60
640x480p60
640x480p60

Case 2 : When I boot Box and TV is Connected & PowerOn

1360x768p60
1920x1080p60
1920x1080p60
1920x1080i60
1920x1080i60
1920x1080p50
1920x1080i50
1920x1080p30
1920x1080p30
1920x1080p24
1920x1080p24
1680x1050p60
1152x864p75
1280x720p60
1280x720p60
1280x720p50
1280x720p30
1280x720p30
1280x720p24
1280x720p24
1024x768p60
800x600p60
720x576p50
720x576i50
720x480p60
720x480p60
720x480i60
720x480i60
640x480p60
640x480p60

I checked on VIM3 with mainline kernel. Seems is the same to you.

  • TV Connected & power off
root@Khadas:~# cat /sys/class/drm/card0-HDMI-A-1/modes 
1024x768
800x600
800x600
848x480
  • TV Connected & power on
root@Khadas:~# cat /sys/class/drm/card0-HDMI-A-1/modes 
1920x1080
3840x2160
3840x2160
3840x2160
3840x2160
3840x2160
1920x1080
1920x1080
1920x1080i
1920x1080i
1920x1080
1920x1080i
1920x1080i
1280x1024
1440x900
1360x768
1280x720
1280x720
1280x720
1280x720
1024x768
800x600
720x576
720x480

This should be normal. When your TV is off, the CPU cannot communicate with TV normally. Output the default value.

but sometimes i observed different resolution when i switch ON the TV.
means no consistent behavior when i switch On the TV after BOX.

due to this, we are facing some issue related to our product.
Do you guys know how we can make consistency ?

Note : for your information, i am testing with One TV only (SONY)

Estimated to be caused by poor contact…

i have used best TV (SONY TV) and best certified cable (HDMI Cable).
Can’t we do something to solve this issue ?

can you guys help us to solve this issue.
i can provide any help that would be require by your side

Please provide a comparative kernel log…

I have added few logs (driver/gpu/drm)
will it work for you ?

Good Case : Update mode to 1360x768p60
Bad Case : Update mode to 1024x768p60

Dont know how to upload kernel logs file

add log

image

Can’t i add log file instead of pasting logs…
maximum limit is 32,000 words, and i have more logs

Good Case Log

[    3.849841] ALSA device list:
[    3.849853]   #0: XMOS Khadas Tone Control at usb-fe3c0000.usb-1, high speed
[    3.849864]   #1: HDMI
[    3.882916] phy phy-ff770000.syscon:usb2-phy@e450.7: charger = USB_DCP_CHARGER
[    3.884786] Freeing unused kernel memory: 1152K
[    3.887079] rockchip-dwc3 usb0: USB peripheral connected
[    3.902811] mmc_host mmc2: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0)
[    4.050915] dwmmc_rockchip fe310000.dwmmc: Successfully tuned phase to 212
[    4.054374] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
[    4.054464] mmc2: new ultra high speed SDR104 SDIO card at address 0001
[    4.258799] usb 3-1: new low-speed USB device number 2 using ohci-platform
[    4.475355] usb 3-1: New USB device found, idVendor=04f2, idProduct=0833
[    4.475385] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.475398] usb 3-1: Product: USB Keyboard
[    4.475411] usb 3-1: Manufacturer: CHICONY
[    4.484792] input: CHICONY USB Keyboard as /devices/platform/fe3a0000.usb/usb3/3-1/3-1:1.0/0003:04F2:0833.0001/input/input4
[    4.540058] hid-generic 0003:04F2:0833.0001: input,hidraw0: USB HID v1.11 Keyboard [CHICONY USB Keyboard] on usb-fe3a0000.usb-1/input0
[    4.554359] input: CHICONY USB Keyboard as /devices/platform/fe3a0000.usb/usb3/3-1/3-1:1.1/0003:04F2:0833.0002/input/input5
[    4.608052] hid-generic 0003:04F2:0833.0002: input,hiddev0,hidraw1: USB HID v1.11 Device [CHICONY USB Keyboard] on usb-fe3a0000.usb-1/input1
[    5.058992] EXT4-fs (mmcblk1p7): mounted filesystem with ordered data mode. Opts: (null)
[    5.242720] systemd[1]: Failed to insert module 'autofs4': No such file or directory
[    5.244783] cgroup: cgroup2: unknown option "nsdelegate"
[    5.251985] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    5.252727] systemd[1]: Detected architecture arm64.
[    5.257538] systemd[1]: Set hostname to <OKAS>.
[    5.362793] systemd[1]: File /lib/systemd/system/systemd-journald.service:35 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    5.362835] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    5.471181] random: systemd: uninitialized urandom read (16 bytes read, 115 bits of entropy available)
[    5.471759] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    5.472316] random: systemd: uninitialized urandom read (16 bytes read, 115 bits of entropy available)
[    5.473104] systemd[1]: Created slice System Slice.
[    5.473379] random: systemd: uninitialized urandom read (16 bytes read, 115 bits of entropy available)
[    5.473781] systemd[1]: Listening on Journal Socket.
[    5.474097] random: systemd: uninitialized urandom read (16 bytes read, 115 bits of entropy available)
[    5.476955] systemd[1]: Starting Nameserver information manager...
[    5.477628] random: systemd: uninitialized urandom read (16 bytes read, 115 bits of entropy available)
[    5.481116] systemd[1]: Mounting Kernel Debug File System...
[    5.489367] random: systemd: uninitialized urandom read (16 bytes read, 115 bits of entropy available)
[    5.489792] systemd[1]: Started ntp-systemd-netif.path.
[    5.490291] random: systemd: uninitialized urandom read (16 bytes read, 115 bits of entropy available)
[    5.491019] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    5.491459] random: systemd: uninitialized urandom read (16 bytes read, 115 bits of entropy available)
[    5.491602] systemd[1]: Reached target Remote File Systems.
[    5.492448] random: systemd: uninitialized urandom read (16 bytes read, 115 bits of entropy available)
[    5.496496] systemd[1]: Mounting Huge Pages File System...
[    5.497459] random: systemd: uninitialized urandom read (16 bytes read, 115 bits of entropy available)
[    5.502773] systemd[1]: Starting Restore / save the current clock...
[    5.507201] systemd[1]: Mounting POSIX Message Queue File System...
[    5.512633] systemd[1]: Starting Set the console keyboard layout...
[    5.513833] systemd[1]: Listening on udev Kernel Socket.
[    5.514896] systemd[1]: Listening on udev Control Socket.
[    5.519942] systemd[1]: Starting udev Coldplug all Devices...
[    5.521457] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    5.522353] systemd[1]: Listening on Journal Socket (/dev/log).
[    5.523730] systemd[1]: Created slice User and Session Slice.
[    5.524164] systemd[1]: Reached target Slices.
[    5.524863] systemd[1]: Listening on fsck to fsckd communication Socket.
[    5.525460] systemd[1]: Listening on Syslog Socket.
[    5.530298] systemd[1]: Starting Journal Service...
[    5.535791] systemd[1]: Starting Remount Root and Kernel File Systems...
[    5.540800] systemd[1]: Starting Create Static Device Nodes in /dev...
[    5.542120] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    5.542777] systemd[1]: Reached target Swap.
[    5.543284] systemd[1]: Reached target System Time Synchronized.
[    5.543716] systemd[1]: Reached target Local Encrypted Volumes.
[    5.550670] systemd[1]: Starting Load Kernel Modules...
[    5.559125] systemd[1]: Mounted Kernel Debug File System.
[    5.560816] systemd[1]: Mounted Huge Pages File System.
[    5.563952] systemd[1]: Started Restore / save the current clock.
[    5.571724] systemd[1]: Mounted POSIX Message Queue File System.
[    5.575832] EXT4-fs (mmcblk1p7): re-mounted. Opts: commit=600,errors=remount-ro
[    5.576223] systemd[1]: Started Nameserver information manager.
[    5.583307] systemd[1]: Started Remount Root and Kernel File Systems.
[    5.593357] systemd[1]: Starting Load/Save Random Seed...
[    5.610723] systemd[1]: Reached target Network (Pre).
[    5.611994] systemd[1]: Started Create Static Device Nodes in /dev.
[    5.614794] dhd_module_init: in Dongle Host Driver, version 1.579.77.41.10 (r)
[    5.614830] ======== dhd_wlan_init_plat_data ========
[    5.614840] [WLAN_RFKILL]: rockchip_wifi_get_oob_irq: Enter
[    5.614858] dhd_wlan_init_gpio: WL_HOST_WAKE=-1, oob_irq=65, oob_irq_flags=0x414
[    5.614864] dhd_wlan_init_gpio: WL_REG_ON=-1
[    5.614871] dhd_wifi_platform_load: Enter
[    5.614921] Power-up adapter 'DHD generic adapter'
[    5.615472] wifi_platform_set_power = 1
[    5.615489] ======== PULL WL_REG_ON(-1) HIGH! ========
[    5.615498] [WLAN_RFKILL]: rockchip_wifi_power: 1
[    5.615508] [WLAN_RFKILL]: wifi turn on power. -1
[    5.616722] systemd[1]: Starting udev Kernel Device Manager...
[    5.618162] systemd[1]: Started Load/Save Random Seed.
[    5.633787] aufs 4.4-20170911
[    5.636395] systemd[1]: Started Load Kernel Modules.
[    5.642567] systemd[1]: Mounting FUSE Control File System...
[    5.649626] systemd[1]: Starting Apply Kernel Variables...
[    5.660912] systemd[1]: Mounting Kernel Configuration File System...
[    5.669604] systemd[1]: Mounted FUSE Control File System.
[    5.679662] systemd[1]: Mounted Kernel Configuration File System.
[    5.694772] systemd[1]: Started Apply Kernel Variables.
[    5.713322] systemd[1]: Started udev Kernel Device Manager.
[    5.760560] systemd[1]: Started Set the console keyboard layout.
[    5.761105] systemd[1]: Reached target Local File Systems (Pre).
[    5.764680] systemd[1]: Mounting /tmp...
[    5.776357] systemd[1]: Mounted /tmp.
[    5.777319] systemd[1]: Reached target Local File Systems.
[    5.781185] systemd[1]: Started FAN control.
[    5.792159] systemd[1]: Starting Raise network interfaces...
[    5.798394] systemd[1]: Started System check.
[    5.808727] systemd[1]: Starting Set console font and keymap...
[    5.819651] systemd[1]: Starting Fenix ZRAM config...
[    5.823225] systemd[1]: Started udev Coldplug all Devices.
[    5.842426] systemd[1]: Started Set console font and keymap.
[    5.868649] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Not connected. Disabling cdn
[    5.868674] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Not connected. Disabling cdn
[    5.872021] fusb302 8-0022: PD disabled
[    5.874680] random: nonblocking pool is initialized
[    5.899240] systemd[1]: Started Journal Service.
[    5.918707] wifi_platform_bus_enumerate device present 1
[    5.918740] ======== Card detection to detect SDIO card! ========
[    5.918750] mmc2:mmc host rescan start!
[    5.933350] systemd-journald[294]: Received request to flush runtime journal from PID 1
[    5.935979] bcmsdh_register: register client driver
[    5.936401] bcmsdh_sdmmc_probe: Enter num=1
[    5.936690] bcmsdh_sdmmc_probe: Enter num=2
[    5.936701] bus num (host idx)=2, slot num (rca)=1
[    5.936710] found adapter info 'DHD generic adapter'
[    5.937463] sdioh_attach: set sd_f2_blocksize 256
[    5.937650] sdioh_attach: sd clock rate = 0
[    5.938244] dhdsdio_probe : no mutex held. set lock
[    5.938495] F1 signature read @0x18000000=0x17294359
[    5.941203] F1 signature OK, socitype:0x1 chip:0x4359 rev:0x9 pkg:0x2
[    5.941632] DHD: dongle ram size is set to 917504(orig 917504) at 0x160000
[    5.941735] dhd_conf_set_chiprev: chip=0x4359, chiprev=9
[    5.942037] CFG80211-ERROR) wl_setup_wiphy : Registering Vendor80211
[    5.948938] CFG80211-ERROR) wl_init_prof : wl_init_prof: No profile
[    5.949289] wl_escan_attach: Enter
[    5.949346] wl_escan_init: Enter
[    5.949556] wl_create_event_handler(): thread:wl_escan_handler:196 started
[    5.949777] tsk Enter, tsk = 0xffffffc0ed2f01b0
[    5.949807] dhd_attach(): thread:dhd_watchdog_thread:197 started
[    5.949875] dhd_attach(): thread:dhd_dpc:198 started
[    5.949983] dhd_attach(): thread:dhd_rxf:199 started
[    5.950003] dhd_deferred_work_init: work queue initialized
[    5.950012] dhd_tcpack_suppress_set: TCP ACK Suppress mode 0 -> mode 2
[    5.950070] dhd_bus_set_default_min_res_mask: Unhandled chip id
[    5.950546] sdioh_cis_read: func_cis_ptr[0]=0x10ac
[    5.974866] Dongle Host Driver, version 1.579.77.41.10 (r)
[    5.975455] wl_ext_iapsta_attach_netdev: ifidx=0, bssidx=0
[    5.975470] Register interface [wlan0]  MAC: 28:ed:e0:e6:9a:ca

[    5.975659] dhd_tcpack_suppress_set: TCP ACK Suppress mode 2 -> mode 0
[    5.975697] dhd_wl_ioctl: returning as busstate=0
[    5.975709] dhd_dbg_detach_pkt_monitor, 2204
[    5.975721] dhd_bus_devreset: == Power OFF ==
[    5.975993] bcmsdh_oob_intr_unregister: Enter
[    5.976002] bcmsdh_oob_intr_unregister: irq is not registered
[    5.976022] dhd_txglom_enable: enable 0
[    5.976032] dhd_conf_set_txglom_params: txglom_mode=copy
[    5.976040] dhd_conf_set_txglom_params: txglomsize=0, deferred_tx_len=0
[    5.976047] dhd_conf_set_txglom_params: txinrx_thres=128, dhd_txminmax=-1
[    5.976054] dhd_conf_set_txglom_params: tx_max_offset=0, txctl_tmo_fix=300
[    5.976062] dhd_bus_devreset:  WLAN OFF DONE
[    5.976112] wifi_platform_set_power = 0
[    5.976121] ======== PULL WL_REG_ON(-1) LOW! ========
[    5.976129] [WLAN_RFKILL]: rockchip_wifi_power: 0
[    5.976341] [WLAN_RFKILL]: wifi shut off power.
[    5.976355] dhdsdio_probe : the lock is released.
[    5.976552] dhd_module_init: Exit err=0
[    6.065917] zram: Added device: zram0
[    6.067232] zram: Added device: zram1
[    6.070805] zram: Added device: zram2
[    6.074274] zram: Added device: zram3
[    6.077455] zram: Added device: zram4
[    6.079812] zram: Added device: zram5
[    6.136866] IPVS: Creating netns size=2104 id=1
[    6.167348] zram1: detected capacity change from 0 to 268435456
[    6.211150] Adding 262140k swap on /dev/zram1.  Priority:5 extents:1 across:262140k SSFS
[    6.214210] zram2: detected capacity change from 0 to 268435456
[    6.250908] Adding 262140k swap on /dev/zram2.  Priority:5 extents:1 across:262140k SSFS
[    6.257729] zram3: detected capacity change from 0 to 268435456
[    6.283714] dhd_ioctl_entry: Interface is down 
[    6.287539] Adding 262140k swap on /dev/zram3.  Priority:5 extents:1 across:262140k SSFS
[    6.290859] zram4: detected capacity change from 0 to 268435456
[    6.313852] Adding 262140k swap on /dev/zram4.  Priority:5 extents:1 across:262140k SSFS
[    6.383208] [BT_RFKILL]: ENABLE UART_RTS
[    6.486628] [BT_RFKILL]: DISABLE UART_RTS
[    6.486682] [BT_RFKILL]: bt turn on power
[    6.708194] [BT_RFKILL]: bt shut off power
[    6.942759] IPVS: Creating netns size=2104 id=2
[    7.467640] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    7.467757] dhd_open: Enter ffffffc0eb60f000
[    7.467762] dhd_open : no mutex held. set lock
[    7.467769] 
               Dongle Host Driver, version 1.579.77.41.10 (r)
[    7.467776] wl_ext_iapsta_attach_netdev: ifidx=0, bssidx=0
[    7.467782] wl_android_wifi_on in 1
[    7.467787] wl_android_wifi_on in 2: g_wifi_on=0
[    7.467792] wifi_platform_set_power = 1
[    7.467797] ======== PULL WL_REG_ON(-1) HIGH! ========
[    7.467802] [WLAN_RFKILL]: rockchip_wifi_power: 1
[    7.467808] [WLAN_RFKILL]: wifi turn on power. -1
[    7.762805] [BT_RFKILL]: ENABLE UART_RTS
[    7.771142] sdio_reset_comm():
[    7.786923] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    7.803177] mmc_host mmc2: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[    7.851668] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[    7.854673] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    7.857825] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    7.863226] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[    7.866804] [BT_RFKILL]: DISABLE UART_RTS
[    7.866864] [BT_RFKILL]: bt turn on power
[    7.970446] mmc_host mmc2: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0)
[    8.098975] dwmmc_rockchip fe310000.dwmmc: Successfully tuned phase to 214
[    8.099028] sdioh_start: set sd_f2_blocksize 256
[    8.099246] 
               
               dhd_bus_devreset: == WLAN ON ==
[    8.099315] F1 signature read @0x18000000=0x17294359
[    8.101720] F1 signature OK, socitype:0x1 chip:0x4359 rev:0x9 pkg:0x2
[    8.102092] DHD: dongle ram size is set to 917504(orig 917504) at 0x160000
[    8.102139] dhd_bus_set_default_min_res_mask: Unhandled chip id
[    8.102858] dhd_os_open_image: /lib/firmware/brcm/config.txt (184 bytes) open success
[    8.103300] dhd_conf_read_sdio_params: dhd_slpauto = 0
[    8.103317] dhd_conf_read_others: ccode = CN
[    8.103327] dhd_conf_read_others: regrev = 38
[    8.103344] dhd_conf_read_nv_by_chip: nv_by_chip_count=5
[    8.103351] dhd_conf_read_nv_by_chip: chip=0xa9a6, chiprev=0, name=nvram_ap6212.txt
[    8.103358] dhd_conf_read_nv_by_chip: chip=0xa9a6, chiprev=1, name=nvram_ap6212a.txt
[    8.103364] dhd_conf_read_nv_by_chip: chip=0x4345, chiprev=6, name=nvram_ap6255.txt
[    8.103371] dhd_conf_read_nv_by_chip: chip=0x4354, chiprev=2, name=nvram_ap6356.txt
[    8.103378] dhd_conf_read_nv_by_chip: chip=0x4359, chiprev=9, name=nvram_ap6359sa.txt
[    8.103396] Final fw_path=/lib/firmware/brcm/fw_bcm4359c0_ag.bin
[    8.103402] Final nv_path=/lib/firmware/brcm/nvram_ap6359sa.txt
[    8.103407] Final clm_path=/lib/firmware/brcm/clm.blob
[    8.103412] Final conf_path=/lib/firmware/brcm/config.txt
[    8.103752] dhd_os_open_image: /lib/firmware/brcm/fw_bcm4359c0_ag.bin (576532 bytes) open success
[    8.145837] dhd_os_open_image: /lib/firmware/brcm/nvram_ap6359sa.txt (6114 bytes) open success
[    8.146303] NVRAM version: AP6359SA_NVRAM_V1.1_20170328
[    8.146849] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[    8.328301] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[    8.328375] si_get_pmu_reg_addr: addrRET: 18000670
[    8.328645] bcmsdh_oob_intr_register: HW_OOB irq=65 flags=0x4
[    8.328893] dhd_get_memdump_info: File [/data/misc/wifi/.memdump.info] doesn't exist
[    8.328905] dhd_get_memdump_info: MEMDUMP ENABLED = 2
[    8.329557] Disable tdls_auto_op failed. -1
[    8.329576] dhd_tcpack_suppress_set: TCP ACK Suppress mode 0 -> mode 1
[    8.329900] dhd_apply_default_clm: Ignore clm file /lib/firmware/brcm/clm.blob
[    8.331041] Firmware up: op_mode=0x0405, MAC=28:ed:e0:e6:9a:ca
[    8.338351]   Driver: 1.579.77.41.10 (r)
                 Firmware: wl0: Mar  6 2017 10:16:06 version 9.87.51.7 (r686312) FWID 01-4dcc75d9
                 CLM: 9.7.5 
[    8.338522] dhd_txglom_enable: enable 1
[    8.338529] dhd_conf_set_txglom_params: txglom_mode=copy
[    8.338535] dhd_conf_set_txglom_params: txglomsize=36, deferred_tx_len=0
[    8.338541] dhd_conf_set_txglom_params: txinrx_thres=128, dhd_txminmax=-1
[    8.338547] dhd_conf_set_txglom_params: tx_max_offset=0, txctl_tmo_fix=300
[    8.338560] dhd_conf_get_disable_proptx: fw_proptx=0, disable_proptx=1
[    8.339453] dhd_pno_init: Support Android Location Service
[    8.365141] rtt_do_get_ioctl: failed to send getbuf proxd iovar (CMD ID : 1), status=-23
[    8.365153] dhd_rtt_init : FTM is not supported
[    8.365160] dhd_preinit_ioctls: SensorHub diabled 0
[    8.365382] dhd_preinit_ioctls failed to set ShubHub disable
[    8.366133] failed to set WNM capabilities
[    8.366292] dhd_conf_set_country: set country CN, revision 38
[    8.368780] Country code: CN (CN/38)
[    8.370236] CONFIG-ERROR) dhd_conf_set_intiovar: txbf setting failed -23
[    8.371080] wl_android_wifi_on: Success
[    8.385215] dhd_open : the lock is released.
[    8.385226] dhd_open: Exit ret=0
[    8.406171] cfg80211: World regulatory domain updated:
[    8.406195] cfg80211:  DFS Master region: unset
[    8.406205] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    8.406225] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    8.406242] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    8.406256] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    8.406270] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    8.406284] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[    8.406302] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    8.406316] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    8.406328] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[    8.537528] P2P interface registered
[    8.537554] wl_cfgp2p_add_p2p_disc_if: wdev: ffffffc0f65c4c00, wdev->net:           (null)
[    8.552898] WLC_E_IF: NO_IF set, event Ignored
[    8.554332] P2P interface started
[    8.875389] ttyS0 - failed to request DMA, use interrupt mode
[    9.917148] Connecting with 04:95:e6:59:f0:80 ssid "Gemini", len (6) channel=7

[    9.923359] dhd_dbg_start_pkt_monitor, 1724
[   10.004735] wl_iw_event: Link UP with 04:95:e6:59:f0:80
[   10.004937] wl_bss_connect_done succeeded with 04:95:e6:59:f0:80 
[   10.005186] CFG80211-ERROR) wl_cfg80211_scan_abort : scan abort  failed 
[   10.031206] wl_bss_connect_done succeeded with 04:95:e6:59:f0:80 vndr_oui: 00-90-4C 00-E0-4C 
[   14.696031] tty_port_close_start: tty->count = 1 port count = 2.
[   22.729966] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
[   45.444545] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_vopb-supply from device tree
[   45.444587] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_vopb-supply property in node /power-management@ff310000/power-controller failed
[   45.444977] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_vo-supply from device tree
[   45.445001] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_vo-supply property in node /power-management@ff310000/power-controller failed
[   50.820050] rockchip-vop ff900000.vop: [drm:vop_crtc_enable] Update mode to 1360x768p60, type: 11
[   52.111991] rockchip-vop ff900000.vop: [drm:vop_crtc_enable] Update mode to 1360x768p60, type: 11

Bad Case Log

[    3.425390] ALSA device list:
[    3.425401]   #0: XMOS Khadas Tone Control at usb-fe3c0000.usb-1, high speed
[    3.425408]   #1: HDMI
[    3.450928] phy phy-ff770000.syscon:usb2-phy@e450.7: charger = USB_DCP_CHARGER
[    3.452689] Freeing unused kernel memory: 1152K
[    3.454818] rockchip-dwc3 usb0: USB peripheral connected
[    3.478336] mmc_host mmc2: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0)
[    3.622840] dwmmc_rockchip fe310000.dwmmc: Successfully tuned phase to 215
[    3.629076] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
[    3.629130] mmc2: new ultra high speed SDR104 SDIO card at address 0001
[    3.846717] usb 3-1: new low-speed USB device number 2 using ohci-platform
[    4.049168] usb 3-1: New USB device found, idVendor=04f2, idProduct=0833
[    4.049198] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.049212] usb 3-1: Product: USB Keyboard
[    4.049224] usb 3-1: Manufacturer: CHICONY
[    4.059381] input: CHICONY USB Keyboard as /devices/platform/fe3a0000.usb/usb3/3-1/3-1:1.0/0003:04F2:0833.0001/input/input4
[    4.117126] hid-generic 0003:04F2:0833.0001: input,hidraw0: USB HID v1.11 Keyboard [CHICONY USB Keyboard] on usb-fe3a0000.usb-1/input0
[    4.132901] input: CHICONY USB Keyboard as /devices/platform/fe3a0000.usb/usb3/3-1/3-1:1.1/0003:04F2:0833.0002/input/input5
[    4.189642] hid-generic 0003:04F2:0833.0002: input,hiddev0,hidraw1: USB HID v1.11 Device [CHICONY USB Keyboard] on usb-fe3a0000.usb-1/input1
[    4.580192] EXT4-fs (mmcblk1p7): mounted filesystem with ordered data mode. Opts: (null)
[    4.786514] systemd[1]: Failed to insert module 'autofs4': No such file or directory
[    4.790685] cgroup: cgroup2: unknown option "nsdelegate"
[    4.802609] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    4.804391] systemd[1]: Detected architecture arm64.
[    4.813351] systemd[1]: Set hostname to <OKAS>.
[    4.939416] systemd[1]: File /lib/systemd/system/systemd-journald.service:35 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    4.939452] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    5.049915] random: systemd: uninitialized urandom read (16 bytes read, 100 bits of entropy available)
[    5.050029] systemd[1]: Reached target Remote File Systems.
[    5.050929] random: systemd: uninitialized urandom read (16 bytes read, 100 bits of entropy available)
[    5.051140] systemd[1]: Started ntp-systemd-netif.path.
[    5.051398] random: systemd: uninitialized urandom read (16 bytes read, 100 bits of entropy available)
[    5.051441] systemd[1]: Reached target Swap.
[    5.051593] random: systemd: uninitialized urandom read (16 bytes read, 100 bits of entropy available)
[    5.051628] systemd[1]: Reached target System Time Synchronized.
[    5.052071] random: systemd: uninitialized urandom read (16 bytes read, 100 bits of entropy available)
[    5.052262] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    5.052660] random: systemd: uninitialized urandom read (16 bytes read, 100 bits of entropy available)
[    5.053550] systemd[1]: Created slice System Slice.
[    5.053823] random: systemd: uninitialized urandom read (16 bytes read, 100 bits of entropy available)
[    5.054179] systemd[1]: Listening on fsck to fsckd communication Socket.
[    5.054383] random: systemd: uninitialized urandom read (16 bytes read, 100 bits of entropy available)
[    5.054597] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    5.054950] random: systemd: uninitialized urandom read (16 bytes read, 100 bits of entropy available)
[    5.055307] systemd[1]: Listening on Journal Socket (/dev/log).
[    5.055572] random: systemd: uninitialized urandom read (16 bytes read, 100 bits of entropy available)
[    5.055834] systemd[1]: Listening on udev Control Socket.
[    5.056799] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    5.057275] systemd[1]: Listening on Syslog Socket.
[    5.057765] systemd[1]: Listening on Journal Socket.
[    5.061537] systemd[1]: Mounting Huge Pages File System...
[    5.068947] systemd[1]: Starting Restore / save the current clock...
[    5.085040] systemd[1]: Starting Create Static Device Nodes in /dev...
[    5.094571] systemd[1]: Mounting POSIX Message Queue File System...
[    5.111114] systemd[1]: Starting Nameserver information manager...
[    5.116651] systemd[1]: Starting Remount Root and Kernel File Systems...
[    5.121884] systemd[1]: Starting Set the console keyboard layout...
[    5.127415] systemd[1]: Mounting Kernel Debug File System...
[    5.129352] systemd[1]: Created slice User and Session Slice.
[    5.130087] systemd[1]: Reached target Slices.
[    5.130739] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    5.131078] systemd[1]: Reached target Local Encrypted Volumes.
[    5.140109] systemd[1]: Starting Journal Service...
[    5.141136] systemd[1]: Listening on udev Kernel Socket.
[    5.145323] systemd[1]: Starting udev Coldplug all Devices...
[    5.152773] EXT4-fs (mmcblk1p7): re-mounted. Opts: commit=600,errors=remount-ro
[    5.156300] systemd[1]: Starting Load Kernel Modules...
[    5.161198] systemd[1]: Mounted Huge Pages File System.
[    5.163840] systemd[1]: Started Restore / save the current clock.
[    5.170303] systemd[1]: Started Create Static Device Nodes in /dev.
[    5.171609] systemd[1]: Mounted POSIX Message Queue File System.
[    5.176653] systemd[1]: Started Remount Root and Kernel File Systems.
[    5.178002] systemd[1]: Mounted Kernel Debug File System.
[    5.186423] systemd[1]: Started Nameserver information manager.
[    5.189260] systemd[1]: Reached target Network (Pre).
[    5.193852] systemd[1]: Starting Load/Save Random Seed...
[    5.209410] dhd_module_init: in Dongle Host Driver, version 1.579.77.41.10 (r)
[    5.209444] ======== dhd_wlan_init_plat_data ========
[    5.209453] [WLAN_RFKILL]: rockchip_wifi_get_oob_irq: Enter
[    5.209469] dhd_wlan_init_gpio: WL_HOST_WAKE=-1, oob_irq=65, oob_irq_flags=0x414
[    5.209475] dhd_wlan_init_gpio: WL_REG_ON=-1
[    5.209481] dhd_wifi_platform_load: Enter
[    5.209522] Power-up adapter 'DHD generic adapter'
[    5.211644] wifi_platform_set_power = 1
[    5.211683] ======== PULL WL_REG_ON(-1) HIGH! ========
[    5.211693] [WLAN_RFKILL]: rockchip_wifi_power: 1
[    5.211702] [WLAN_RFKILL]: wifi turn on power. -1
[    5.215367] systemd[1]: Starting udev Kernel Device Manager...
[    5.217751] systemd[1]: Started Load/Save Random Seed.
[    5.222207] aufs 4.4-20170911
[    5.224628] systemd[1]: Started Load Kernel Modules.
[    5.227693] systemd[1]: Mounting Kernel Configuration File System...
[    5.231699] systemd[1]: Mounting FUSE Control File System...
[    5.237893] systemd[1]: Starting Apply Kernel Variables...
[    5.257888] systemd[1]: Mounted Kernel Configuration File System.
[    5.258759] systemd[1]: Mounted FUSE Control File System.
[    5.289619] systemd[1]: Started Set the console keyboard layout.
[    5.290210] systemd[1]: Reached target Local File Systems (Pre).
[    5.294537] systemd[1]: Mounting /tmp...
[    5.308205] systemd[1]: Started udev Kernel Device Manager.
[    5.309233] systemd[1]: Started Apply Kernel Variables.
[    5.309752] systemd[1]: Mounted /tmp.
[    5.310198] systemd[1]: Reached target Local File Systems.
[    5.315181] systemd[1]: Starting Set console font and keymap...
[    5.323592] systemd[1]: Started System check.
[    5.330504] systemd[1]: Starting Fenix ZRAM config...
[    5.337218] systemd[1]: Started FAN control.
[    5.349576] systemd[1]: Starting Raise network interfaces...
[    5.358363] systemd[1]: Started Set console font and keymap.
[    5.477559] systemd[1]: Started Journal Service.
[    5.514705] wifi_platform_bus_enumerate device present 1
[    5.514734] ======== Card detection to detect SDIO card! ========
[    5.514743] mmc2:mmc host rescan start!
[    5.521673] systemd-journald[299]: Received request to flush runtime journal from PID 1
[    5.530043] zram: Added device: zram0
[    5.531060] bcmsdh_register: register client driver
[    5.531397] bcmsdh_sdmmc_probe: Enter num=1
[    5.531587] bcmsdh_sdmmc_probe: Enter num=2
[    5.531600] bus num (host idx)=2, slot num (rca)=1
[    5.531610] found adapter info 'DHD generic adapter'
[    5.531798] zram: Added device: zram1
[    5.531940] sdioh_attach: set sd_f2_blocksize 256
[    5.532295] sdioh_attach: sd clock rate = 0
[    5.532624] dhdsdio_probe : no mutex held. set lock
[    5.532741] F1 signature read @0x18000000=0x17294359
[    5.536948] F1 signature OK, socitype:0x1 chip:0x4359 rev:0x9 pkg:0x2
[    5.537362] DHD: dongle ram size is set to 917504(orig 917504) at 0x160000
[    5.537478] dhd_conf_set_chiprev: chip=0x4359, chiprev=9
[    5.537776] CFG80211-ERROR) wl_setup_wiphy : Registering Vendor80211
[    5.538805] zram: Added device: zram2
[    5.544779] CFG80211-ERROR) wl_init_prof : wl_init_prof: No profile
[    5.545131] wl_escan_attach: Enter
[    5.545183] wl_escan_init: Enter
[    5.545636] zram: Added device: zram3
[    5.547900] wl_create_event_handler(): thread:wl_escan_handler:1a9 started
[    5.550727] tsk Enter, tsk = 0xffffffc0ed3701b0
[    5.551558] zram: Added device: zram4
[    5.560836] dhd_attach(): thread:dhd_watchdog_thread:1af started
[    5.561087] dhd_attach(): thread:dhd_dpc:1b2 started
[    5.561591] zram: Added device: zram5
[    5.563520] dhd_attach(): thread:dhd_rxf:1b4 started
[    5.563545] dhd_deferred_work_init: work queue initialized
[    5.563554] dhd_tcpack_suppress_set: TCP ACK Suppress mode 0 -> mode 2
[    5.563603] dhd_bus_set_default_min_res_mask: Unhandled chip id
[    5.566020] sdioh_cis_read: func_cis_ptr[0]=0x10ac
[    5.592055] Dongle Host Driver, version 1.579.77.41.10 (r)
[    5.593123] wl_ext_iapsta_attach_netdev: ifidx=0, bssidx=0
[    5.593166] Register interface [wlan0]  MAC: 28:ed:e0:e6:9a:ca

[    5.593369] dhd_tcpack_suppress_set: TCP ACK Suppress mode 2 -> mode 0
[    5.593395] dhd_wl_ioctl: returning as busstate=0
[    5.593404] dhd_dbg_detach_pkt_monitor, 2204
[    5.593412] dhd_bus_devreset: == Power OFF ==
[    5.599278] bcmsdh_oob_intr_unregister: Enter
[    5.599295] bcmsdh_oob_intr_unregister: irq is not registered
[    5.599307] dhd_txglom_enable: enable 0
[    5.599314] dhd_conf_set_txglom_params: txglom_mode=copy
[    5.599320] dhd_conf_set_txglom_params: txglomsize=0, deferred_tx_len=0
[    5.599325] dhd_conf_set_txglom_params: txinrx_thres=128, dhd_txminmax=-1
[    5.599331] dhd_conf_set_txglom_params: tx_max_offset=0, txctl_tmo_fix=300
[    5.599337] dhd_bus_devreset:  WLAN OFF DONE
[    5.599399] wifi_platform_set_power = 0
[    5.599407] ======== PULL WL_REG_ON(-1) LOW! ========
[    5.599415] [WLAN_RFKILL]: rockchip_wifi_power: 0
[    5.599593] [WLAN_RFKILL]: wifi shut off power.
[    5.599601] dhdsdio_probe : the lock is released.
[    5.599732] dhd_module_init: Exit err=0
[    5.604251] random: nonblocking pool is initialized
[    5.664427] zram1: detected capacity change from 0 to 268435456
[    5.669310] IPVS: Creating netns size=2104 id=1
[    5.725155] Adding 262140k swap on /dev/zram1.  Priority:5 extents:1 across:262140k SSFS
[    5.727580] zram2: detected capacity change from 0 to 268435456
[    5.754763] Adding 262140k swap on /dev/zram2.  Priority:5 extents:1 across:262140k SSFS
[    5.757811] zram3: detected capacity change from 0 to 268435456
[    5.787509] Adding 262140k swap on /dev/zram3.  Priority:5 extents:1 across:262140k SSFS
[    5.790344] zram4: detected capacity change from 0 to 268435456
[    5.841540] Adding 262140k swap on /dev/zram4.  Priority:5 extents:1 across:262140k SSFS
[    5.872207] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Not connected. Disabling cdn
[    5.872233] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Not connected. Disabling cdn
[    5.877137] fusb302 8-0022: PD disabled
[    5.921189] dhd_ioctl_entry: Interface is down 
[    5.954746] [BT_RFKILL]: ENABLE UART_RTS
[    6.058686] [BT_RFKILL]: DISABLE UART_RTS
[    6.058757] [BT_RFKILL]: bt turn on power
[    6.122705] [BT_RFKILL]: bt shut off power
[    6.460450] IPVS: Creating netns size=2104 id=2
[    6.848833] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    6.848942] dhd_open: Enter ffffffc0ed2f3000
[    6.848947] dhd_open : no mutex held. set lock
[    6.848954] 
               Dongle Host Driver, version 1.579.77.41.10 (r)
[    6.848962] wl_ext_iapsta_attach_netdev: ifidx=0, bssidx=0
[    6.848968] wl_android_wifi_on in 1
[    6.848972] wl_android_wifi_on in 2: g_wifi_on=0
[    6.848978] wifi_platform_set_power = 1
[    6.848982] ======== PULL WL_REG_ON(-1) HIGH! ========
[    6.848987] [WLAN_RFKILL]: rockchip_wifi_power: 1
[    6.848994] [WLAN_RFKILL]: wifi turn on power. -1
[    7.150836] sdio_reset_comm():
[    7.166746] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    7.178902] [BT_RFKILL]: ENABLE UART_RTS
[    7.184384] mmc_host mmc2: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[    7.237287] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[    7.240470] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    7.243696] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    7.249584] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[    7.282667] [BT_RFKILL]: DISABLE UART_RTS
[    7.282744] [BT_RFKILL]: bt turn on power
[    7.362726] mmc_host mmc2: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0)
[    7.494814] dwmmc_rockchip fe310000.dwmmc: Successfully tuned phase to 212
[    7.494887] sdioh_start: set sd_f2_blocksize 256
[    7.495315] 
               
               dhd_bus_devreset: == WLAN ON ==
[    7.495431] F1 signature read @0x18000000=0x17294359
[    7.499406] F1 signature OK, socitype:0x1 chip:0x4359 rev:0x9 pkg:0x2
[    7.500046] DHD: dongle ram size is set to 917504(orig 917504) at 0x160000
[    7.500125] dhd_bus_set_default_min_res_mask: Unhandled chip id
[    7.501164] dhd_os_open_image: /lib/firmware/brcm/config.txt (184 bytes) open success
[    7.501865] dhd_conf_read_sdio_params: dhd_slpauto = 0
[    7.501890] dhd_conf_read_others: ccode = CN
[    7.501909] dhd_conf_read_others: regrev = 38
[    7.501940] dhd_conf_read_nv_by_chip: nv_by_chip_count=5
[    7.501956] dhd_conf_read_nv_by_chip: chip=0xa9a6, chiprev=0, name=nvram_ap6212.txt
[    7.501971] dhd_conf_read_nv_by_chip: chip=0xa9a6, chiprev=1, name=nvram_ap6212a.txt
[    7.501986] dhd_conf_read_nv_by_chip: chip=0x4345, chiprev=6, name=nvram_ap6255.txt
[    7.502001] dhd_conf_read_nv_by_chip: chip=0x4354, chiprev=2, name=nvram_ap6356.txt
[    7.502015] dhd_conf_read_nv_by_chip: chip=0x4359, chiprev=9, name=nvram_ap6359sa.txt
[    7.502046] Final fw_path=/lib/firmware/brcm/fw_bcm4359c0_ag.bin
[    7.502058] Final nv_path=/lib/firmware/brcm/nvram_ap6359sa.txt
[    7.502069] Final clm_path=/lib/firmware/brcm/clm.blob
[    7.502080] Final conf_path=/lib/firmware/brcm/config.txt
[    7.502835] dhd_os_open_image: /lib/firmware/brcm/fw_bcm4359c0_ag.bin (576532 bytes) open success
[    7.564083] dhd_os_open_image: /lib/firmware/brcm/nvram_ap6359sa.txt (6114 bytes) open success
[    7.564948] NVRAM version: AP6359SA_NVRAM_V1.1_20170328
[    7.565729] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[    7.747643] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[    7.747688] si_get_pmu_reg_addr: addrRET: 18000670
[    7.747795] bcmsdh_oob_intr_register: HW_OOB irq=65 flags=0x4
[    7.747971] dhd_get_memdump_info: File [/data/misc/wifi/.memdump.info] doesn't exist
[    7.747979] dhd_get_memdump_info: MEMDUMP ENABLED = 2
[    7.750327] Disable tdls_auto_op failed. -1
[    7.750338] dhd_tcpack_suppress_set: TCP ACK Suppress mode 0 -> mode 1
[    7.752563] dhd_apply_default_clm: Ignore clm file /lib/firmware/brcm/clm.blob
[    7.755307] Firmware up: op_mode=0x0405, MAC=28:ed:e0:e6:9a:ca
[    7.773327]   Driver: 1.579.77.41.10 (r)
                 Firmware: wl0: Mar  6 2017 10:16:06 version 9.87.51.7 (r686312) FWID 01-4dcc75d9
                 CLM: 9.7.5 
[    7.773723] dhd_txglom_enable: enable 1
[    7.773730] dhd_conf_set_txglom_params: txglom_mode=copy
[    7.773736] dhd_conf_set_txglom_params: txglomsize=36, deferred_tx_len=0
[    7.773742] dhd_conf_set_txglom_params: txinrx_thres=128, dhd_txminmax=-1
[    7.773748] dhd_conf_set_txglom_params: tx_max_offset=0, txctl_tmo_fix=300
[    7.773763] dhd_conf_get_disable_proptx: fw_proptx=0, disable_proptx=1
[    7.775398] dhd_pno_init: Support Android Location Service
[    7.803743] rtt_do_get_ioctl: failed to send getbuf proxd iovar (CMD ID : 1), status=-23
[    7.803762] dhd_rtt_init : FTM is not supported
[    7.803770] dhd_preinit_ioctls: SensorHub diabled 0
[    7.804250] dhd_preinit_ioctls failed to set ShubHub disable
[    7.805875] failed to set WNM capabilities
[    7.806362] dhd_conf_set_country: set country CN, revision 38
[    7.808903] Country code: CN (CN/38)
[    7.811560] CONFIG-ERROR) dhd_conf_set_intiovar: txbf setting failed -23
[    7.812522] wl_android_wifi_on: Success
[    7.834425] dhd_open : the lock is released.
[    7.834436] dhd_open: Exit ret=0
[    7.859137] cfg80211: World regulatory domain updated:
[    7.859161] cfg80211:  DFS Master region: unset
[    7.859171] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    7.859191] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    7.859208] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    7.859222] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    7.859236] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    7.859251] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[    7.859264] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    7.859277] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    7.859289] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[    8.004188] P2P interface registered
[    8.004213] wl_cfgp2p_add_p2p_disc_if: wdev: ffffffc0ec55d800, wdev->net:           (null)
[    8.015863] WLC_E_IF: NO_IF set, event Ignored
[    8.017495] P2P interface started
[    8.291306] ttyS0 - failed to request DMA, use interrupt mode
[    8.332154] rockchip-vop ff900000.vop: [drm:vop_crtc_enable] Update mode to 1024x768p60, type: 11
[    9.509295] Connecting with 04:95:e6:59:f0:80 ssid "Gemini", len (6) channel=7

[    9.515560] dhd_dbg_start_pkt_monitor, 1724
[    9.597141] wl_iw_event: Link UP with 04:95:e6:59:f0:80
[    9.597248] wl_bss_connect_done succeeded with 04:95:e6:59:f0:80 
[    9.597744] CFG80211-ERROR) wl_cfg80211_scan_abort : scan abort  failed 
[    9.648086] wl_bss_connect_done succeeded with 04:95:e6:59:f0:80 vndr_oui: 00-90-4C 00-E0-4C 
[    9.653516] rockchip-vop ff900000.vop: [drm:vop_crtc_enable] Update mode to 1024x768p60, type: 11
[   14.381097] tty_port_close_start: tty->count = 1 port count = 2.

@amish What version of firmware is used for your machine? Android or Ubuntu?

#KHADAS_BOARD=Edge
#VENDOR=Rockchip
#CHIP=RK3399
#LINUX=4.4
#UBOOT=2017.09
#DISTRIBUTION=Ubuntu
#DISTRIB_RELEASE=bionic
#DISTRIB_TYPE=server
#DISTRIB_ARCH=arm64
#INSTALL_TYPE=EMMC

@numbqq Maybe it can help you