Comment 129 for bug 1705099

Revision history for this message
In , samshepard90 (samshepard90-linux-kernel-bugs) wrote :

(In reply to Mario Limonciello from comment #118)
> @Sam,
>
> The behavior to pick S2I over S3 by default didn't land in 4.13, it's going
> to be in 4.14 however (unless reverted). What you'll want to do is change
> it on your system like this:
>
> echo "s2idle" | sudo tee /sys/power/mem_sleep
>
> That will default to s2idle for your running session. If that works well
> for you you can add to your kernel command line mem_sleep_default=s2idle.
> You can do this by modifying GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub
> and running update-grub.

Thanks Mario! The laptop is now waking automatically on opening. I have successfully added the above command to my kernel command line.

I was just struggling with understanding the instructions here (https://liveandletlearn.net/post/dell-xps13-9365-dual-boot/) regarding installing sysfsutils and how to add the mentioned file to my system.

I assume that these additional steps are no longer necessary- is there anything else I need to do other than running 4.13.2 and having added that command line to my kernel command line? (for example the last two commands- # Enable key press to wakeup (devices/platform/i8042/serio0/power/wakeup = enabled) and # Disable heartbeat wakeups during suspend (module/acpi/parameters/ec_no_wakeup = Y)?