You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build of edb9ca4 for MilkV Duo S, configuration sg2000_milkv_duos_musl_riscv64_sd_defconfig. Following the steps on f11eb52 , I enabled CONFIG_KERNEL_SUSPEND in the defconfig file. Additionally, I added CONFIG_SUSPEND=y, CONFIG_SUSPEND_FREEZER=y, CONFIG_PM_SLEEP=y to the kernel configuration. Attempting suspend results in an error.
[root@milkv-duo]~# insmod /mnt/system/ko/cv181x_rtc.ko
[root@milkv-duo]~# hwclock -w
[root@milkv-duo]~# cat /sys/power/state
freeze mem
[root@milkv-duo]~# echo +30 >/sys/class/rtc/rtc0/wakealarm
[root@milkv-duo]~# echo mem > /sys/power/state
[ 87.494847] PM: dpm_run_callback(): pm_generic_suspend+0x0/0x12 returns -22
[ 87.494856] PM: Device mmc1:390b:2 failed to suspend async: error -22
[ 87.494882] PM: Some devices failed to suspend, or early wake event detected
sh: write error: Invalid argument
The text was updated successfully, but these errors were encountered:
In drivers/net/wireless/aicsemi/aic8800/aic8800_fdrv/aicwf_sdio.c, there is a check for the MMC_PM_KEEP_POWER flag in PM capabilities, it is not enabled, so suspend fails.
sdio_flags = sdio_get_host_pm_caps(sdiodev->func);
if (!(sdio_flags & MMC_PM_KEEP_POWER))
return -EINVAL;
Build of edb9ca4 for MilkV Duo S, configuration
sg2000_milkv_duos_musl_riscv64_sd_defconfig
. Following the steps on f11eb52 , I enabledCONFIG_KERNEL_SUSPEND
in the defconfig file. Additionally, I addedCONFIG_SUSPEND=y
,CONFIG_SUSPEND_FREEZER=y
,CONFIG_PM_SLEEP=y
to the kernel configuration. Attempting suspend results in an error.The text was updated successfully, but these errors were encountered: