Lenovo ThinkPad X1 Yoga (Gen 5)

From ArchWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Tango-edit-clear.pngThis article or section does not follow the Laptop page guidelines.Tango-edit-clear.png

Reason: Needs IDs in hardware table and an improved function keys table (Discuss in Talk:Lenovo ThinkPad X1 Yoga (Gen 5))
Hardware PCI/USB ID Working?
Touchpad Yes
TrackPoint Yes
Keyboard Yes
Video Yes
Webcam Yes
Ethernet Yes
Bluetooth Yes
Wireless Yes
Audio Yes
Mobile broadband Untested
Fingerprint reader Untested
NFC Untested

Firmware

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.

Enabling S3

The BIOS has two "Sleep State" options, called "Windows" and "Linux", which you can find in at Config -> Power -> Sleep State. The Linux option is the traditional S3 power state where all hardware components are turned off except for the RAM, and it should work normally. The Windows option is a newer software-based "modern standby" which works on Linux (despite the name). One possible benefit to the Windows sleep state is faster wake up time, and one possible drawback is increased power usage.

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)

Audio

This laptop requires firmware in order for the soundcard to work. See Advanced Linux Sound Architecture#ALSA firmware.

Note: This method lead to working speakers (at least two out of the four), but without a working microphone.

The kernel parameter snd_hda_intel.dmic_detect=0 is required in order to have working speakers.

Function keys

Key combination effect
Fn+B Break
Fn+K ScrollLock
Fn+P Pause
Fn+S SysRq
Fn+4 Sleep
Fn+Space toggle keyboard backlight
Fn+Left Arrow Home
Fn+Right Arrow End
Fn+Esc toggle FnLock
Fn+L "low power mode"
Fn+M "normal power mode"
Fn+H "high power mode"