English Community

Linux Operating SystemsOther Linux Discussions
All Forum Topics
Options

24 Posts

03-31-2018

Sweden

59 Signins

1094 Page Views

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

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

2018-09-07, 10:34 AM

 wrote:

Finally! Thanks for this update! It is working great! Initially, my touchpad didn't work after the first s3 resume, but removing acpi.ec_no_wakeup=1 did seem to fix it.

 

@moxmax. You just have to update the bios: either using windows 10 with the windows bios update tool (from here: https://pcsupport.lenovo.com/de/en/products/laptops-and-netbooks/thinkpad-x-series-laptops/thinkpad-x1-carbon-6th-gen-type-20kh-20kg/downloads) or fwupd under linux (dont know if its already available there).

 

Then go to the setup (pressing ESC during booting or?) -> then config-> power -> Sleep State -> Linux (as shown by anx1 on the previous page).

 

Thats all

 

So you are not using acpi_ec_no_wakeup=1 and have no scripts for reinitializing the trackpad? Like this.

#!/bin/sh
if [ "${1}" == "post" ]; then
   echo -n none > /sys/devices/platform/i8042/serio1/drvctl
   sleep 1
   echo -n reconnect > /sys/devices/platform/i8042/serio1/drvctl
fi

My touchpad buttons and trackpoint won't work if I don't reconnect the device after resume from sleep. 

Reply
Options

33 Posts

03-11-2018

Germany

51 Signins

731 Page Views

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

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

2018-09-07, 11:28 AM

oky **bleep**... after a couple of resume/suspends cycles my touchpad is also not working anymore. I have the type 20KG with nfc and tested with kernel 4.18.6 and 4.19 rc2 :/

Reply
Options

24 Posts

03-31-2018

Sweden

59 Signins

1094 Page Views

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

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

2018-09-07, 11:33 AM

Well. I am happy with the script above. Trackpad is working after resume even if I use acpi_ec_no_wakeup or not. 

Reply
Options

16 Posts

08-07-2014

United States of America

28 Signins

221 Page Views

  • Posts: 16
  • Registered: ‎08-07-2014
  • Location: United States of America
  • Views: 221
  • Message 264 of 313

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

2018-09-07, 11:47 AM

Hello, I can confirm this will convince me to buy another Lenovo when it is time

Reply
Options

9 Posts

08-18-2018

Russian Federation

15 Signins

110 Page Views

  • Posts: 9
  • Registered: ‎08-18-2018
  • Location: Russian Federation
  • Views: 110
  • Message 265 of 313

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

2018-09-07, 11:54 AM

 wrote:

Hello, I can confirm this will convince me to buy another Lenovo when it is time


You do realize they made a switch that have to be toggled manually in BIOS; and that a person has to know there is one? It is not an automatic solution as it ought to be.

 

It's nothing more than an overly late support after lots of complains — and not even a proper one, the proper would imply contribution from Lenovo to kernel. This perhaps may make one to stop considering return of laptop back to Lenovo — but definitely not buying a new one.

Reply
Options

8 Posts

05-10-2018

Canada

19 Signins

214 Page Views

  • Posts: 8
  • Registered: ‎05-10-2018
  • Location: Canada
  • Views: 214
  • Message 266 of 313

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

2018-09-07, 12:56 PM
The glass just filled up a bit more, but you keep looking at the empty part. Did Lenovo promise Linux support in the X1C6? Are they under some obligation to do any of this? I may have missed it.

If you work at Lenovo and you read this, I say Thank You! Kudos for these steps! No matter how small. I am in the group that says "Lenovo joined LVFS; there's now a Linux option in the BIOS for better sleep support" and I will definitely stay with Lenovo products because of this.

I'd hate to see Lenovo give up just becase of the impossible-to-please attitude of some people in the community.
Reply
Options

24 Posts

03-31-2018

Sweden

59 Signins

1094 Page Views

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

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

2018-09-07, 16:32 PM

Unfortunately there is still an issue after activating deep sleep. Sometimes the trackpad/trackpoint completely stops working and it is not possible to reinitize it without powercycling the laptop, reboot is not enough. The discussion about this should probably continue in the present 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 268 of 313

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

2018-09-07, 17:30 PM

hi, i tried your script and it improves the situation. However, as you also noticed, the touchpad is sometimes not working after a resume :/

 

Which libinput version are you using? I am currently using ubuntu 18.04 with libinput 1.10.4. According to the arch wiki, there are some x1c6 fixes in 1.11.2. Maybe i have time to test this version in the next days.

Reply
Options

4 Posts

04-19-2018

Australia

51 Signins

514 Page Views

  • Posts: 4
  • Registered: ‎04-19-2018
  • Location: Australia
  • Views: 514
  • Message 269 of 313

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

2018-09-07, 22:16 PM

I'm running 1.10.7 of libinput, with kernel 4.18.5, and gentoo, and not having any issues with the trackpad after suspend.

 

I'm also not required to use any of the scripts people have mentioned.

 

Again, thanks to Lenovo for the "fix", its made a huge difference to me.

Reply
Options

16 Posts

08-07-2014

United States of America

28 Signins

221 Page Views

  • Posts: 16
  • Registered: ‎08-07-2014
  • Location: United States of America
  • Views: 221
  • Message 270 of 313

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

2018-09-08, 3:54 AM

I can confirm that my Trackpad works as well, so it seems like maybe it is only affecting particular models the ones with NFC

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