Touch screen wakes up android

@Terry @jasonl @goenjoy
I can not use this display with this issue!
How to fix it?

I tested the VIM3L board with firmware VIM3L_Pie_V200918, and it work well.
You had the issue because you changed the source code.

Really?
Do you want to say that board does not wake up if you touch the screen? It is not try!!!

It will be waked up when you click the touch panel. That’s normal.

The board don’t be waked up if you don’t click the touch panel.

I have check it on your official ROM. I’m uploading video on youtube now.

I’ve reproduced this issue on your ROM

Lately Khadas team don’t fix the issue, and dump the blame on the users. Like this or this or this
I can’t use khadas boards in my projects with the latest issues.
I have to look for other, friendlier boards.

Board wakes up after going to deepsleep…

There’s nothing wrong with my VIM3L board. You can download the video and have a look

Maybe you can get the printing log about it.

Your board does not enter to deepsleep. Need to use usb power supply (don’t connect is to PC) and wait more time. When board go to deepsleep, white LED will be off and board will weak up.

Deepsleep is very important case for car usage.

I connectd my board with DC adapter. My board has entered to the deepsleep.

About the 800x480 HDMI resolution, we will buy the monitor to test.
In addition, I already have fixed the native UI issue, and will release it in next rom.

However, A lot of your requirements are customized, we just provide some support, a lot of things need to be done by yourself.
Thank you for your understanding

Which speed on linux_urat port? 115200?

Yes, it is 115200 …

[   20.466745@2]   CLM: 9.7.5 (2019-09-20 20:20:47)
[   20.482805@2] [dhd] dhd_preinit_ioctls wlc_ver failed -23
[   20.487985@2] [dhd] dhd_txglom_enable: enable 1
[   20.492225@2] [dhd] dhd_conf_set_txglom_params : txglom_mode=copy
[   20.498292@2] [dhd] dhd_conf_set_txglom_params : txglomsize=36, deferred_tx_len=0
[   20.505790@2] [dhd] dhd_conf_set_txglom_params : txinrx_thres=128, dhd_txminmax=-1
[   20.513276@3] [dhd] dhd_conf_set_txglom_params : tx_max_offset=0, txctl_tmo_fix=300
[   20.520941@3] [dhd] dhd_conf_get_disable_proptx : fw_proptx=0, disable_proptx=1
[   20.529413@2] [dhd] dhd_pno_init: Support Android Location Service
[   20.560631@2] [dhd] rtt_do_get_ioctl: failed to send getbuf proxd iovar (CMD ID : 1), status=-23
[   20.563904@2] [dhd] dhd_rtt_init : FTM is not supported
[   20.569440@2] [dhd] dhd_rtt_ftm_config : failed to set config
[   20.575998@2] [dhd] failed to set WNM capabilities
[   20.590405@2] [dhd] dhd_preinit_ioctls: Failed to get preserve log # !
[   20.591663@2] [dhd] dhd_conf_map_country_list : CN/38
[   20.596404@2] [dhd] dhd_conf_set_country : set country CN, revision 38
[   20.605134@2] [dhd] dhd_conf_set_country : Country code: CN (CN/38)
[   20.617688@2] [dhd] CONFIG-ERROR) dhd_conf_set_intiovar : txbf setting failed -23
[   20.619607@2] [dhd-wlan0] wl_android_wifi_on : Success
[   20.667383@2] [dhd] dhd_open : the lock is released.
[   20.667412@2] [dhd] dhd_open: Exit wlan0 ret=0
[   20.671275@2] [dhd] [wlan0] tx queue started
[   20.718111@2] [dhd] P2P interface registered
[   20.718180@2] [dhd] wl_cfgp2p_add_p2p_disc_if: wdev: e9848c00, wdev->net:   (null)
[   20.732693@2] [dhd] WLC_E_IF: NO_IF set, event Ignored
[   20.803396@2] type=1400 audit(1293883713.444:58): avc: denied { ioctl } for pid=3428 comm="HwBinder:3428_1" path="/dev/gsensor" dev="tmpfs" ino=14912 ioctlcmd=0x6110 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
[   20.803541@3] [dhd] Random MAC OUI to be used - da:1:19
[   20.826086@2] type=1400 audit(1293883717.524:59): avc: denied { getattr } for pid=3432 comm="wifi@1.0-servic" path="/data/vendor/wifi/wid_fp" dev="mmcblk0p20" ino=389520 scontext=u:r:hal_wifi_default:s0 tcontext=u:object_r:vendor_data_file:s0 tclass=file permissive=1
[   20.836368@0] [dhd] dhd_dbg_attach_pkt_monitor, 1501
[   20.840917@0] [dhd] net_os_enable_packet_filter: val = 0
[   20.843334@1] [dhd] net_os_rxfilter_add_remove: add_remove = 0, num = 2
[   20.862692@0] [dhd] net_os_enable_packet_filter: val = 1
[   20.869321@1] [dhd] net_os_enable_packet_filter: val = 0
[   20.875790@1] [dhd] net_os_rxfilter_add_remove: add_remove = 0, num = 3
[   20.879735@0] [dhd] net_os_enable_packet_filter: val = 1
[   20.881360@0] [dhd] dhd_set_suspend: Remove extra suspend setting
[   20.882911@0] [dhd] dhd_enable_packet_filter: enter, value = 0
[   28.311189@2] zram0: detected capacity change from 0 to 268435456
[   28.325382@0] type=1400 audit(1293883717.524:59): avc: denied { getattr } for pid=3432 comm="wifi@1.0-servic" path="/data/vendor/wifi/wid_fp" dev="mmcblk0p20" ino=389520 scontext=u:r:hal_wifi_default:s0 tcontext=u:object_r:vendor_data_file:s0 tclass=file permissive=1
[   28.337334@3] mkswap: Swapspace size: 262140k, UUID=95f9197d-6a21-4091-bf79-aed171ff2afd
[   28.346404@3] Adding 262140k swap on /dev/block/zram0.  Priority:-1 extents:1 across:262140k SS
[   28.351245@1] selinux: SELinux: Skipping restorecon_recursive(/data/system_ce/0)
[   28.351245@1]
[   28.369374@0] type=1400 audit(1293883725.048:60): avc: denied { getattr } for pid=4177 comm="preinstall.sh" path="/data/local/symbol_thirdpart_apks_installed" dev="mmcblk0p20" ino=259601 scontext=u:r:preinstall:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1
[   28.485359@1] selinux: SELinux: Skipping restorecon_recursive(/data/misc_ce/0)
[   28.485359@1]
[   29.060324@2] type=1400 audit(1293883725.048:60): avc: denied { getattr } for pid=4177 comm="preinstall.sh" path="/data/local/symbol_thirdpart_apks_installed" dev="mmcblk0p20" ino=259601 scontext=u:r:preinstall:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1
[   29.083966@2] type=1400 audit(1293883725.780:61): avc: denied { read } for pid=4188 comm="screencontrol" name="vndbinder" dev="tmpfs" ino=14951 scontext=u:r:screen_control:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
[   29.107760@2] type=1400 audit(1293883725.780:61): avc: denied { read } for pid=4188 comm="screencontrol" name="vndbinder" dev="tmpfs" ino=14951 scontext=u:r:screen_control:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
[   29.126572@0] type=1400 audit(1293883725.780:62): avc: denied { write } for pid=4188 comm="screencontrol" name="vndbinder" dev="tmpfs" ino=14951 scontext=u:r:screen_control:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
[   29.146112@0] type=1400 audit(1293883725.780:62): avc: denied { write } for pid=4188 comm="screencontrol" name="vndbinder" dev="tmpfs" ino=14951 scontext=u:r:screen_control:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
[   29.167200@0] type=1400 audit(1293883725.780:63): avc: denied { open } for pid=4188 comm="screencontrol" path="/dev/vndbinder" dev="tmpfs" ino=14951 scontext=u:r:screen_control:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
[   29.189105@0] type=1400 audit(1293883725.780:63): avc: denied { open } for pid=4188 comm="screencontrol" path="/dev/vndbinder" dev="tmpfs" ino=14951 scontext=u:r:screen_control:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
[   29.211021@1] type=1400 audit(1293883725.780:64): avc: denied { ioctl } for pid=4188 comm="screencontrol" path="/dev/vndbinder" dev="tmpfs" ino=14951 ioctlcmd=0x6209 scontext=u:r:screen_control:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
[   29.492011@0] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 0, bssidx: 0
[   49.486172@1] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 1, bssidx: 0
[   49.804911@2] type=1400 audit(1293883728.660:72): avc: denied { search } for pid=3912 comm="oid.tv.settings" name="leds" dev="sysfs" ino=9791 scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs_leds:s0 tclass=dir permissive=1
[   49.819943@2] type=1400 audit(1293883746.524:73): avc: denied { search } for pid=3424 comm="memtrack@1.0-se" name="3409" dev="proc" ino=2595 scontext=u:r:hal_memtrack_default:s0 tcontext=u:r:hal_allocator_default:s0 tclass=dir permissive=1
[   49.841037@2] type=1400 audit(1293883746.524:73): avc: denied { search } for pid=3424 comm="memtrack@1.0-se" name="3409" dev="proc" ino=2595 scontext=u:r:hal_memtrack_default:s0 tcontext=u:r:hal_allocator_default:s0 tclass=dir permissive=1
[   49.861874@2] type=1400 audit(1293883746.524:74): avc: denied { read } for pid=3424 comm="memtrack@1.0-se" name="status" dev="proc" ino=33496 scontext=u:r:hal_memtrack_default:s0 tcontext=u:r:hal_allocator_default:s0 tclass=file permissive=1
[   49.883212@2] type=1400 audit(1293883746.524:74): avc: denied { read } for pid=3424 comm="memtrack@1.0-se" name="status" dev="proc" ino=33496 scontext=u:r:hal_memtrack_default:s0 tcontext=u:r:hal_allocator_default:s0 tclass=file permissive=1
[   49.903844@3] audit_log_lost: 2 callbacks suppressed
[   49.903847@3] audit: audit_lost=26 audit_rate_limit=5 audit_backlog_limit=64
[   49.903850@3] audit: rate limit exceeded
[   49.920475@2] type=1400 audit(1293883746.524:75): avc: denied { open } for pid=3424 comm="memtrack@1.0-se" path="/proc/3409/status" dev="proc" ino=33496 scontext=u:r:hal_memtrack_default:s0 tcontext=u:r:hal_allocator_default:s0 tclass=file permissive=1
[   49.942704@2] type=1400 audit(1293883746.524:75): avc: denied { open } for pid=3424 comm="memtrack@1.0-se" path="/proc/3409/status" dev="proc" ino=33496 scontext=u:r:hal_memtrack_default:s0 tcontext=u:r:hal_allocator_default:s0 tclass=file permissive=1
[   49.965264@2] type=1400 audit(1293883746.524:76): avc: denied { getattr } for pid=3424 comm="memtrack@1.0-se" path="/proc/3409/status" dev="proc" ino=33496 scontext=u:r:hal_memtrack_default:s0 tcontext=u:r:hal_allocator_default:s0 tclass=file permissive=1
[   49.987474@2] type=1400 audit(1293883746.524:76): avc: denied { getattr } for pid=3424 comm="memtrack@1.0-se" path="/proc/3409/status" dev="proc" ino=33496 scontext=u:r:hal_memtrack_default:s0 tcontext=u:r:hal_allocator_default:s0 tclass=file permissive=1
[   50.009836@2] type=1400 audit(1293883746.604:77): avc: denied { search } for pid=3424 comm="memtrack@1.0-se" name="3419" dev="proc" ino=1405 scontext=u:r:hal_memtrack_default:s0 tcontext=u:r:hal_gnss_default:s0 tclass=dir permissive=1
[   52.553201@3] input input1: key 116 down.
[   52.721205@3] input input1: key 116 up.
[   53.318719@3] backlight is using the pin GPIOAO_6 as pinmux
[   53.318769@3] meson-g12a-pinctrl pinctrl@ff800014: request() failed for pin 6
[   53.325975@3] meson-g12a-pinctrl pinctrl@ff800014: pin-6 (aobus-banks:502) status -22
[   53.333843@3] bl error: register gpio GPIOAO_6[0]: ffffffea, err: 1
[   53.565247@0] bl: backlight power off
[   53.579616@3] early_suspend_state=1
[   53.579652@3] early_suspend: call handlers
[   53.581660@3] early_suspend: video_early_suspend
[   53.586344@3] video_early_suspend ok
[   53.589798@3] early_suspend: aocec_early_suspend
[   53.594443@3] cectx ff80023c.aocec: aocec_early_suspend, suspend sts:1
[   53.600873@3] early_suspend: edt_ft5x06_early_suspend
[   53.605943@3] early_suspend: hdmitx_early_suspend
[   53.620555@3] hdmitx: hw: avmute set to 2
[   53.720632@3] hdmitx: system: HDMITX: Early Suspend
[   53.720743@3] hdmitx: hdmitx_set_hdr10plus_pkt: null vsif
[   53.725505@3] early_suspend: aml_vout_early_suspend
[   53.730130@3] lcd: set mute
[   53.732877@3] lcd: lcd_power_ctrl: 0
[   53.736485@3] lcd: disable driver
[   53.899785@3] lcd: dsi init off
[   53.921418@0] lcd: lcd_suspend finished
[   53.921453@0] early_suspend: aml_vout2_early_suspend
[   53.924561@0] early_suspend: osd_early_suspend
[   53.979042@0] fb: osd_suspended
[   53.979075@0] early_suspend: bt_earlysuspend
[   53.980798@0] early_suspend: usb_early_suspend
[   53.985280@0] DEBUG:usb_early_suspend:: DWC_OTG: going early suspend! is_mount=0
[   53.985280@0]
[   53.994247@0] early_suspend: done
[   54.005780@0] [dhd] dhd_set_suspend: Remove extra suspend setting
[   54.006704@3] [dhd] dhd_enable_packet_filter: enter, value = 0
[   54.037713@0] [dhd] dhd_set_suspend: force extra Suspend setting
[   54.038098@0] [dhd] dhd_enable_packet_filter: enter, value = 1
[   62.829232@0] fb: mem_free_work, free memory: addr:800000
[  124.107642@1] init: Could not find service hosting interface android.hardware.radio@1.0::IRadio/slot1
[  124.113836@1] init: Could not find service hosting interface android.hardware.radio@1.0::IRadio/slot1
[  151.746401@3] aml_tdm_open
[  151.746426@3] Not init audio effects
[  151.748081@2] hdmitx: audio: aout notify format CT_PCM
[  151.761869@2] asoc-aml-card auge_sound: tdm playback enable
[  156.561905@2] asoc-aml-card auge_sound: tdm playback stop
[  157.249129@2] binder_alloc: 4210: binder_alloc_buf size 1056768 failed, no address space
[  157.253999@2] binder_alloc: allocated: 528 (num: 10 largest: 380), free: 1039856 (num: 2 largest: 1039852)
[  157.265299@2] binder: 4452:5225 transaction failed 29201/-28, size 1056768-0 line 3267
[  157.499520@2] aml_dai_tdm_hw_free(), disable mclk for TDM-B[  158.912490@2] type=1400 audit(1293883750.756:99): avc: denied { getattr } for pid=3432 comm="wifi@1.0-servic" path="/data/vendor/wifi/wid_fp" dev="mmcblk0p20" ino=389520 scontext=u:r:hal_wifi_default:s0 tcontext=u:object_r:vendor_data_file:s0 tclass=file permissive=1
[  158.931228@2] type=1400 audit(1293883855.632:100): avc: denied { read } for pid=5424 comm="Binder:5424_4" name="address" dev="sysfs" ino=25978 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[  158.952499@2] type=1400 audit(1293883855.632:100): avc: denied { read } for pid=5424 comm="Binder:5424_4" name="address" dev="sysfs" ino=25978 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[  158.985308@2] type=1400 audit(1293883855.632:101): avc: denied { open } for pid=5424 comm="Binder:5424_4" path="/sys/devices/platform/ffe03000.sdio/mmc_host/sdio/sdio:0001/sdio:0001:2/net/wlan0/address" dev="sysfs" ino=25978 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[  159.009257@2] type=1400 audit(1293883855.632:101): avc: denied { open } for pid=5424 comm="Binder:5424_4" path="/sys/devices/platform/ffe03000.sdio/mmc_host/sdio/sdio:0001/sdio:0001:2/net/wlan0/address" dev="sysfs" ino=25978 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[  159.035075@2] type=1400 audit(1293883855.632:102): avc: denied { getattr } for pid=5424 comm="Binder:5424_4" path="/sys/devices/platform/ffe03000.sdio/mmc_host/sdio/sdio:0001/sdio:0001:2/net/wlan0/address" dev="sysfs" ino=25978 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[  160.553678@2] type=1400 audit(1293883855.632:102): avc: denied { getattr } for pid=5424 comm="Binder:5424_4" path="/sys/devices/platform/ffe03000.sdio/mmc_host/sdio/sdio:0001/sdio:0001:2/net/wlan0/address" dev="sysfs" ino=25978 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[  160.576497@2] type=1400 audit(1293883857.276:103): avc: denied { search } for pid=5688 comm=4173796E635461736B202331 name="rtc" dev="sysfs" ino=9770 scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs_rtc:s0 tclass=dir permissive=1
[  160.598294@2] type=1400 audit(1293883857.276:103): avc: denied { search } for pid=5688 comm=4173796E635461736B202331 name="rtc" dev="sysfs" ino=9770 scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs_rtc:s0 tclass=dir permissive=1
[  215.973145@1] PM: suspend entry 2011-01-01 12:11:52.696567017 UTC
[  215.973646@1] PM: Syncing filesystems ... done.
[  215.989685@0] [dhd] dhd_pm_callback: action=3, suspend=1, suspend_mode=0
[  215.997969@2] receive suspend notify
[  215.998024@2] meson_wdt ffd0f0d0.watchdog: pm_notify: disable watchdog, event = 3
[  216.003406@2] audio_ddr_mngr: ddr_pm_event, pm_event:3
[  216.008575@2] Freezing user space processes ... (elapsed 0.042 seconds) done.
[  216.055189@2] Freezing remaining freezable tasks ... (elapsed 0.182 seconds) done.
[  216.240153@2] cectx ff80023c.aocec: aml_cec_pm_prepare
[  216.247888@2] [dhd] bcmsdh_sdmmc_suspend Enter func->num=2
[  216.247913@2] [dhd] dhdsdio_suspend Enter
[  216.249619@3] [dhd] bcmsdh_sdmmc_suspend Enter func->num=1
[  216.253000@0] it is card_pre_suspend
[  216.258399@3] aml_T9015_audio_suspend!
[  216.258418@3] amvecm: suspend module
[  216.258456@3] bt suspend
[  216.258468@3] bl: aml_bl_suspend: bl_off_policy=0, aml_bl_off_policy_cnt=0
[  216.277407@2] [dhd] bcmsdh_sdmmc_suspend Exit
[  216.282214@2] vpu_suspend
[  216.284323@2] amvdac_drv_suspend: suspend module
[  216.288918@2] vdin_drv_suspend ok.
[  216.292287@2] vdin_drv_suspend ok.
[  216.295696@2] hdmitx: amhdmitx: suspend and reset hdcp
[  216.300788@2] meson_uart ffd24000.serial: pull up rts
[  216.305817@2] loopback_platform_suspend
[  216.309620@2] vad_platform_suspend
[  216.312994@2] aml_spdif_platform_suspend is mute
[  216.317622@2] aml_spdif_platform_suspend is mute
[  216.322188@2] aml_tdm_platform_suspend tdm:(2)
[  216.326606@2] aml_tdm_platform_suspend tdm:(1)
[  216.331025@2] aml_tdm_platform_suspend tdm:(0)
[  216.335541@2] suspend inter = 0
[  216.338576@2] vpu: suspend clk: 666666656Hz(0x100)
[  216.343517@0] PM: suspend of devices complete after 100.628 msecs
[  216.350214@2] di_clear_for_suspend
[  216.352793@2] di_clear_for_suspend end
[  216.356531@2] di: di_suspend
[  216.359438@2] meson-remote ff808040.rc: remote suspend
[  216.364614@2] PM: late suspend of devices complete after 15.197 msecs
[  216.877194@0] edt_ft5x06 3-0038: Unable to fetch data, error: -110
[  216.878546@2] PM: noirq suspend of devices complete after 507.650 msecs
[  216.884330@2] Disabling non-boot CPUs ...
[  216.909812@0] CPU1: shutdown
[  216.929191@0] Retrying again to check for CPU kill
[  216.929212@0] CPU1 killed.
[  216.965768@0] CPU2: shutdown
[  216.985179@0] Retrying again to check for CPU kill
[  216.985201@0] CPU2 killed.
[  217.021707@0] CPU3: shutdown
[  217.041180@0] Retrying again to check for CPU kill
[  217.041201@0] CPU3 killed.
bl30 get wakeup sources!
process command 00000006
bl30 enter suspend!
Little core clk suspend rate 1908000000
store restore gp0 pll
store restore gp1 pll
suspend_counter: 1
Enter ddr suspend
ddr suspend time: 47us
alarm=13S
process command 00000001
cec ver:2018/07/29
CEC cfg:0x002b
use vddee new table!
cec reset
Set cec pinmux:0x11
kern log_addr:0x04
kern phy_addr:0x00 00
cec T: 44
ping_cec_tx:TX_ERROR
Set cec log_addr:0x04, ADDR0:14
use vddee new table!
exit_reason:0x0e
Enter ddr resume
ddr resume time: 143us
store restore gp0 pll
store restore gp1 pll
cfg15 3b00000
cfg15 e3b00000
Li[  217.054634@0] Suspended for 0.395 seconds
[  217.054968@0] Enabling non-boot CPUs ...
ttle core clk resume rate 1908000000
[  217.069734@0] CPU1 is up
[  217.085773@1] CPU2 is up
[  217.102076@2] CPU3 is up
[  217.102358@2] cectx ff80023c.aocec: cec resume noirq!
[  217.104061@0] cectx ff80023c.aocec: wakeup_reason:0xe
[  217.109141@0] cectx ff80023c.aocec: cev val1:0x0,0x0,0x0
[  217.114358@0] cectx ff80023c.aocec: cev val2: 0x0x0
[  217.120297@3] PM: noirq resume of devices complete after 18.141 msecs
[  217.125848@3] meson-remote ff808040.rc: remote resume
[  217.130619@3] meson-remote ff808040.rc: default protocol = 0x1 and id = 0
[  217.137362@3] meson-remote ff808040.rc: reg=0x0, val=0x1f40190
[  217.143166@3] meson-remote ff808040.rc: reg=0x4, val=0x12c00c8
[  217.148973@3] meson-remote ff808040.rc: reg=0x8, val=0x960050
[  217.154693@3] meson-remote ff808040.rc: reg=0xc, val=0x480028
[  217.160413@3] meson-remote ff808040.rc: reg=0x10, val=0x70fa0013
[  217.166393@3] meson-remote ff808040.rc: reg=0x18, val=0x8616800
[  217.172288@3] meson-remote ff808040.rc: reg=0x1c, val=0x9f00
[  217.177919@3] meson-remote ff808040.rc: reg=0x20, val=0x0
[  217.183293@3] meson-remote ff808040.rc: reg=0x24, val=0x0
[  217.188666@3] meson-remote ff808040.rc: reg=0x28, val=0x0
[  217.194117@3] di_resume
[  217.196493@3] di: resume module
[  217.200912@3] PM: early resume of devices complete after 75.236 msecs
[  217.206323@0] vpu: resume clk: 666666656Hz(0x100)
[  217.210720@0] resuem inter = 0
[  217.314106@0] meson6-dwmac ff3f0000.ethernet: Failed to reset the dma
[  217.314900@0] stmmac_hw_setup: DMA engine initialization failed
[  217.323619@0] aml_tdm_platform_resume tdm:(0)
[  217.325167@0] aml_tdm_platform_resume tdm pins enable!
[  217.330253@0] aml_tdm_platform_resume tdm:(1)
[  217.334611@0] aml_tdm_platform_resume tdm:(2)
[  217.338934@0] aml_spdif_platform_resume is unmute
[  217.343605@0] aml_spdif_platform_resume is unmute
[  217.348282@0] vad_platform_resume
[  217.351592@0] loopback_platform_resume
[  217.355316@0] meson_uart ffd24000.serial: ttyS1 use xtal(24M) 24000000 change 2000000 to 2000000
[  217.373169@0] vdin_drv_resume ok.
[  217.373187@0] vdin_drv_resume ok.
[  217.374141@0] amvdac_drv_resume: resume module
[  217.378579@0] vpu_resume
[  217.381146@0] tsensor trim info: 0xfa000094!
[  217.381191@3] [dhd] bcmsdh_sdmmc_resume Enter func->num=2
[  217.381194@3] [dhd] dhdsdio_resume Enter
[  217.381209@3] [dhd] bcmsdh_sdmmc_resume Exit
[  217.381236@3] [dhd] bcmsdh_sdmmc_resume Enter func->num=1
[  217.400460@2] meson-mmc: actual_clock :400000, HHI_nand: 0x80
[  217.400462@2] meson-mmc: [meson_mmc_clk_set_rate_v3] after clock: 0x1000033c
[  217.416985@0] tsensor hireboot: 0xc0ff2a20
[  217.421070@0] tsensor trim info: 0xfa0000cd!
[  217.425283@0] tsensor hireboot: 0xc0ff2a10
[  217.429427@0] lcd: directly lcd resume
[  217.433147@0] lcd: tablet driver init(ver 20200102): mipi
[  217.439330@0] lcd: lcd_pll_wait_lock_g12a: path=1, pll_lock=1, wait_loop=1
[  217.455519@0] lcd: lcd_power_ctrl: 1
[  217.558774@0] lcd:  Waiting STOP STATE LANE
[  217.662526@2] meson-aml-mmc ffe07000.emmc: divider requested rate 200000000 != actual rate 199999997: ret=0
[  217.666633@2] meson-mmc: actual_clock :199999997, HHI_nand: 0x80
[  217.672607@2] meson-mmc: [meson_mmc_clk_set_rate_v3] after clock: 0x10000245
[  217.679634@2] meson-mmc: Data 1 aligned delay is 0
[  217.684396@2] meson-mmc: emmc: clk 199999997 tuning start
[  217.695222@1] meson-mmc: emmc: adj_win: < 0 1 2 4 >
[  217.695245@1] meson-mmc: step:4, delay1:0x4104104, delay2:0x4004104
[  217.711220@2] meson-mmc: emmc: adj_win: < 0 1 2 >
[  217.711243@2] meson-mmc: left:3, right:0, mid:4, size:4
[  217.715493@2] meson-mmc: step:0, delay1:0x0, delay2:0x0
[  217.720690@2] meson-mmc: emmc: sd_emmc_regs->gclock=0x10000245,sd_emmc_regs->gadjust=0x12000
[  217.729094@2] meson-mmc: delay1:0x0, delay2:0x0
[  217.814376@0] lcd: dsi init on
[  217.814434@0] lcd: clear mute
[  217.814738@0] lcd: lcd_resume finished
[  217.818500@0] bt resume
[  217.820928@0] amvecm: resume module
[  217.824425@0] aml_T9015_audio_resume!
[  217.830091@0] usb usb1: root hub lost power or was reset
[  217.833286@0] usb usb2: root hub lost power or was reset
[  218.016413@0] bl: aml_bl_on_function: bl_level=102, state=0xa
[  218.040836@0] it is card_post_resume
[  218.192879@0] usb 1-1: reset high-speed USB device number 2 using xhci-hcd
[  218.465197@1] PM: resume of devices complete after 1259.176 msecs
[  218.466283@1] cectx ff80023c.aocec: aml_cec_pm_complete
[  218.470964@1] Restarting tasks ... done.
[  218.476529@1] [dhd] dhd_pm_callback: action=4, suspend=0, suspend_mode=0
[  218.481621@1] meson_wdt ffd0f0d0.watchdog: pm_notify: enable watchdog, event = 4
[  218.488864@1] audio_ddr_mngr: ddr_pm_event, pm_event:4
[  218.494019@1] PM: suspend exit 2011-01-01 12:11:55.613226977 UTC
[  218.509817@2] early_suspend_state=0
[  218.509842@2] late_resume: call handlers
[  218.511603@2] late_resume: usb_early_resume
[  218.516349@2] DEBUG:usb_early_resume:: DWC_OTG: going early resume
[  218.516349@2]
[  218.523840@2] late_resume: bt_lateresume
[  218.527536@2] late_resume: osd_late_resume
[  218.531596@2] fb: osd_resumed
[  218.534554@2] late_resume: aml_vout2_late_resume
[  218.539220@2] late_resume: aml_vout_late_resume
[  218.543595@2] late_resume: hdmitx_late_resume
[  218.547916@2] hdmitx: hdmitx hpd state: 0
[  218.552160@2] hdmitx: amhdmitx: late resume module 224
[  218.553434@0] VID: VD1 off
[  218.553943@0] hdmitx: store_avmute 1
[  218.553947@0] hdmitx: hw: avmute set to 2
[  218.554020@0] hdmitx: system: set hdcp_pwr 1
[  218.571524@2] hdmitx: hw: swrstzreq
[  218.574956@2] hdmitx: system: HDMITX: Late Resume
[  218.579618@2] late_resume: edt_ft5x06_late_resume
[  218.584300@2] late_resume: aocec_late_resume
[  218.588540@2] cectx ff80023c.aocec: aocec_late_resume, suspend sts:0
[  218.594875@2] late_resume: video_late_resume
[  218.595171@1] hdmitx: system: restore hdcp_pwr 0
[  218.597610@1] vout: vout2: vmode set to null
[  218.597612@1] vout: vout2: don't set the same mode as current
[  218.613676@2] video_late_resume ok
[  218.617052@2] late_resume: done
[  218.668626@1] type=1400 audit(1293883857.276:106): avc: denied { getattr } for pid=5688 comm=4173796E635461736B202331 path="/sys/devices/platform/soc/ff800000.aobus/ff805000.i2c/i2c-4/4-0051/rtc/rtc0/bootalarm" dev="sysfs" ino=18123 scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[  218.681984@2] [dhd] dhd_set_suspend: Remove extra suspend setting
[  218.682323@0] [dhd] dhd_enable_packet_filter: enter, value = 0
[  218.693281@3] sensors 4-000e: set sensor poll time to 66ms
[  218.697677@0] sensors 4-000e: sensor on: starting poll sensor data 64ms
[  218.719674@1] type=1400 audit(1293883915.781:107): avc: denied { getattr } for pid=3432 comm="wifi@1.0-servic" path="/data/vendor/wifi/wid_fp" dev="mmcblk0p20" ino=389520 scontext=u:r:hal_wifi_default:s0 tcontext=u:object_r:vendor_data_file:s0 tclass=file permissive=1
[  218.724533@0] backlight is using the pin GPIOAO_6 as pinmux
[  218.724542@0] meson-g12a-pinctrl pinctrl@ff800014: request() failed for pin 6
[  218.724545@0] meson-g12a-pinctrl pinctrl@ff800014: pin-6 (aobus-banks:502) status -22
[  218.724549@0] bl error: register gpio GPIOAO_6[0]: ffffffea, err: 1
[  218.724550@0] bl: backlight power on
[  218.746924@3] [dhd-wlan0] wl_run_escan : LEGACY_SCAN sync ID: 2, bssidx: 0
[  219.675857@0] type=1400 audit(1293883915.781:107): avc: denied { getattr } for pid=3432 comm="wifi@1.0-servic" path="/data/vendor/wifi/wid_fp" dev="mmcblk0p20" ino=389520 scontext=u:r:hal_wifi_default:s0 tcontext=u:object_r:vendor_data_file:s0 tclass=file permissive=1
[  219.694319@0] type=1400 audit(1293883916.789:108): avc: denied { search } for pid=5688 comm=4173796E635461736B202333 name="rtc" dev="sysfs" ino=9770 scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs_rtc:s0 tclass=dir permissive=1
[  219.714870@0] type=1400 audit(1293883916.789:108): avc: denied { search } for pid=5688 comm=4173796E635461736B202333 name="rtc" dev="sysfs" ino=9770 scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs_rtc:s0 tclass=dir permissive=1
[  219.735475@0] type=1400 audit(1293883916.809:109): avc: denied { read write } for pid=5688 comm=4173796E635461736B202333 name="bootalarm" dev="sysfs" ino=18123 scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[  219.756713@0] type=1400 audit(1293883916.809:109): avc: denied { read write } for pid=5688 comm=4173796E635461736B202333 name="bootalarm" dev="sysfs" ino=18123 scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[  219.777773@0] type=1400 audit(1293883916.809:110): avc: denied { open } for pid=5688 comm=4173796E635461736B202333 path="/sys/devices/platform/soc/ff800000.aobus/ff805000.i2c/i2c-4/4-0051/rtc/rtc0/bootalarm" dev="sysfs" ino=18123 scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[  219.805145@0] type=1400 audit(1293883916.809:110): avc: denied { open } for pid=5688 comm=4173796E635461736B202333 path="/sys/devices/platform/soc/ff800000.aobus/ff805000.i2c/i2c-4/4-0051/rtc/rtc0/bootalarm" dev="sysfs" ino=18123 scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[  219.832367@0] type=1400 audit(1293883916.809:111): avc: denied { getattr } for pid=5688 comm=4173796E635461736B202333 path="/sys/devices/platform/soc/ff800000.aobus/ff805000.i2c/i2c-4/4-0051/rtc/rtc0/bootalarm" dev="sysfs" ino=18123 scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1

I pressed power button ones after startup. Deepsleep is happened after 3-4 minutes…

What’s the hardware version of your VIM3L?
You can revert the commit on the path bootloader/uboot

commit 8e22e6a11a23afbd307b15b3c52a18b7c00b9c9b
Author: Terry <terry@khadas.com>
Date:   Fri May 29 16:49:33 2020 +0800

    Ts050: add touch screen wakeup support
1 Like

hardware version is


I will try to revert this commit.

Yes, it helps to solve my problem. Thank you!