DEV Community

Kyle R. Conway
Kyle R. Conway

Posted on

Fixing ThinkPad X1 Yoga (3rd Gen) Sleep and Trackpad Issues on Fedora Linux

So your Lenovo X1 Yoga 3rd Gen has some problems with Linux (Fedora 28 Workstation in particular, though this might work elsewhere). The problems are as follows:

  1. You can't get it to sleep and unsleep properly when the lid closes and
    When it wakes up from this non-sleep, the trackpad behaves badly and is unusable.

  2. Here's the two-step process I used (thanks to the investigative work of many others) to test and correct the problem.

Test Parameters

While booting press 'e' to edit the kernel boot parameters. Then enter the following after the line that starts "linux16" (source):

acpi.ec_no_wakeup=1 psmouse.synaptics_intertouch=1
Enter fullscreen mode Exit fullscreen mode

Boot and test the modified kernel parameters

  1. Boot up.
  2. Log in.
  3. Close the laptop lid.
  4. Wait until you enter sleep.
  5. Open the lid.
  6. Test the mouse.

If it works―congrats! You should move to the next step to make the changes persist across boots!

Make Permanent

I did this manually (per the below), but the guides (source) allow for a commandline entry. What I did is below:

sudo gedit /etc/sysconfig/grub
Enter fullscreen mode Exit fullscreen mode

Find the line that starts with:

GRUB_CMDLINE_LINUX
Enter fullscreen mode Exit fullscreen mode

Then Insert the following before the final double-quote mark (") on the line:

acpi.ec_no_wakeup=1 psmouse.synaptics_intertouch=1
Enter fullscreen mode Exit fullscreen mode

Run the following command in the terminal to make permanent:

sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
Enter fullscreen mode Exit fullscreen mode

You should be good to go!

I've noticed only one remaining oddity―when I open my laptop from sleep the keyboard won't start working until I hit the "left ALT" key on the keyboard (weird, I know). Small concession. I'm very happy to have this working well!

Top comments (0)