Lenovo ThinkPad X1 Yoga 2nd Generation

Installation
Apply the additional lines below to the make.conf file of Portage.

Then you should update the world to recompile all installed packages with the new flags.

Firmware
Install the package which contains the wifi device driver.

Kernel
Building the following device driver as module may be appropriate as it requires firmware during initialization.

Emerge
Fingerprint reader is recognized by the following library.

Configuration
(Explain any additional configuration or special customization for this hardware platform. Could be anything from BIOS settings to assigning proper media key functionality.)

Finger/Pen Input
For X11 to work with finger/pen input, pull in by inserting   argument into the indicated variable in the file shown below and run the following command for the configuration to emerge.

Trackpoint scrolling
Add the following Xorg configuration file so that the driver is selected for the devices we want.

After a reboot/xorg-server restart, trackpoint scrolling should work.

Hotkeys
Most of the hotkeys are available and can be configured by an X hotkey daemon like.

fwupd
The X1 Yoga 2nd is supported by fwupd: https://fwupd.org/lvfs/device/9ca89fa5-ce05-47ac-bdf3-5b0b6f21d07a

You need to build fwupd with the  useflag (and boot with UEFI).

BIOS
You can update the X1 Yoga BIOS from Linux with an USB drive.


 * Download the .iso
 * Extract the bootable image with


 * Flash the raw image to USB drive, make sure it's the right device...


 * Boot from the USB drive and install the update

Thunderbolt Firmware
You can update the Lenovo Thunderbolt Firmware right from Linux very easily!


 * Download the installation .exe
 * Run this program with Wine to extract its components, relevant is

View the current firmware version:

Upload the update:

Trigger the update:

The screen may flicker and hang, just wait a bit (<20s). Now you should have a newer version!

Thunderbolt Dock Firmware
From Linux, you can update the firmware of the USB-C Dock itself with Wine!


 * Download the windows .exe
 * Run it with Wine and click the Check current FW and Update FW buttons.

{{Cmd|wine thinkpad_usb_c_dock_firmware.exe|output=

ThinkPad USB-C Dock FW Utility v3.7 Package including(BB:0.1.0.23 HX3:1.14.7.183 DK:1.3.40 DP:3.12.005)

=
=========================================================== Update date:Sat 04/22/2017 Update time:02:36 PM

Checking current Dock FW version BillBoard Version: 0.1.0.23 Hx3 Version: 1.14.7.183 CCG4 Version: 1.3.40 DP Hub FW: 3.12.005

Current Dock FW is newer, no need to update. }}