Lenovo ThinkPad T14 (AMD) Gen 1: Difference between revisions

From ArchWiki
(→‎Smartcard Reader: Is working, added link leading to instructions)
(→‎Fingerprint sensor: Remove link to now obsolete package, see https://lists.archlinux.org/archives/list/aur-requests@lists.archlinux.org/thread/Y4XQLWKHVBNFUGMOTM6MLJJWRFA5DCPP/#Y4XQLWKHVBNFUGMOTM6MLJJWRFA5DCPP)
 
(53 intermediate revisions by 13 users not shown)
Line 1: Line 1:
[[Category:Lenovo]]
[[Category:Lenovo]]
{{Laptop style|Hardware table needs some adjustment. {{ic|lspci}}/{{ic|lsusb}} dumps should not go into laptop pages.}}
{{Related articles start}}
{{Related|Lenovo Thinkpad T14s (AMD) Gen 1}}
{{Related|Lenovo ThinkPad T495s}}
{{Related|Lenovo ThinkPad T495}}
{{Related articles end}}
[[zh-hans:Lenovo Thinkpad T14 (AMD) Gen 1]]
[[zh-hans:Lenovo Thinkpad T14 (AMD) Gen 1]]
{| class="wikitable" style="float: right; clear: right"
{| class="wikitable" style="float: right; clear: right"
! Device !! Working?
! Hardware !! PCI/USB ID !! Working?
|-
| GPU || || {{Yes}}
|-
|-
| [[AMDGPU|AMD graphics]] || {{Yes}}  
| Wireless || || {{Yes}}
|-
|-
| [[Wireless]] || {{Yes}}
| Bluetooth || {{ic|8087:0029}} || {{Yes}}
|-
|-
| [[Webcam]] || {{Yes}}
| Webcam || {{ic|04f2:b6d0}} || {{Yes}}
|-
|-
| [[TrackPoint]] || {{Yes}}
| TrackPoint || || {{Yes}}
|-
|-
| [[Touchpad]] || {{Yes}}
| Touchpad || || {{Yes}}
|-
|-
| [[Fingerprint Reader]] || {{Yes}}
| Fingerprint reader || {{ic|06cb:00bd}} || {{Yes}}
|-
|-
| [[ThinkPad mobile Internet|Mobile Broadband]] || [[Xmm7360-pci]]
| Smartcard reader || {{ic|058f:9540}} || {{Yes}}
|-
|-
| Mobile broadband || || {{Yes}}
|}
|}


This article covers the installation and configuration of Arch Linux on a Lenovo Thinkpad T14 (AMD) Gen 1 laptop. Everything seems to work pretty much out the box with kernel >=5.9.0. Yet untested: wwan, smartcard reader, bluetooth.
This article covers the installation and configuration of Arch Linux on a Lenovo Thinkpad T14 (AMD) Gen 1 laptop. Everything seems to work pretty much out the box with {{Pkg|linux}}≥5.9.0.


For a general overview of laptop-related articles and recommendations, see [[Laptop]].
For a general overview of laptop-related articles and recommendations, see [[Laptop]].


== Hardware ==
== Firmware ==


AMD Ryzen 7 PRO 4750U Processor
=== Secure boot ===


Using kernel 5.9.14.
As of January 2021 deleting [[Secure Boot]] keys and installing your own keys (for example by using [[Unified Extensible Firmware Interface/Secure Boot#Using KeyTool|KeyTool]]) will brick the device. This is a problem that is similar to one which [https://forums.lenovo.com/t5/ThinkPad-X-Series-Laptops/BIOS-BUG-X1C7-quot-Configuration-changed-restart-system-quot-loop-after-enrolled-my-own-secureboot-key/m-p/4607484 has been reported on some other Lenovo laptops] and is likely due to a faulty firmware. If the device is stuck in a boot loop after replacing the Secure Boot keys, the only way to repair it is by replacing the mainboard of the device. Hopefully, the issue will get fixed with a firmware update in the future.


Product Name: Thinkpad T14 (AMD) Gen 1
=== Battery issues ===
Machine Type: 20UE / 20UD
BIOS: 1.27 (R1BET58W)


{{ic|lspci}} returns something like:
In an ongoing [https://forums.lenovo.com/t5/Other-Linux-Discussions/T14-AMD-battery-drain-in-standby-Linux/m-p/5037674?page=1 Lenovo forums thread], there has been a discussion regarding battery drain issues in suspend/powered-off states. Presumably, laptops with AMD Renoir CPUs and relevant hardware are affected. As of now, BIOS firmware version 1.29 is suggested for use, as version 1.30 introduced significant battery drain; the battery loses up to 50% in 2-3 days while the laptop is in suspend mode.


00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Root Complex
There is also a suggestion that kernel updates could fix this behavior and that Lenovo and Canonical are working on it.
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 7
01:00.0 Non-Volatile memory controller: SK hynix Device 1639
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0e)
02:00.1 Serial controller: Realtek Semiconductor Co., Ltd. Device 816a (rev 0e)
02:00.2 Serial controller: Realtek Semiconductor Co., Ltd. Device 816b (rev 0e)
02:00.3 IPMI Interface: Realtek Semiconductor Co., Ltd. Device 816c (rev 0e)
02:00.4 USB controller: Realtek Semiconductor Co., Ltd. Device 816d (rev 0e)
03:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
06:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev d1)
07:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637
07:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
07:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
07:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 01)
07:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
 
{{ic|lsusb}} returns something like:


Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
=== Keyboard ===
Bus 006 Device 003: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 006 Device 002: ID 06cb:00bd Synaptics, Inc. Prometheus MIS Touch Fingerprint Reader
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 002: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 04f2:b6d0 Chicony Electronics Co., Ltd Integrated Camera
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


== Firmware ==
As of BIOS 1.35, keyboard event processing does not work correctly and can cause [https://forums.lenovo.com/topic/findpost/27/5090234/5421114 input problems] with shortcuts involving the function key. Moreover, typing fast can lead to scrambled or missing keys which is caused by [https://forums.lenovo.com/t5/ThinkPad-T400-T500-and-newer-T-series-Laptops/Keyboard-firmware-scrambles-keys-on-all-T-series-X-series-Thinkpads/m-p/4222626 polling issues] with the firmware.


=== Secure boot ===
=== Trackpad ===


As of January 2021 deleting SecureBoot keys and installing your own keys (for example by using [[Unified_Extensible_Firmware_Interface/Secure_Boot#Using_KeyTool|KeyTool]]) will brick the device. This is a problem that is similar to one which [https://forums.lenovo.com/t5/ThinkPad-X-Series-Laptops/BIOS-BUG-X1C7-quot-Configuration-changed-restart-system-quot-loop-after-enrolled-my-own-secureboot-key/m-p/4607484 has been reported on some other Lenovo laptops] and is likely due to a faulty firmware. If the device is stuck in a boot loop after replacing the SecureBoot keys, the only way to repair it is by replacing the mainboard of the device. Hopefully, the issue will get fixed with a firmware update in the future.
As of BIOS 1.35, disabling the trackpad has no effect in Linux. In the graphical BIOS and in Windows, this function works as intended.


=== Battery issues ===
Since kernel 5.18, there are some issue with the track pad after resume (left button not working anymore). A workaround is to set parameter {{ic|1=synaptics_intertouch=0}} to the module psmouse.


In an ongoing [https://forums.lenovo.com/t5/Other-Linux-Discussions/T14-AMD-battery-drain-in-standby-Linux/m-p/5037674?page=1 Lenovo forums thread] there has been a discussion regarding battery drain issues in suspend/powered-off states. Presumably laptops with AMD Renoir CPUs and relevant hardware are affected. As of now, BIOS firmware version 1.29 is suggested to use, as version 1.30 introduced significant battery drain, the battery loses up to 50% in 2-3 days while the laptop is in suspend mode.
In a [https://forums.lenovo.com/t5/ThinkPad-P-and-W-Series-Mobile-Workstations/Synaptics-firmware-PR3584089-causing-touchpad-issues-P14s-Gen-1-AMD/m-p/5152124?page=1 Lenovo forums thread], there has been a discussion regarding touchpad issue with Synaptics firmware PR3584089. Downgrading the version to PR2909640 solves this.


There is also a suggestion that kernel updates could fix this behavior and that Lenovo and Canonical are working on it.
=== Time stamp counter ===


== AMD Graphics ==
As of BIOS 1.35, the [https://forums.lenovo.com/t5/Other-Linux-Discussions/Unusable-TSC-on-P14s-and-X13-with-the-latest-LTS-kernel/m-p/5064905 time stamp counter (TSC) can be unusable] on a cold boot, as indicated by the following log output:
The opensource [[AMDGPU]] drivers work correctly with no special modification.


To enable [[Chromium]] hardware accelerated video decoding, install {{Pkg|libva-mesa-driver}}, {{Pkg|vulkan-radeon}} and {{Pkg|mesa-vdpau}}, create a file {{ic|~/.config/chromium-flags.conf}} and paste the following:
{{hc|$ dmesg {{!}} grep -i tsc|2=
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] tsc: Detected 1696.748 MHz processor
[    0.160394] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x18752743c99, max_idle_ns: 440795215663 ns
[    0.367627] clocksource: Switched to clocksource tsc-early
[    1.393773] tsc: Refined TSC clocksource calibration: 1699.720 MHz
[    1.393785] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x18801ecedab, max_idle_ns: 440795234673 ns
[    1.394099] clocksource: Switched to clocksource tsc
[    2.167096] clocksource: timekeeping watchdog on CPU3: Marking clocksource 'tsc' as unstable because the skew is too large:
[    2.167106] clocksource:                      'tsc' cs_nsec: 506681426 cs_now: 78dfa3a69 cs_last: 75aa51b22 mask: ffffffffffffffff
[    2.167109] clocksource:                      'tsc' is current clocksource.
[    2.167119] tsc: Marking TSC unstable due to clocksource watchdog
[    2.167132] TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.
[    2.167653] clocksource: Checking clocksource tsc synchronization from CPU 13 to CPUs 0,2,8-9,11-12,14-15.
}}


--ignore-gpu-blocklist
=== Renesas USB controller ===
--use-gl=desktop
--enable-gpu-rasterization
--enable-zero-copy
--ignore-gpu-blacklist
--disable-gpu-driver-bug-workarounds
--enable-accelerated-video-decode


Restart [[Chromium]] and then verify {{ic|chrome://gpu}} has the following output:
As of BIOS 1.35, toggling the state of USB devices in the BIOS can cause the [https://forums.lenovo.com/t5/Other-Linux-Discussions/Possible-1-34-BIOS-bug-on-P14s-AMD/m-p/5089865 Renesas controller to fail]. This will prevent the webcam from being initialized.


Canvas: Hardware accelerated
=== Docking stations ===
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Out-of-process Rasterization: Disabled
OpenGL: Enabled
Hardware Protected Video Decode: Hardware accelerated
Rasterization: Hardware accelerated on all pages
Skia Renderer: Enabled
Video Decode: Hardware accelerated
Vulkan: Disabled
WebGL: Hardware accelerated
WebGL2: Hardware accelerated


Further down there should be a section with
As of BIOS 1.35, [https://forums.lenovo.com/t5/Other-Linux-Discussions/Lenovo-T14-AMD-40AS-Dock-unreliable-Display-Output/m-p/5093760 video output is unrealiable] on both USB3 and mechanical docking stations.


Video Acceleration Information
=== Webcam ===
Decode h264 baseline 16x16 to 4096x4096 pixels
Decode h264 main 16x16 to 4096x4096 pixels
Decode h264 high 16x16 to 4096x4096 pixels
Decode vp9 profile0 16x16 to 8192x4352 pixels


For more infomation see [[Chromium#Force GPU acceleration]] and  [https://chromium.googlesource.com/chromium/src/+/master/docs/gpu/vaapi.md#vaapi-on-linux vaapi on linux].
[https://forums.lenovo.com/t5/ThinkPad-T400-T500-and-newer-T-series-Laptops/Suggestions-welcome-for-improving-T14s-webcam-image-quality-on-Linux/m-p/5046892 Image quality] can be improved by updating the webcam firmware. Unfortunately, webcam firmware updates are not shipped via LVFS. Some cameras firmwares can be possibly updated in Linux [https://forums.lenovo.com/topic/findpost/27/5046892/5564905 following steps].


== Fingerprint Sensor ==
== Fingerprint sensor ==


The fingerprint sensor works with some recent firmware and software updates.
The fingerprint sensor works with some recent firmware and software updates.


# Use [[fwupd]] to install the latest firmware for "Synaptics Prometheus Fingerprint Reader". The relevant firmwares are [https://fwupd.org/lvfs/devices/com.synaptics.prometheus.firmware Prometheus Fingerprint Reader] and [https://fwupd.org/lvfs/devices/com.synaptics.prometheus.config Prometheus Fingerprint Reader Configuration].
# Use [[fwupd]] to install the latest firmware for "Synaptics Prometheus Fingerprint Reader". The relevant firmwares are [https://fwupd.org/lvfs/devices/com.synaptics.prometheus.firmware Prometheus Fingerprint Reader] and [https://fwupd.org/lvfs/devices/com.synaptics.prometheus.config Prometheus Fingerprint Reader Configuration].
# {{pkg|fprintd}} ≥ 1.90.1 and {{pkg|libfprint}} ≥ 1.90.1 are required. Alternatively, use the latest Git master through {{AUR|fprintd-libfprint2}} and {{AUR|libfprint-git}}.
# {{Pkg|fprintd}} ≥ 1.90.1 and {{Pkg|libfprint}} ≥ 1.90.1 are required.  


[[fprint]] has more details on how to setup the fingerprint, for [[PAM]]-based authentication for example.
[[fprint]] has more details on how to setup the fingerprint, for [[PAM]]-based authentication for example.


If the fingerprint reader isn't detected by [[fwupd]] but is detected by {{ic|lsusb}} you will need to reset the fingerprint reader in the Bios.
If the fingerprint reader is not detected by [[fwupd]] but is detected by {{ic|lsusb}}, you will need to reset the fingerprint reader in the BIOS.


== Backlight ==
== Backlight ==
Backlight works correctly by manipulating the values, between 0-255, inside {{ic|/sys/class/backlight/amdgpu_bl0/brightness}} or using a backlight managing utility.
Backlight works correctly by manipulating the values, between 0-255, inside {{ic|/sys/class/backlight/amdgpu_bl0/brightness}} or using a backlight managing utility.


Before kernel 5.8.6, {{ic|systemd-backlight@backlight:acpi_video0.service}} required [[systemd#Using_units|masking]] as it failed on boot.
== Suspend ==


== Suspend ==
S3 suspend works when setting ''Config > Power > Sleep'' to ''Linux'' in the BIOS.


S3 suspend works when setting Config -> Power -> Sleep to Linux in bios.
== Hibernation ==


== Smartcard Reader ==
As of kernel 5.15.2, the system occasionally has issues with resuming from hibernate, resulting in missing or distorted video output.
Seems to work and read cards. Following instructions from [[smartcards]].


== WWAN ==
== Mobile broadband ==


Tested, works with [https://github.com/xmm7360/xmm7360-pci xmm7360-pci] (see [[Xmm7360-pci]]):
Tested, works with [https://github.com/xmm7360/xmm7360-pci xmm7360-pci] (see [[Xmm7360-pci]]):


$ lspci | grep XMM
{{hc|$ lspci {{!}} grep XMM|
05:00.0 Wireless controller [0d40]: Intel Corporation XMM7360 LTE Advanced Modem (rev 01)
05:00.0 Wireless controller [0d40]: Intel Corporation XMM7360 LTE Advanced Modem (rev 01)
}}


== WiFi ==
== Smartcard reader ==


The onboard wireless card is Intel AX200, and it may have microcode issues when used as-is. A possible fix for WiFi disconnects is turning on iwlwifi antenna agreggation on by creating a [[modprobe]] config
[[Install]] {{Pkg|ccid}}, {{Pkg|opensc}} and {{Pkg|pcsc-tools}} packages and [[start]] {{ic|pcscd.service}}.
then you can use the ''pcsc_scan'' command to read the card informations.
 
For more information check out [[Smartcards]].
 
== Wireless ==
 
The onboard wireless card is Intel AX200 and it may have microcode issues when used as-is. A possible fix for WiFi disconnects is turning on {{ic|iwlwifi}} antenna aggregation on by creating a [[modprobe]] configuration:


{{hc|/etc/modprobe.d/iwlwifi.conf|2=
{{hc|/etc/modprobe.d/iwlwifi.conf|2=
Line 185: Line 129:
}}
}}


and rebooting. Look in [[Network configuration/Wireless#iwlwifi]] for details.
Reboot afterwards. Look in [[Network configuration/Wireless#iwlwifi]] for details.
 
== Microphone-LED ==
The LED of the microphone remains always on. As a workaround install the package {{Pkg|alsa-utils}} and the LED should remain always off after a reboot.
The microphone toggle itself should work anyway reliable.
 
== Platform Profiles ==
 
Starting with kernel version 5.18, ACPI platform profiles work correctly on AMD ThinkPads and can be managed manually via {{man|5|sysfs}} at {{ic|/sys/firmware/acpi/platform_profile*}} or automatically via {{Pkg|tlp}}. The following table shows power and thermal limits for the available profiles. The balanced profile is active by default.
 
{| class="wikitable"
! Mode !! STAPM (W) !! PPT-FAST (W) !! PPT-SLOW (W) !! THM-CORE (°C) !! STT_APU (°C) !! FAN (rpm)
|-
| low-power || 11 || 11 || 11 || 70 || 45 || 3300
|-
| balanced || 20 || 20 || 15 || 86 || 45 || 4400
|-
| performance || 25 || 25 || 23 || 96 || 53 || 5000
|}
 
== Function keys ==
 
{| class="wikitable"
|-
! Key
! Visible?<sup>1</sup>
! Marked?<sup>2</sup>
! Effect
|-
| {{ic|Fn}} || {{Yes}} || {{No}} || {{ic|XF86WakeUp}}
|-
| {{ic|Fn+Esc}} || {{No}} || {{Yes}} || Toggles the Fn lock
|-
| {{ic|Fn+F1}} || {{Yes}} || {{Yes}} || {{ic|XF86AudioMute}}
|-
| {{ic|Fn+F2}} || {{Yes}} || {{Yes}} || {{ic|XF86AudioLowerVolume}}
|-
| {{ic|Fn+F3}} || {{Yes}} || {{Yes}} || {{ic|XF86AudioRaiseVolume}}
|-
| {{ic|Fn+F4}} || {{Yes}} || {{Yes}} || {{ic|XF86AudioMicMute}}
|-
| {{ic|Fn+F5}} || {{Yes}} || {{Yes}} || {{ic|XF86MonBrightnessDown}}
|-
| {{ic|Fn+F6}} || {{Yes}} || {{Yes}} || {{ic|XF86MonBrightnessUp}}
|-
| {{ic|Fn+F7}} || {{Yes}} || {{Yes}} || {{ic|XF86Display}}
|-
| {{ic|Fn+F8}} || {{Yes}} || {{Yes}} || {{ic|XF86WLAN}}
|-
| {{ic|Fn+F9}} || {{Yes}} || {{Yes}} || {{ic|XF86NotificationCenter}}
|-
| {{ic|Fn+F10}} || {{Yes}} || {{Yes}} || {{ic|XF86PickupPhone}}
|-
| {{ic|Fn+F11}} || {{Yes}} || {{Yes}} || {{ic|XF86HangupPhone}}
|-
| {{ic|Fn+F12}} || {{Yes}} || {{Yes}} || {{ic|XF86Favorites}}
|-
| {{ic|Fn+End}} || {{Yes}} || {{No}} || {{ic|Insert}}
|-
| {{ic|Fn+4}} || {{Yes}} || {{No}} || {{ic|XF86Sleep}}
|-
| {{ic|Fn+Tab}} || {{Yes}} || {{No}} || {{ic|XF86FullScreen}}
|-
| {{ic|Fn+s}} || {{Yes}} || {{No}} || {{ic|Alt_L}} {{ic|Alt_L+Sys_Req}}
|-
| {{ic|Fn+d}} || {{No}} || {{No}} || Toggles the PrivacyGuard feature
|-
| {{ic|Fn+k}} || {{Yes}} || {{No}} || {{ic|Scroll_Lock}}
|-
| {{ic|Fn+p}} || {{Yes}} || {{No}} || {{ic|Pause}}
|-
| {{ic|Fn+b}} || {{Yes}} || {{No}} || {{ic|Pause}}
|-
| {{ic|Fn+Right Shift}} || {{Yes}} || {{No}} || {{ic|XF86FnRightShift}}
|-
| {{ic|Fn+Space}} || {{No}} || {{Yes}} || Controls the keyboard backlight
|-
| {{ic|Fn+Print}} || {{Yes}} || {{No}} || {{ic|XF86SelectiveScreenshot}}
|-
| {{ic|Fn+Left Arrow}} || {{Yes}} || {{No}} || {{ic|Home}}
|-
| {{ic|Fn+Right Arrow}} || {{Yes}} || {{No}} || {{ic|End}}
|}
 
# The key is visible to {{ic|xev}} and similar tools
# The physical key has a symbol on it, which describes its function
 
== See also ==
 
* [https://psref.lenovo.com/syspool/Sys/PDF/ThinkPad/ThinkPad_T14_Gen_1_AMD/ThinkPad_T14_Gen_1_AMD_Spec.pdf Product Specifications Reference (PSREF)]
* [https://download.lenovo.com/pccbbs/mobiles_pdf/t14_gen1_p14s_gen1_hmm_en.pdf Hardware maintenance manual]
* [https://download.lenovo.com/pccbbs/mobiles_pdf/t14_t15_p14s_p15s_ug_en.pdf User guide]
* https://certification.ubuntu.com/hardware/202006-27980

Latest revision as of 16:00, 14 April 2023

Hardware PCI/USB ID Working?
GPU Yes
Wireless Yes
Bluetooth 8087:0029 Yes
Webcam 04f2:b6d0 Yes
TrackPoint Yes
Touchpad Yes
Fingerprint reader 06cb:00bd Yes
Smartcard reader 058f:9540 Yes
Mobile broadband Yes

This article covers the installation and configuration of Arch Linux on a Lenovo Thinkpad T14 (AMD) Gen 1 laptop. Everything seems to work pretty much out the box with linux≥5.9.0.

For a general overview of laptop-related articles and recommendations, see Laptop.

Firmware

Secure boot

As of January 2021 deleting Secure Boot keys and installing your own keys (for example by using KeyTool) will brick the device. This is a problem that is similar to one which has been reported on some other Lenovo laptops and is likely due to a faulty firmware. If the device is stuck in a boot loop after replacing the Secure Boot keys, the only way to repair it is by replacing the mainboard of the device. Hopefully, the issue will get fixed with a firmware update in the future.

Battery issues

In an ongoing Lenovo forums thread, there has been a discussion regarding battery drain issues in suspend/powered-off states. Presumably, laptops with AMD Renoir CPUs and relevant hardware are affected. As of now, BIOS firmware version 1.29 is suggested for use, as version 1.30 introduced significant battery drain; the battery loses up to 50% in 2-3 days while the laptop is in suspend mode.

There is also a suggestion that kernel updates could fix this behavior and that Lenovo and Canonical are working on it.

Keyboard

As of BIOS 1.35, keyboard event processing does not work correctly and can cause input problems with shortcuts involving the function key. Moreover, typing fast can lead to scrambled or missing keys which is caused by polling issues with the firmware.

Trackpad

As of BIOS 1.35, disabling the trackpad has no effect in Linux. In the graphical BIOS and in Windows, this function works as intended.

Since kernel 5.18, there are some issue with the track pad after resume (left button not working anymore). A workaround is to set parameter synaptics_intertouch=0 to the module psmouse.

In a Lenovo forums thread, there has been a discussion regarding touchpad issue with Synaptics firmware PR3584089. Downgrading the version to PR2909640 solves this.

Time stamp counter

As of BIOS 1.35, the time stamp counter (TSC) can be unusable on a cold boot, as indicated by the following log output:

$ dmesg | grep -i tsc
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] tsc: Detected 1696.748 MHz processor
[    0.160394] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x18752743c99, max_idle_ns: 440795215663 ns
[    0.367627] clocksource: Switched to clocksource tsc-early
[    1.393773] tsc: Refined TSC clocksource calibration: 1699.720 MHz
[    1.393785] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x18801ecedab, max_idle_ns: 440795234673 ns
[    1.394099] clocksource: Switched to clocksource tsc
[    2.167096] clocksource: timekeeping watchdog on CPU3: Marking clocksource 'tsc' as unstable because the skew is too large:
[    2.167106] clocksource:                       'tsc' cs_nsec: 506681426 cs_now: 78dfa3a69 cs_last: 75aa51b22 mask: ffffffffffffffff
[    2.167109] clocksource:                       'tsc' is current clocksource.
[    2.167119] tsc: Marking TSC unstable due to clocksource watchdog
[    2.167132] TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.
[    2.167653] clocksource: Checking clocksource tsc synchronization from CPU 13 to CPUs 0,2,8-9,11-12,14-15.

Renesas USB controller

As of BIOS 1.35, toggling the state of USB devices in the BIOS can cause the Renesas controller to fail. This will prevent the webcam from being initialized.

Docking stations

As of BIOS 1.35, video output is unrealiable on both USB3 and mechanical docking stations.

Webcam

Image quality can be improved by updating the webcam firmware. Unfortunately, webcam firmware updates are not shipped via LVFS. Some cameras firmwares can be possibly updated in Linux following steps.

Fingerprint sensor

The fingerprint sensor works with some recent firmware and software updates.

  1. Use fwupd to install the latest firmware for "Synaptics Prometheus Fingerprint Reader". The relevant firmwares are Prometheus Fingerprint Reader and Prometheus Fingerprint Reader Configuration.
  2. fprintd ≥ 1.90.1 and libfprint ≥ 1.90.1 are required.

fprint has more details on how to setup the fingerprint, for PAM-based authentication for example.

If the fingerprint reader is not detected by fwupd but is detected by lsusb, you will need to reset the fingerprint reader in the BIOS.

Backlight

Backlight works correctly by manipulating the values, between 0-255, inside /sys/class/backlight/amdgpu_bl0/brightness or using a backlight managing utility.

Suspend

S3 suspend works when setting Config > Power > Sleep to Linux in the BIOS.

Hibernation

As of kernel 5.15.2, the system occasionally has issues with resuming from hibernate, resulting in missing or distorted video output.

Mobile broadband

Tested, works with xmm7360-pci (see Xmm7360-pci):

$ lspci | grep XMM
05:00.0 Wireless controller [0d40]: Intel Corporation XMM7360 LTE Advanced Modem (rev 01)

Smartcard reader

Install ccid, opensc and pcsc-tools packages and start pcscd.service. then you can use the pcsc_scan command to read the card informations.

For more information check out Smartcards.

Wireless

The onboard wireless card is Intel AX200 and it may have microcode issues when used as-is. A possible fix for WiFi disconnects is turning on iwlwifi antenna aggregation on by creating a modprobe configuration:

/etc/modprobe.d/iwlwifi.conf
options iwlwifi 11n_disable=8

Reboot afterwards. Look in Network configuration/Wireless#iwlwifi for details.

Microphone-LED

The LED of the microphone remains always on. As a workaround install the package alsa-utils and the LED should remain always off after a reboot. The microphone toggle itself should work anyway reliable.

Platform Profiles

Starting with kernel version 5.18, ACPI platform profiles work correctly on AMD ThinkPads and can be managed manually via sysfs(5) at /sys/firmware/acpi/platform_profile* or automatically via tlp. The following table shows power and thermal limits for the available profiles. The balanced profile is active by default.

Mode STAPM (W) PPT-FAST (W) PPT-SLOW (W) THM-CORE (°C) STT_APU (°C) FAN (rpm)
low-power 11 11 11 70 45 3300
balanced 20 20 15 86 45 4400
performance 25 25 23 96 53 5000

Function keys

Key Visible?1 Marked?2 Effect
Fn Yes No XF86WakeUp
Fn+Esc No Yes Toggles the Fn lock
Fn+F1 Yes Yes XF86AudioMute
Fn+F2 Yes Yes XF86AudioLowerVolume
Fn+F3 Yes Yes XF86AudioRaiseVolume
Fn+F4 Yes Yes XF86AudioMicMute
Fn+F5 Yes Yes XF86MonBrightnessDown
Fn+F6 Yes Yes XF86MonBrightnessUp
Fn+F7 Yes Yes XF86Display
Fn+F8 Yes Yes XF86WLAN
Fn+F9 Yes Yes XF86NotificationCenter
Fn+F10 Yes Yes XF86PickupPhone
Fn+F11 Yes Yes XF86HangupPhone
Fn+F12 Yes Yes XF86Favorites
Fn+End Yes No Insert
Fn+4 Yes No XF86Sleep
Fn+Tab Yes No XF86FullScreen
Fn+s Yes No Alt_L Alt_L+Sys_Req
Fn+d No No Toggles the PrivacyGuard feature
Fn+k Yes No Scroll_Lock
Fn+p Yes No Pause
Fn+b Yes No Pause
Fn+Right Shift Yes No XF86FnRightShift
Fn+Space No Yes Controls the keyboard backlight
Fn+Print Yes No XF86SelectiveScreenshot
Fn+Left Arrow Yes No Home
Fn+Right Arrow Yes No End
  1. The key is visible to xev and similar tools
  2. The physical key has a symbol on it, which describes its function

See also