English Community

Linux Operating SystemsOther Linux Discussions
All Forum Topics
Options

33 Posts

03-11-2018

Germany

51 Signins

731 Page Views

  • Posts: 33
  • Registered: ‎03-11-2018
  • Location: Germany
  • Views: 731
  • Message 241 of 313

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

2018-09-06, 7:40 AM
Hi,

@vx71175 could you please detail what “resolved” means? For me “resolved” would imply: s3 is available (which should be kernel independent) or s0i3 is supported by the kernel 4.19? Or do you mean that the “non functional touchpad/trackpoint after resume from dstd-patched-s3” issue is fixed?

best
Reply
Options

2 Posts

09-04-2018

Norway

4 Signins

29 Page Views

  • Posts: 2
  • Registered: ‎09-04-2018
  • Location: Norway
  • Views: 29
  • Message 242 of 313

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

2018-09-06, 11:25 AM

Hi,

 

Resolved in relation to that suspend via closing the lid induces the expected behavour. As opposed to before the kernel update, the machine now cools down and goes in to a "deep sleep mode". Having tested with both Linux Mint 19 and Windows 10:

 

Windows 10 OS runnting state and closing the lid- battery was drained from 100% to 94% after apx 12hrs

Linux Mint OS running state and closing the lid- battery was drained from 100% to 93% after apx 12hrs

 

As I tried to state, this is an out of the box install of Linux Mint, nothing else has been done than do an initial dist-upgrade. And then install 4.19-RC2. Nothing else except enabling legacy BIOS. Trackpoint and Trackpad work fine except that TrackPoint accelleration is still slightly excessive.

 

For any other queries to this, please try to test with the same kernel. I don't have time to follow up on this thread.

Reply
Options

33 Posts

03-11-2018

Germany

51 Signins

731 Page Views

  • Posts: 33
  • Registered: ‎03-11-2018
  • Location: Germany
  • Views: 731
  • Message 243 of 313

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

2018-09-06, 12:32 PM

okay thanks for the explanation.

 

What you are probably seeing is this "Note: Since kernel version 4.18-rc2 acpi.ec_no_wakeup=1 is set by default" [0] . However, the x1c6 has different subtypes with different ids and only for some this setting is applied as default [1].

 

Do you have to press the power button to resume after opening the lid? If yes then the above is the case.

 

Moreover, there seems to be a kernel patch (afaik not accpeted and only proposed somewhere) which will force s3 even if its hidden by the dsdt table for some whitelist models (e.g. x1c6). The discussion about this is at the bottom of [1]. The patch is here [2]. I haven't found more info about that patch but maybe someone else knows more. Edit found more about it... [3]

 

[0]: https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X1_Carbon_(Gen_6)

[1]: https://patchwork.kernel.org/patch/10524161/

[2]: https://marc.info/?l=qubes-users&m=153308905514481&q=p5

[3]: https://marc.info/?l=qubes-users&m=153308905514481

 

Reply
Options

1 Posts

06-09-2018

United States of America

3 Signins

62 Page Views

  • Posts: 1
  • Registered: ‎06-09-2018
  • Location: United States of America
  • Views: 62
  • Message 244 of 313

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

2018-09-06, 19:48 PM
Just did a quick search on 4.19 features and found this: https://www.phoronix.com/scan.php?page=news_item&px=Linux-MFD-4.19-Kernel Note mention of intel-lpss driver. I'm not familiar with it (other than that the name sounds possibly related), but here's the source: https://github.com/torvalds/linux/blob/master/drivers/mfd/intel-lpss.c I note in a comment near the bottom it says "...UART cannot be put into reset since S3/S0ix fail when..." which, seeing s0ix (e.g. s0i3) there, makes me think this module is intended to handle the new sleep states, and since the kernel announcement says "The necessary IDs for Intel's Icelake processors have been added to the intel-lpss driver" maybe 4.19 simply enables recognition and handling of this sleep mode on the X1? (Is the X1 CPU an Icelake? Sorry, again unfamiliar...) I haven't tried it (4.19) as I am traveling presently and am favoring stability...
Reply
Options

11 Posts

04-24-2018

Finland

24 Signins

161 Page Views

  • Posts: 11
  • Registered: ‎04-24-2018
  • Location: Finland
  • Views: 161
  • Message 245 of 313

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

2018-09-07, 7:26 AM

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

 

What is is?

Reply
Options

33 Posts

03-11-2018

Germany

51 Signins

731 Page Views

  • Posts: 33
  • Registered: ‎03-11-2018
  • Location: Germany
  • Views: 731
  • Message 246 of 313

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

2018-09-07, 7:38 AM
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
Reply
Options

20 Posts

03-21-2018

Palestine, State of

46 Signins

491 Page Views

  • Posts: 20
  • Registered: ‎03-21-2018
  • Location: Palestine, State of
  • Views: 491
  • Message 247 of 313

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

2018-09-07, 8:36 AM

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!

Reply
Options

24 Posts

03-31-2018

Sweden

59 Signins

1094 Page Views

  • Posts: 24
  • Registered: ‎03-31-2018
  • Location: Sweden
  • Views: 1094
  • Message 248 of 313

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

2018-09-07, 8:44 AM

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

Reply
Options

35 Posts

04-08-2018

Germany

99 Signins

771 Page Views

  • Posts: 35
  • Registered: ‎04-08-2018
  • Location: Germany
  • Views: 771
  • Message 249 of 313

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

2018-09-07, 8:49 AM
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?
Reply
Options

20 Posts

03-21-2018

Palestine, State of

46 Signins

491 Page Views

  • Posts: 20
  • Registered: ‎03-21-2018
  • Location: Palestine, State of
  • Views: 491
  • Message 250 of 313

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

2018-09-07, 8:52 AM

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

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete

X

No, I don’t want to share ideas Yes, I agree to these terms