I would like to disable this feature of entering into sleep mode by default without running this "echo test "command.
Is there any quick way to achieve this functionality to disable by default
No this didn’t work. I have moved the autosleep script to the home folder. But still the console gets frozen with the below prints. Any Idea how to disable this ?
[ 23.778806] mdm9607-asoc-snd soc:sound-wm8944: ASoC: Failed to add route SPKOUTP -> direct -> Lineout_1 amp
[ 23.810538] mdm9607-asoc-snd soc:sound-wm8944: ASoC: no source widget found for SPKOUTN
[ 23.817543] mdm9607-asoc-snd soc:sound-wm8944: ASoC: Failed to add route SPKOUTN -> direct -> Lineout_3 amp
[ 23.842831] mdm9607-asoc-snd soc:sound-wm8944: ASoC: no source widget found for Mic Bias
[ 23.854349] mdm9607-asoc-snd soc:sound-wm8944: ASoC: Failed to add route Mic Bias -> direct -> IN1
[ 23.867264] mdm9607-asoc-snd soc:sound-wm8944: ASoC: no source widget found for Headset Mic
[ 23.882216] mdm9607-asoc-snd soc:sound-wm8944: ASoC: Failed to add route Headset Mic -> direct -> Mic Bias
[ 23.899245] mdm9607-asoc-snd soc:sound-wm8944: ASoC: no source widget found for MCLK
[ 23.913204] mdm9607-asoc-snd soc:sound-wm8944: ASoC: Failed to add route MCLK -> direct -> Mic Bias
[ 60.931450] Freezing of tasks aborted after 0.007 seconds
[ 61.011385] Freezing of tasks aborted after 0.007 seconds
[ 61.162126] PM: Some devices failed to suspend, or early wake event detected
[ 61.517105] Freezing of tasks aborted after 0.007 seconds
[ 61.616862] PM: Some devices failed to suspend, or early wake event detected
[ 62.166781] Freezing of tasks aborted after 0.007 seconds
/sys/power/autosleep return “mem” means it will auto sleep.
Sorry that I don’t have WP7608 so cannot check further.
What if try move back enable_autosleep.sh file to /etc/init.d/ but modify it to set “off” instead of “mem”?