Suspend/Resume from USB install - intel

  • Hi folks,

    I see in the wiki that suspend is disabled for installations on USB.

    Back in the day on Openelec you were able to enable it again by deleting
    .suspend_disabled from /storage/.config/

    But I see that solution won't work here on Libreelec as that file doesn't exist.

    Is there a way to enable this?

    I'm trying to repurpose my Mac Mini but don't want to wipe the hard drive, I'm using refit to boot from USB which has always worked fine, but I can't suspend/resume anymore and I really want this activated.

    I've always done this in the past and have never had any corruptions occur so I'm a little unsure as to why this cannot be done.

    If I hit "suspend" in kodi at the moment, the mac mini will go to sleep, but when I wake it with the keyboard I get a blank screen... No ssh etc.

    Can anyone help?

    Cheers,
    Loggio.

    Edited once, last by Loggio (April 3, 2017 at 9:15 PM).

  • I had a bit of a play with this and found the fix.

    if anyone would like to enable suspend for USB installs simply ssh and type:
    echo 1 > /sys/power/pm_async

    or manually:

    cd /sys/power
    nano pm_async

    remove 0 and replace with 1
    press control x to save.

    Make sure to backup your system incase you run into corruption... I never have in the past suspending from USB, but never the less some people have reported this happening.

    Edited once, last by Loggio (April 6, 2017 at 10:28 PM).