Installing Fedora 27 on a ThinkPad X1 Yoga
The issues you may encounter with touch and pen input on the X1 Yoga likely are due to a firmware issue. Lenovo has issued an updated firmware . With this update the touch and pen input is stable. Only issue is that the firmware update needs to run from Windows.
New in this release
New in this Fedora release, with regards to this model ThinkPad is the following;
- Pen input (Wacom) now works in xwayland!
- Touchpad and Trackpointer are now disabled when the ThinkPad is in tablet mode
- Keyboard light OSD works
Success Chart - Out of the box experience
|Installation||Local CD/DVD install||unknown||did not test|
|Network Installation||unknown||did not test|
|USB Installation||yes||did not test|
|Display - Intel HD Graphics||Laptop Screen||yes|
|VGA||unknown||I do not have the VGA OneLink+ dongle|
|Displayport||unknown||did not test|
|Power Management||Software Suspend (hibernate)||unknown|
|Suspend to Memory (ACPI sleep)||yes|
|Intel HD Audio||yes|
|Wireless||WiFi - Intel 8260 AC||yes|
|WiFi - Intel 18260 AC + WiGig||unknown|
|WWAN - Sierra Wireless EM7455||unknown|
|WWAN - Huawei 4G||unknown||did not test, but is detected|
|Extra keys||yes||see ThinkPad Extra keys section below|
|Fingerprint reader||no||does not work|
|Pen Pro (Wacom)||partial||Pen works and is supported, but xwayland support is still buggy|
|Touch screen||yes||issues resolved after touch firmware update|
|Automatic screen rotation||partial||sensor works and is supported. But causes the log to get filled with endless errors|
|Ambient light sensor||partial||sensor seems to work and is supported, although seems to change brightness a lot. But causes the log to get filled with endless errors|
|Ports||Intel Ethernet||yes||via OneLink+ dongle or OneLink+ dock|
|TPM||unknown||did not test, but tpm kernel modules are being loaded|
|Docking||yes||OneLink+ dock works fine|
Tested and Verified on Fedora 27
Information in this section has been tested and verified using Fedora 27.
In the BIOS (F1 to enter during boot), be sure to disable secure boot.
Security > Secure Boot > Secure Boot = Disabled
Also, if your planning to run any kind of virtual machines, make sure you enable the CPU virtualization support.
Security > Virtualization > Intel (R) Virtualization Technology = Enabled
And while your in the BIOS setup you may also want to immediately change the default Function key behaviour. On this ThinkPad by default the function keys will not work as one would expect. When pressing F1 you do not get F1, but you get Mute. To get F1 you need to press Fn-F1 or you first need to enable the FnLk (Fn-ESC). To reverse this behaviour back to how to should be, change the setting in the BIOS.
Config > Keyboard/Mouse > F1-F12 as Primary Function = Enabled
Nothing special, you can follow the generic Fedora install instructions.
No special configuration needed.
However, you may want to force disable the screen rotation and Ambient light sensor by blacklisting the hid_sensor_als driver. The reason for this is a bug effecting Fedora that is not specific to this ThinkPad, and effects any system with a similar sensor where your syslog will get filled with endless backlight error messages. The bug report for this is here: https://bugzilla.redhat.com/show_bug.cgi?id=1322588
This is the default starting with Fedora 25. For the most part works fine, but there are still a couple of issues that are not specific to this ThinkPad.
Mostly to do with software that does screen sharing (VNC and the like), clipboard content lost when closing source application, etc. A list of outstanding issues to do with Wayland can be found here: https://fedoraproject.org/wiki/Wayland_features
Works out of the box, but is no longer the default.
If you have the HiDPI display option, it brings with it a whole lot of issues. Most of them are covered here; ArchLinux HiDPI.
Basically everything is quite large as it tries to scale everything 2x when a HiDPI display is detected. In fact a bit too large to my liking. On the archlinux website there are some hints and tips on how to scale things down a bit again, but it is really a hack and far from ideal. After experimenting with various options, I decided to use the default 2x scaling in Gnome, but change the zoom option in the webbrowser to scale everything a bit smaller since that is what I use most.
Also having a HiDPI primary display causes everything on external non-HiDPI displays to appear huge as they will receive the same scaling factor. This is a limitation of the X11 windowing system. The solution would be to switch to a Wayland desktop which is able to handle multiple displays with various DPI settings.
Touchscreen & Pen
It is essential that you apply the Lenovo Touch firmware update for the X1 Yoga. Without this update the Pen and Touch is flaky and may stop working even by such simple actions as locking the screen.
However, while Fedora 27 finally enables Pen input in xwayload, it still does not work flawless. You may experience focus issues or have the cursor go missing, as described here: https://bugzilla.redhat.com/show_bug.cgi?id=1519961
ThinkPad Extra keys
ThinkPad keys are handled by a mixture of the thinkpad_acpi, acpi button, acpi dock and acpi video drivers.
|FnLk||unknown||yes||Locks Fn key state|
|presentation mode||unknown||yes||Cycles through External Only, mirror and dual display|
|Airplane mode||yes||yes||Activates and deactivates airplane mode.|
|Settings||yes||yes||Opens Gnome settings panel|
|Find||yes||yes||Opens Gnome find|
|?||unknown||unknown||Does not seem to do anything|
|?||yes||yes||Opens Gnome Places|
|Power||Power button||acpi button||yes||yes||Need to press button for ~1 second to trigger a Suspend event.|
|Volume keys on side||Volume||yes||yes|
|Lid||Lid button||acpi button||yes||yes||Triggers suspend event|