Gentoo Archives: gentoo-user

From: Ralf <ralf+gentoo@×××××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)
Date: Wed, 26 Aug 2015 08:07:09
Message-Id: 55DD739D.8000303@ramses-pyramidenbau.de
In Reply to: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen) by Ralf
1 To answer my own question:
2
3 After a lot of diffing and searching, I was able to find out, that these
4 were the modules that I was missing:
5
6 CONFIG_TCG_TPM=y
7 CONFIG_TCG_TIS=y
8 CONFIG_HID_LENOVO=y
9 CONFIG_THINKPAD_ACPI=y
10 CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y
11 CONFIG_THINKPAD_ACPI_VIDEO=y
12 CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y
13 CONFIG_ACPI_WMI=y
14
15 Without these modules, a X1 Carbon won't wake up from standby
16
17 Cheers
18 Ralf
19
20
21 On 08/25/2015 02:56 PM, Ralf wrote:
22 > Hi folks,
23 >
24 > i just got my brand new Lenovo X1 Carbon and trying to get Gentoo
25 > running on it.
26 >
27 > Beside some really big issues (HiDPI display, 2048x1152 resolution on
28 > a 14" display really sucks on linux, xrandr scaling is horrible, no
29 > scaling is damn too small to read, missing touch support in most
30 > applications, ...) I have a big problem with my kernel:
31 >
32 > It doesn't come back from standby.
33 > After closing the lid, the standby LED starts breathing, opening the
34 > lid doesn't change anything, even pressing the power button does not
35 > wake up the system. The only option is to reset the system by holding
36 > down the power button. Journalctl doesn't say anything except of
37 > "System reboot" after the Standby message:
38 >
39 > ralf@omega:~$ sudo journalctl | grep -i "lid closed" -A
40 > 10
41 > 130
42 > Aug 23 19:12:20 omega systemd-logind[2075]: Lid closed.
43 > Aug 23 19:12:20 omega systemd-logind[2075]: Suspending...
44 > Aug 23 19:12:20 omega systemd[1]: Reached target Sleep.
45 > Aug 23 19:12:20 omega systemd[1]: Starting Suspend...
46 > Aug 23 19:12:20 omega systemd-sleep[2175]: Suspending system...
47 > -- Reboot --
48 > ......
49 >
50 > So I tried installing Arch linux (same kernel version, 4.1.6). Arch
51 > wakes up without any problems. As a try and quick fixI copied the Arch
52 > Kernel+Modules to my Gentoo system and it works fine, which means to
53 > me that I probably have a misconfigured kernel.
54 > But that's not the Gentoo way, I'd like to compile the kernel on my own.
55 >
56 > Does anyone know what I might be missing in my kernel config?
57 > Or does anyone also have a X1 Carbon 3rd generation and would like to
58 > share the .config with me?
59 >
60 >
61 > Anything helps!
62 >
63 > Cheers
64 > Ral

Replies

Subject Author
Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen) Jeremi Piotrowski <jeremi.piotrowski@×××××.com>