Lenovo ThinkPad X1 Carbon (Gen 6)
- 1 Model description
- 2 Boot issues
- 3 Suspend issues
- 4 Power management/Throttling issues
- 5 TrackPoint and Touchpad issues
- 6 References
- 7 Additional resources
The Lenovo ThinkPad X1 Carbon, 6th generation is an ultrabook introduced in early 2018. It comes in several variants(
20KG*) and features a 14" screen, 8th-gen Intel Core processors and integrated Intel UHD 620 graphics.
To ensure you have this version, install the package and run:
# dmidecode -t system | grep Version Version: ThinkPad X1 Carbon 6th
|Intel graphics||Yes||i915, (intel_agp)|
|Native Ethernet with included dongle||Yes||?|
|Touchpad||Yes*||psmouse, rmi_smbus, i2c_i801|
|TrackPoint||Yes||psmouse, rmi_smbus, i2c_i801|
|microSD card reader||Yes||scsi_mod|
* via workaround
** progress being made on driver
Disable secure boot in the bios in order to boot the Arch Linux Live ISO and install Arch Linux.
Security -> Secure Boot - Set to "Disabled"
LUKS + GRUB
When using LUKS with grub the system appears to hang "Loading initial ramdisk" without adding the i915 module to
Using UUID's for the cryptroot is also problematic and will hang on the encrypt hook. Simply specify the device name of the encrypted partition directly (/dev/nveme0n1px) instead of using a UUID when configuring GRUB.
For example, in /etc/default/grub if your encrypted partition is /dev/nvme0n1p2:
Suspend-to-RAM (S3) not supported by default
The 6th Generation X1 Carbon supports S0i3 (also known as Windows Modern Standby) and does not support the S3 sleep state. A guide exists with instructions for patching ACPI DSDT tables to add S3 support.
A forum thread has further discussion related to this issue.
S0i3 sleep support
You might also need to disable the Realtek memory card reader (which appears to use a constant 2-3 W) either via the BIOS or via
echo "2-3" | sudo tee /sys/bus/usb/drivers/usb/unbind
Config -> Thunderbolt BIOS Assist Mode - Set to "Enabled". When disabled, on Linux, power usage appears to be significantly higher because of a substantial number of CPU wakeups during s2idle.
Power management/Throttling issues
Due to wrong configured power management registers the CPU may consume a lot less power than under windows and the thermal throttling occurs at 80°C (97°C when using Windows, see T480s throttling bug).
There is a post in the official Lenovo forum to inform Lenovo about this issue.
Until Lenovo fixes this issue, you can manually set the limit.
To begin, install.
Create the file
/usr/local/bin/cpu-throttling.sh (making it executable) containing the following:
#!/bin/bash /bin/modprobe msr wrmsr -a 0x1a2 0x3000000 # which sets the offset to 3 C, so the new trip point is 97 C
Then create the associated service file
[Unit] Description=set cpu heating limit to 97°c [Service] ExecStart=/usr/local/bin/cpu-throttling.sh RemainAfterExit=no [Install] WantedBy=timers.target
And also the timer in
[Unit] Description=set cpu heating limit to 97°c every minute [Timer] OnActiveSec=60 OnUnitActiveSec=60 Unit=cpu-throttling.service [Install] WantedBy=timers.target
Then, enable it:
# systemctl enable cpu-throttling.timer
Reboot and check with:
# rdmsr -f 29:24 -d 0x1a2 3
TrackPoint and Touchpad issues
On the 20KG model, the Touchpad(Synaptics) and TrackPoint(Elantech) do not work together, one has to disable the TrackPoint in BIOS to get the Touchpad to work reliably out of the box. The root of the issue seems to be that the default loading of the TrackPoint via ancient PS/2 drivers conflicts with Touchpad loading. Synaptics has introduced a new way of doing things named RMI(4) that fixes some those issues. Further explanation is collected in this thread.
[...] root=/dev/sda1 rw psmouse.synaptics_intertouch=1 [...]
or by editing
options psmouse synaptics_intertouch=1
Reconnecting dead trackpad
echo -n "none" | sudo tee /sys/bus/serio/devices/serio1/drvctl echo -n "reconnect" | sudo tee /sys/bus/serio/devices/serio1/drvctl
- A good night's sleep for the Lenovo X1 Carbon Gen6: Patching ACPI DSDT tables to add S3 support
- Lenovo forums: Cannot enter deep sleep S3
- Thread: No deep sleep: Includes DSDT patching solution and further discussion
- T480s throttling bug, affects X1C6 as well
- Lenovo forums: T480s low cTDP and trip temperature in Linux
- Thread: TrackPoint/Touchpad issues, 20KG model
- StackExchange: Success with enabling RMI4 config flags for Touchpad and TrackPoint
- Kernel patch - Input: elantech - add support for SMBus devices
- Kernel patch - Input: synaptics - add Lenovo 80 series ids to SMBus
- ThinkWiki X1 Carbon 6th Gen page
- Benjamin Tissoires, kernel maintainer of peripherals, has explained how input bugs get fixed in his talk Tools to debug a broken input device (Slides), especially interesting are slides 16 onward.
- Dell XPS 13 9370 quirks: Some pointers on getting Watt usage down to ~2W, Intel video powersaving features might be interesting, see also Intel Graphics Powersaving
- Dell XPS 13 (9360): Shares some hardware with the X1C6
- Intel Blog: Best practice to debug Linux* suspend/hibernate issues, including the pm-graph tool to analyze power usage during suspend