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

Experimental support is available if you install a testing firmware to the device and fprintd-libfprint2AUR from the AUR. See for details.

Function keys

Key Visible?1 Marked?2 Effect
FnXF86WakeUp
XF86AudioMute
XF86AudioLowerVolume
XF86AudioRaiseVolume
XF86AudioMicMute
XF86MonBrightnessDown
Fn+F6XF86MonBrightnessUp
Fn+F7XF86Display
XF86WLAN
XF86Tools
XF86Bluetooth
??
XF86Favorites
  1. The key is visible to and similar tools.
  2. The physical key has a symbol on it, which describes its function.
gollark: They don't make it into the binaries you ship to people, I think terra means.
gollark: What do you consider high-level? Anything above OSes/embedded systems?
gollark: It is, and you should explicitly opt in.
gollark: I don't like Go's method of forcing one formatting style on people to be honest, but builtin warnings for doing silly things is sensible.
gollark: A good language makes it easier to not do incredibly stupid stuff.
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.