Lenovo ThinkPad X390 Yoga
The Lenovo ThinkPad X390 Yoga is a 2-in-1 convertible laptop introduced in 2018. Its design is related to the Lenovo ThinkPad X1 Yoga (Gen 4). It features a 13.3" 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 X390 Yoga
|Intel graphics||Yes||i915, (intel_agp)|
|Native Ethernet with ||?||?|
|Touchpad||Yes||psmouse, rmi_smbus, i2c_i801|
|TrackPoint||Yes||psmouse, rmi_smbus, i2c_i801|
|TouchScreen||Yes||wacom, libinput or xf86-input-wacom, libwacom|
|Stylus||Yes||wacom, x86-input-wacom, libwacom|
|microSD card reader||Yes||scsi_mod|
Thunderbolt BIOS settings issue
I was unable to disable Thunderbolt DMA protection and Virtualization settings when the notebook arrived. A BIOS update (using fwupdmgr) solved the issue.
Automatic (Linux Vendor Firmware Service)
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.
Fix touchscreen after resume
There are several possibilities, I opted for reloading the wacom kernel module:
#!/bin/bash case $1/$2 in pre/*) # echo "Going to $2..." /usr/bin/rmmod wacom ;; post/*) # echo "Waking up from $2..." /usr/bin/modprobe wacom ;; esac
This reloads the wacom kernel module during standby and fixes the issue for me. Other possible options can be found in the related ThinkPad articles, like disabling Thunderbolt or using rtcwake for 1 second. Both options did not work reliably for me.
For the most part, the touch screen and stylus work under Xorg after installingpackage with no issues. However, I found the touchscreen to perform much better using libinput. I created the following file:
Section "InputClass" Identifier "touchscreen config" MatchProduct "Wacom|WACOM|PTK-540WL|ISD-V4" MatchDevicePath "/dev/input/event*" MatchIsTouchscreen "on" Driver "libinput" Option "Tapping" "true" Option "TappingDrag" "true" EndSection
This uses libinput and fixes scrolling with the finger in the desktop environment.
Automatic Screen Rotation
Thepackage provides automatic screen rotation for some DEs. Install .
If you using Xfce, you can use the script from .
With Screen Rotator
Automatic screen rotation might work with ScreenRotator which has no configuration necessary. The touchscreen two finger swipe does not follow rotation at this time. InstallAUR and AUR.
My system started crashing sometimes when rotating, so I switched to the above-mentioned script.
Many of the configuration options can be found in Lenovo ThinkPad X1 Yoga (Gen 3)#Configuration, as the X390 Yoga has a very similar structure to the X1 Yoga 3.
Experimental support is available if you install a testing firmware to the device and fprintd-libfprint2 from the AUR. See  for details. YMMV.
Keyboard Fn Shortcuts