Lenovo ThinkPad Yoga 370

HardwarePCI/USB IDWorking?
Touchscreen056a:50b0Yes
TouchpadYes
AccelerometerYes
Ambient light sensorYes
WWAN1199:9079Untested
Wireless8086:24fdYes
Bluetooth8087:0a2bYes
StylusYes
KeyboardYes
GPU8086:5916Yes
Webcam04f2:b5ceYes
Fingerprint reader138a:0097Yes
Audio8086:9d71Yes
MicroSD card reader10ec:522aYes
Smart card readerUnknownUntested

The Yoga 370 is a convertible Laptop made by Lenovo. It was released in 2017.

Installation

This laptop supports both UEFI and BIOS booting mechanisms. To boot in legacy mode, CSM Support must also be enabled in the UEFI BIOS settings.

Hardware

Most of the hardware works out-of-the-box, the exception are Bluetooth, fingerprint reader, accelerometer and ambient light sensor.

Bluetooth

To make Bluetooth work you need to install package blueman and bluez

Fingerprint reader

Install python-validityAUR (or python-validity-gitAUR).

Start/enable python3-validity.service after installing package.

Accelerometer and ambient light sensor

To make this devices work with GNOME you need to install the iio-sensor-proxy package.

Firmware

This laptop supports Secure Boot with custom signed keys. fwupd seems to also work well and without any problems.

Tips and Tricks

Fingerprint reader not working at all

Fingerprint reader may not work, if that happens try to find help on the python-validity github page.

Fingerprint reader stops working

Sometimes fingerprint reader will stop working after sleep or hibernation for no apparent reason. Enable both open-fprintd-suspend.service and open-fprintd-resume.service if that happens.

Alternatively create a systemd service, by creating the unit /etc/systemd/system/fingerprint-restart.service with the following contents:

/etc/systemd/system/fingerprint-restart.service
[Unit]
Description=It resets fingerprint reader sevice in order for it to work. 
After=suspend.target

[Service]
User=root
Type=oneshot
ExecStart=systemctl restart python3-validity
TimeoutSec=0
StandardOutput=syslog

[Install]
WantedBy=suspend.target

Do not forget to enable fingerprint-restart.service.

Check stylus charging status

To check stylus stylus charge, you need to use:

$ upower -i /org/freedesktop/UPower/devices/tablet_wacom_battery_0 |grep percentage
Note: GNOME seems to show it out-of-the-box in settings.

Using in tablet mode

Detecting whether machine is in tablet mode or laptop mode can be done with:

# cat /dev/input/by-path/platform-thinkpad_acpi-event

When you fold/unfold the device appropriate info should be displayed.

See Touchscreen.

See also

This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.