Lenovo ThinkPad X1 Yoga (Gen 3)
The Lenovo ThinkPad X1 Yoga, 3th generation (X1Y3) is a 2-in-1 convertible laptop introduced in 2018. There are several different models (, 20le
, , 20lg
). Its design is closely related to the Lenovo ThinkPad X1 Carbon (Gen 6). It features a 14" screen, 8th-gen Intel Core processors (Kaby Lake), an integrated stylus, and integrated Intel UHD 620 graphics.
Hardware | PCI/USB ID | Working? |
---|---|---|
Touchpad | (I2C) | Yes |
TrackPoint | (I2C) | Yes |
Touchscreen | 056a:5144 (?) | Yes |
Pen | 056a:5146 | Yes |
Keyboard | Yes | |
GPU | 8086:5917 | Yes |
Webcam | 04f2:b61e | Yes |
Ethernet | 8086:15d7 | Yes |
Bluetooth | 8087:0a2b | Yes |
MicroSD card slot | 0bda:0328 | Yes |
Audio | 8086:9d71 | Yes |
Wireless | 8086:24fd | Yes |
Mobile broadband (PCI mode) | 8086:7360 | |
Mobile broadband (USB mode) | Yes | |
Fingerprint Reader | Yes |
To ensure you have this version, install the package and run:
Firmware
Several Linux users reported their systems were bricked after enabling "Thunderbolt BIOS assist" in the UEFI menu. Lenovo has released BIOS version 1.27 which prevents this issue. See this thread on the Lenovo forums for details.
Under BIOS version 1.24 the embedded controller will no longer spin the fan up properly during high system load causing CPU throttling issues. Reverting to version 1.21 will restore normal functions or you can use the package to control it via the OS. See Fan speed control#ThinkPad laptops for details.
Updates
In August of 2018 Lenovo has joined the Linux Vendor Firmware Service (LVFS) project, which enables firmware updates from within the OS. BIOS updates (and possibly other firmware such as the Thunderbolt controller) can be queried for and installed through fwupd.
Manual
Download the latest BIOS image from the Lenovo Thinkpad X1 Yoga 3rd Gen downloads page. Obtain geteltoritoAUR and run on the downloaded ISO file to create a valid El Torito image file, then flash this file on a USB drive via like you would flash Arch installation media. For further information see flashing BIOS from Linux.
The ThinkPad X1 Yoga supports setting a custom splash image at the earliest boot stage (instead of the red "Lenovo" logo), more information can be found in the located in the folder of the update image.
Mobile broadband
Fibocom L850-GL works after turning it into USB mode with https://github.com/xmm7360/xmm7360-usb-modeswitch.
Install the acpi_call kernel module, then run the tool as root, then wait a few seconds for the USB modem to come up.
Power management
To check whether S3 is recognized and usable by Linux, run:
# journalctl -k --grep "acpi: pm: \(supports"
and check for in the list.
Enabling S3 sleep
Since of May 17, 2019, Lenovo released firmware 1.33, which let you enable legacy S3 sleep in UEFI/BIOS. You can find the option in ThinkPad Setup: Config -> Power and disable the option "Optimized Sleep State for Modern Standby".
Optimized Sleep State for Modern Standby (after BIOS 1.35 the wording has changed to "Sleep State"):
- Disabled: "legacy" S3 sleep (after BIOS 1.35 the wording has changed to "Linux")
- Enabled: modern standby (after BIOS 1.35 the wording has changed to "Windows 10")
By setting this option to "Disabled", a warning will appear. The warning describes that a reinstallation of your OS might be mandatory. Accept the warning and both Windows and Linux should work fine.
Reboot and verify whether S3 is working by running:
# dmesg | grep -i "acpi:.*(supports"
You should now see something like this:
[ 0.230796] ACPI: (supports S0 S3 S4 S5)
Fix touchscreen after resume
The X1Y3 has a firmware bug where the touchscreen may not come up again after waking up from S3 suspend/resume.
The following fixes were pulled from: Lenovo Linux Forums
Using acpi_call
Install and enable the acpi_call kernel module.
Add the following systemd service:
Enable .
Disabling Thunderbolt
Some users have reported that disabling Thunderbolt in BIOS -> Security -> IO ports -> Thunderbolt permanently fixes the touchscreen issue. As a consequence, docking stations may have some features disabled.
Fingerprint reader
Install the package.
Accelerometer
If you want the screen to auto-rotate if turned upside down or sideways, install the package. Start the or simply reboot to apply.
Touchscreen ghost touches
Some Thinkpad X1Y3 touchscreens are affected by a hardware issue that manifests itself as "ghost touch" events along the outer edges of the screen. On X11, with the xf86-input-wacom driver installed, it is possible to work around this by configuring the tablet driver to ignore touch events in the outermost row of pixels.
First, use to show the sensors (touch, stylus etc.) supported by the touchscreen:
# xsetwacom list devices Wacom Pen and multitouch sensor Finger touch id: 9 type: TOUCH Wacom Pen and multitouch sensor Pen stylus id: 10 type: STYLUS Wacom Pen and multitouch sensor Pen eraser id: 18 type: ERASER
Note down the ID of the TOUCH sensor, then check the active area of the touchscreen:
Now configure the Area parameter by moving all edges inward by 1:
If you are still getting ghost clicks, they might be from the stylus tool, in that case repeat the operation with the stylus ID:
Missing keys on some layouts
People using the device with a German keyboard layout will quickly notice that the key is missing (to which is also bound). This can also be the case for other layouts.
To work around this without switching back to the device's "native" layout, the Compose key can be used.
Function keys
Key | Visible?1 | Marked?2 | Effect |
---|---|---|---|
Yes | Enables Fn lock | ||
Yes | Yes | ||
Fn+F1 | Yes | Yes | |
Yes | Yes | ||
Yes | Yes | XF86AudioRaiseVolume | |
Yes | Yes | ||
Yes | Yes | ||
Yes | Yes | XF86MonBrightnessUp | |
Yes | Yes | ||
Yes | Yes | ||
Fn+F9 | Yes | Yes | |
Yes | Yes | ||
No | Yes | Unknown | |
Yes | Yes | ||
Yes | No | ||
Yes | No | ScrollLock | |
Yes | No | ||
Yes | No | SysRq | |
Yes | No | ||
Yes | No | ||
No | Yes | Toggle Keyboard Backlight |
- The key is visible to and similar tools.
- The physical key has a symbol on it, which describes its function.