Suspending console(s) (use no_console_suspend to debug)

Hi ,
Please follow the below steps to disable the auto sleep mode on WP85.

  1. The first way (not persistent after a reboot) :
    To enable deep sleep, execute following shell command in console:
    echo mem > /sys/power/autosleep
    In current firmware by default the deep sleep mode is enabled, and keep in mind above command shall be executed upon every power cycling in order for deep sleep mode to be disabled.
    To disable deep sleep, execute following shell command in console:
    echo 0 > /sys/power/autosleep

  2. second way (persistent after a reboot) :
    update-rc.d -f enable_autosleep.sh remove
    (Re)activate it:
    update-rc.d enable_autosleep.sh start 99 S . stop 01 S .

  3. Third way :
    Comment out following line at “/etc/rcS.d/S99enable_autosleep.sh” on target.
    Enable the autosleep feature
    if [ -f /sys/power/autosleep ]
    then
    echo mem > /sys/power/autosleep
    true
    fi

The deep sleep mode is by default enabled from the release 10.1 (legato -af-16.01.2).

regards,
Hassan

1 Like