>With :
>$ sudo sh -c 'echo mem > /sys/power/state'
>$ sudo sh -c 'echo deep > /sys/power/mem_sleep'
>the problem disappears.

This is changing how the system goes to sleep in a significant way.
With this, the BIOS turns off all devices except RAM when going to
sleep.  With the way that it works by default the kernel is controlling
all devices and putting them into their deepest sleep state.

This system "mem" will work on this system, but that can't be said for all 
systems.
You can change the default policy to this if you would like too using a 
modification to your kernel command line.  It is better in my opinion to figure 
out the root cause of your problem though.  It will lead to better runtime 
power consumption if we figure it out.

A few questions:
@Grentz:
1) Do you have anything plugged into notebook during sleep cycle with s2idle?  
Mouse, keyboard, USB key - anything like that.
2) Can you try to run powertop with --auto-tune and see if it improves things?
3) After running autotune wait a few moments and then can you please cat 
/sys/kernel/debug/pmc_core/pch_ip_power_gating_status and share results?

@Kai Heng:
4) Policy wise isn't TLP or something similar going to be needed to enact RTD3 
for the rest of the devices that kernel policy isn't properly configured?  I 
know the preload image has stuff like that.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1810619

Title:
  Sleep mode doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1810619/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to