Lenovo ThinkPad T480s
This article covers the installation and configuration of Arch Linux on a Lenovo T480s laptop. For the most part things work out-of-the-box, but some features may need to be configured manually.
Hardware | PCI/USB ID | Working? |
---|---|---|
GPU (Intel) | 8086:5917 | Yes |
GPU (NVIDIA) | Untested | |
Wireless | 8086:24fd | Yes |
Audio | 8086:9d71 | Yes |
TrackPoint | Yes | |
Touchpad | Yes | |
Webcam | 5986:2113 | Yes |
Fingerprint reader | 06cb:009a | Yes |
Mobile broadband | Yes | |
Bluetooth | 8087:0a2b | Yes |
Smartcard reader | 058f:9540 | Yes |
SD card reader | 0bda:0316 | Yes |
PrivacyGuard | Yes |
For a general overview of laptop-related articles and recommendations, see Laptop.
Powersaving
Without special configuration and with default firmware settings, power usage is a bit high (around 7,5W in idle). There are a few knobs to improve battery life:
- Set "Thunderbolt BIOS Assist Mode" to "Enabled" in the EFI firmware interface. This seems to reduce number of idle wakeups.
- Disable unused peripherals under "Security" -> "I/O port access" in the firmware. This especially applies to the SD/MMC-cardreader, which seems to drain some power even when idle
As of Kernel 4.15, DisplayPort PSR (Panel self refresh) is disabled by default and broken when forcibly enabled (system hangs after a few seconds, display lag). 4.17-rc1 seems to improve a lot in this regard, but PSR still sometimes causes the screen to freeze for a few seconds.
SD card reader
According to various reports the SD card reader drains several watts of power. If you do not want to disable it in bios because you use it semi-regularly, you can turn it off by unbinding its driver using this command:
# echo 2-3 > /sys/bus/usb/drivers/usb/unbind
You can then turn the reader back on by running:
# echo 2-3 > /sys/bus/usb/drivers/usb/bind
Fingerprint reader
The fingerprint sensor is not supported by libfprint.
There is a project python-validity based on open-fprintd, see .
Install or and enroll your fingerprint:
$ fprintd-enroll
Refer to Fprint#Configuration for configuration.
You may experience an issue where the fingerprint reader does not work after the laptop wakes up from suspension. To fix this, try enabling the and systemd services . If the issue is still present, create a unit file as follows, then enable it .
/etc/systemd/system/fingerprint-restart.service
[Unit] Description=Restart services to fix fingerprint integration After=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target [Service] Type=oneshot ExecStart=systemctl restart open-fprintd.service python3-validity.service [Install] WantedBy=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target
If this solves the issue, you may disable and again.
PrivacyGuard
The PrivacyGuard feature is referred to as LCD Shadow and was introduced in Linux 5.4.
To enable or turn on the LCD shadow:
# echo 1 > /proc/acpi/ibm/lcdshadow
Conversely, use to disable it:
# echo 0 > /proc/acpi/ibm/lcdshadow
Function keys
Key | Visible?1 | Marked?2 | Effect |
---|---|---|---|
No | Yes | Toggles Fn lock | |
Yes | Yes | ||
Yes | Yes | ||
Yes | Yes | ||
F4 | Yes | Yes | |
Yes | Yes | ||
Yes | Yes | XF86MonBrightnessUp | |
Yes | Yes | ||
Yes | Yes | ||
F9 | Yes | Yes | |
Yes | Yes | ||
3 | Yes | ||
F12 | Yes | Yes | |
No | Yes | Controls the keyboard backlight | |
Fn+Left | Yes | No | |
Yes | No | ||
Yes | No | ||
Yes | No | ||
Fn+p | Yes | No | |
Yes | No | Alt_L | |
Yes | No | ||
Yes | No |
- The key is visible to and similar tools.
- The physical key has a symbol on it, which describes its function.
- This key has a keyboard symbol on it. According to Lenovo, it should open the keyboard settings page , which it does on Windows 10. It does generate an event on Wayland, but not on X.
Troubleshooting
Thermal throttling
There are reported throttling issues for Lenovo T480/T480s/X1C6 notebooks.
This script forces the CPU package power limit (PL1/2) to 44 W (29 W on battery) and the temperature trip point to 95 'C (85 'C on battery) by overriding default values in MSR and MCHBAR every 5 seconds (30 on battery) to block the Embedded Controller from resetting these values to default.
Install the package and enable the .
It is recommended to also undervolt the CPU (Undervolting CPU#intel-undervolt). Most Kaby Lake R chips are able to easily undervolt to -100mV or more, which significantly helps to keep the device from thermal throttling. Throttled also provides undervolting capabilities and will overwrite the undervolt settings applied by intel-undervolt when it updates settings if both services are enabled.
Fix freezes/hangs on QT applications (with Intel driver)
Fix frequent WiFi disconnects
The iwlwifi driver provided by Linux Kernel 5.1 and later has a bug that can cause disconnects of the WiFi. If this occurs, check the system log using and search for this message: "No beacon heard and the time event is over already." If you see this message, try some of the suggested fixes discussed on Bug 203709. Workarounds discussed in the thread include:
1. Modifying kernel module parameter by adding a new configuration file for modprobe.d(5):
3. Applying the kernel patch and creating the following kernel module parameter for modprobe.d(5):