Lenovo ThinkPad X390 Yoga

HardwarePCI/USB IDWorking?
TouchpadYes
TouchScreenYes
TrackPointYes
KeyboardYes
VideoYes
WebcamYes
EthernetUntested
BluetoothYes
microSD-Card slotYes
AudioYes
WirelessYes
Mobile broadbandYes
Fingerprint ReaderYes

Firmware

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.

Touchscreen

One option for fixing the touchscreen after resume is reloading the wacom kernel module:

/usr/lib/systemd/system-sleep/10-wacom.sh
#!/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.

The touchscreen appears to perform much better using libinput. Created the following file:

/etc/X11/xorg.conf.d/40-libinput.conf
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.

Fingerprint reader

See fprint.

Function keys

Key Visible?1 Marked?2 Effect
FnXF86WakeUp
Fn+F1XF86AudioMute
Fn+F2XF86AudioLowerVolume
Fn+F3XF86AudioRaiseVolume
Fn+F4XF86AudioMicMute
Fn+F5XF86MonBrightnessDown
Fn+F6XF86MonBrightnessUp
Fn+F7XF86Display
Fn+F8XF86WLAN
Fn+F9XF86Tools
Fn+F10XF86Bluetooth
Fn+F11 ??
Fn+F12XF86Favorites
  1. The key is visible to xev and similar tools.
  2. The physical key has a symbol on it, which describes its function.
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.