cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
piehei
Paper Tape
Posts: 9
Registered: ‎04-24-2018
Location: FI
Views: 1,465
Message 241 of 306

Re: X1 Carbon Gen 6 cannot enter deep sleep (S3 state aka Suspend-to-RAM) on Linux

How is "legacy BIOS", hinted by vx71175, enabled?

 

What is is?

zaphot
SCSI Port
Posts: 31
Registered: ‎03-11-2018
Location: DE
Views: 1,435
Message 242 of 306

Re: X1 Carbon Gen 6 cannot enter deep sleep (S3 state aka Suspend-to-RAM) on Linux

he is probably just referring to legacy boot instead of uefi boot and/or disabling secure boot

@spleenname: icelake is the next cpu architecture from intel which should be released 2019/20 -> so this is probably unrelated to our kabylake cpus
great_baldini
Blue Screen Again
Posts: 16
Registered: ‎03-21-2018
Location: PS
Views: 1,389
Message 243 of 306

Re: X1 Carbon Gen 6 cannot enter deep sleep (S3 state aka Suspend-to-RAM) on Linux

I think something important has just happened. A newer version of BIOS was published - 1.30 - and it says:

"(New) Support Optimized Sleep State for Linux in ThinkPad Setup - Config - Power."

Not sure what it does exactly, but can't wait to test it through the weekend!

anx1
Punch Card
Posts: 24
Registered: ‎03-30-2018
Location: SE
Views: 1,363
Message 244 of 306

Re: X1 Carbon Gen 6 cannot enter deep sleep (S3 state aka Suspend-to-RAM) on Linux

Great news! I'm gonna try it right away and report back. 

wintermute42
SCSI Port
Posts: 33
Registered: ‎04-07-2018
Location: DE
Views: 1,347
Message 245 of 306

Re: X1 Carbon Gen 6 cannot enter deep sleep (S3 state aka Suspend-to-RAM) on Linux

well that sounds promising :-) I won't have time to test it over the weekend, but would be grateful for anyone who tried it if they report back whether it improves the situation. Is it available via LVFS yet?
great_baldini
Blue Screen Again
Posts: 16
Registered: ‎03-21-2018
Location: PS
Views: 1,329
Message 246 of 306

Re: X1 Carbon Gen 6 cannot enter deep sleep (S3 state aka Suspend-to-RAM) on Linux

I don't see it there yet. So it will either take a few hours, or someone can use the "old way".

Highlighted
anx1
Punch Card
Posts: 24
Registered: ‎03-30-2018
Location: SE
Views: 1,297
Message 247 of 306

Re: X1 Carbon Gen 6 cannot enter deep sleep (S3 state aka Suspend-to-RAM) on Linux

Finally! Thank you Lenovo. Deep sleep is now activated via a toggle in the BIOS settings. 

Update was not available via LVFS (yet). 

 

# cat /sys/power/mem_sleep
s2idle [deep]

Instructions.

  1. Update BIOS to 1.30.
  2. Go to BIOS -> Config -> Power -> Sleep State and select Linux.
  3. Save changes and reboot.

20180907_105428.jpg

 

anx1
Punch Card
Posts: 24
Registered: ‎03-30-2018
Location: SE
Views: 1,282
Message 248 of 306

Re: X1 Carbon Gen 6 cannot enter deep sleep (S3 state aka Suspend-to-RAM) on Linux

I can confirm that LID wakeup works perfectly now. In other words when you open the screen after sleep it wakes up instantly.

I'm also using acpi.ec_no_wakeup=1 in my GRUB_CMDLINE_LINUX parameter. This parameter will be default in kernel 4.18 iirc. 

wintermute42
SCSI Port
Posts: 33
Registered: ‎04-07-2018
Location: DE
Views: 1,266
Message 249 of 306

Re: X1 Carbon Gen 6 cannot enter deep sleep (S3 state aka Suspend-to-RAM) on Linux

wow, this is great :-) thank you Lenovo, glad to see that someone seems to care about the Linux community after all. I think this might just keep a lot of customers from switching to Apple or another brand.

with this enabled, is there still any point in setting acpi.ec_no_wakeup=1?
great_baldini
Blue Screen Again
Posts: 16
Registered: ‎03-21-2018
Location: PS
Views: 1,260
Message 250 of 306

Re: X1 Carbon Gen 6 cannot enter deep sleep (S3 state aka Suspend-to-RAM) on Linux

This is great news! Now we just need to do some tests to see how much battery it uses and whether there's still problem with trackpoint/trackpad after wakeup.

Check out current deals!


Shop current deals

Top Kudoed Authors