Linux on X1 Carbon Gen 2.

X1 Carbon Gen2 is the ideal portable machine.

I have dealt with laptops from asus, zareason, system76 and apple. Nothing even comes close to this thing. It is light, but not brittle, nothing feels like it is going to fall apart in four months.

Open the lid, press the power button and feel the smile spread across your face as you hear silence. If you are looking for screen real estate on the go, then this is the machine for you.

Also, the keyboard does not entirely suck.

Ubuntu 13.10

I am not a fan of ubuntu, but it makes a great canary. If a machine will work with ubuntu, then with a little bit of elbow grease you can probably get any other distro onto it. However, if the box fails with ubuntu, then there is no way you are getting another distro to work. This is the folk wisdom and my personal experience.

Ubuntu installs perfectly and painlessly with no problems. All the hardware just works.

  • wifi
  • ethernet
  • video
  • tracpad
  • audio

I was pleasantly surprised. I closed the lid, ate dinner and then came back.

When I opened the lid, nothing. It was like my beautiful new laptop turned into a drunk fratboy that didn’t want to wake up for class. Thus began my adventure down the power management rabbit hole.

The suspend duct tape.

tldr: Dont try. Change it to suspend to disk.

You are going to need more knowledge and patience than I have in order to get the x1 carbon gen 2 to suspend to ram. I changed kernels, disabled hardware, tweaked kernel params and trawled through lenovo, ubuntu and various armpits of the net to fix this thing.

The best info I found was from the kernel docs:

Going through these tests was how I found out that s2disk worked.

Great! but ubuntu disables hibernate because things.. mumble… scalable…. mumble mumble…. because…

To get hibernation on lid close means ignoring all the advice out there regarding policy kit. It does NOT work.

Edit /etc/systemd/logind.conf and set HandleLidSwitch=hibernate.


While dumping to disk is NOT ideal, it is better than the alternative of power cycling evertime you close the lid.

I hope that this will be fixed soon-ish.

The suspend issue is a minor annoyance. The number of pixels that this box delivers is worth every penny.

Comments (7)

  1. Anonymous wrote::

    I’m also running linux on the X1 Carbon, similar experience to yours, loving it. I wrote up my experience with a few tweaks (trackpad, touchscreen gestures) here:

    Wednesday, February 12, 2014 at 2:37 pm #
  2. Nolan wrote::

    While waiting for something to finish, I got the idea to wander over here since it’s been more than a minute. Maybe years. Anyhow…

    I had to bump the kernel up to at least 3.12.5 to get my Macbook to suspend to ram and resume without leaving the screen dark. I also have the CONFIG_FB_INTEL turned off, though that may just be to get the Xorg driver to work.

    I was also able to get away with no tweaks under /etc/pm/config on the Macbook, though my TC1100 needed some to resume.

    Saturday, February 15, 2014 at 4:15 am #
  3. wrote::

    I too experienced the suspend issue with my Gen2 X1 Carbon. I’m suspending to disk until there is proper kernel support. Also, the latest 3.14-rc4 kernel causes the screen to go blank entirely just after the kernel boots. Other than that (and a few nit picks here and there) it has worked flawlessly, and the hibernate is actually really fast (even faster than the Gen1 X1). Now all we have to do is wait for the kernel to catch up with a few features and some apps to catch up with the QHD screen.

    Wednesday, February 26, 2014 at 9:39 pm #
  4. Anonymous wrote::

    Disable USB3 ports in the bios and it mostly comes back. The adaptive touchscreen function keys don’t though. For ours (yeah we have a bunch thinking they were gonna be as compatible as the original X1s were) I’m telling people to hibernate for now :(

    Thursday, February 27, 2014 at 12:06 am #
  5. Scott wrote::

    Do you know anyone working on the s2ram issue? I was trying to sort it out yesterday and thought that it was hung on DRM something.

    Saturday, March 8, 2014 at 3:12 am #
  6. Rich wrote::

    So, you just installed s2disk, made the change to logind.conf and it hibernates when you close the lid? I have same laptop, s2disk is working when I run it manually, but it doesn’t actually happen for me when I close the lid.

    Monday, March 31, 2014 at 9:06 pm #
  7. Justin Kirby wrote::

    @Rich Yes that was the magic that got it to work.

    It does like to randomly hang on resume, which I am becoming more and more annoyed with. :(

    Thursday, June 19, 2014 at 2:36 pm #