Lenovo ThinkPad T495

出自 ArchWiki

此文章或章节不符合笔记本电脑页面指南

原因: 硬件表格需要添加 ID。缺少功能键部分。(在Talk:Lenovo ThinkPad T495中讨论)
硬件 PCI/USB ID 工作状态?
GPU 06:00.0
无线 8087:0025
音频 06:00.6
TrackPoint
触摸板
网络摄像头 13d3:56a6
蓝牙 8087:0025
移动宽带 未测试
指纹扫描仪 06cb:00bd
MicroSD 读卡器
智能卡读卡器

指纹传感器

指纹传感器在一些最新的固件和软件更新下可以工作。

  1. 使用 fwupd 安装 “Synaptics Prometheus Fingerprint Reader” 的最新固件。更新可能需要手动完成,因为发布的固件正在测试中;或者您可以在 fwupd 中启用测试 remote 以允许自动升级。相关的固件是 Prometheus Fingerprint Reader 固件Prometheus Fingerprint Reader 配置
  2. fprintd ≥ 1.90.1 和 libfprint ≥ 1.90.1 是必需的。

fprint 提供了关于如何设置指纹的更多细节,例如用于基于 PAM 的身份验证。

电池和电源管理

TLP 会阻止插入的 USB 设备在电池供电时工作。这可以通过在 TLP 中将 USB3.1 PCI 设备的电源管理列入黑名单来解决。通过以下命令查找正确的 USB ID

$ lspci
05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1

创建 以下内容

/etc/tlp.d/01-usb.conf 
RUNTIME_PM_BLACKLIST="05:00.3 05:00.4"

以太网连接

某些型号在电池供电时,可能在注意到以太网链路状态变化(电缆连接/断开事件)时存在问题。

可以通过在计算机电池供电时尝试连接以太网电缆来注意到此问题:如果在连接电源线之前没有连接,则您受到影响。

要解决此问题,可以尝试通过将以下行附加到 /etc/modprobe.d/blacklist.conf 来将 r8169 模块列入黑名单

blacklist r8169

然后安装 r8168AUR 软件包(如果运行 linux-lts,则安装 r8168-lts,或者对于其他内核,安装 r8168-dkmsAUR)。

重启后问题应该会消失。

已知问题

即使使用最新的内核(如 5.9.3),也常见以下问题

内核警告:irq 7: nobody cared
[ 6402.261413] irq 7: nobody cared (try booting with the "irqpoll" option)
[ 6402.261423] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W         5.5.0-rc2 #1-NixOS
[ 6402.261425] Hardware name: LENOVO 20NJCTO1WW/20NJCTO1WW, BIOS R12ET46W(1.16 ) 10/28/2019
[ 6402.261426] Call Trace:
[ 6402.261430]  <IRQ>
[ 6402.261439]  dump_stack+0x66/0x90
[ 6402.261444]  __report_bad_irq+0x37/0xb1
[ 6402.261449]  note_interrupt.cold.10+0xa/0x6d
[ 6402.261452]  handle_irq_event_percpu+0x6a/0x80
[ 6402.261455]  handle_irq_event+0x3c/0x5c
[ 6402.261459]  handle_fasteoi_irq+0xa3/0x150
[ 6402.261463]  do_IRQ+0x51/0xe0
[ 6402.261465]  common_interrupt+0xf/0xf
[ 6402.261467]  </IRQ>
[ 6402.261472] RIP: 0010:cpuidle_enter_state+0xbe/0x3f0
[ 6402.261476] Code: e8 27 c6 b3 ff 80 7c 24 13 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 d5 02 00 00 31 ff e8 f9 d3 b9 ff fb 66 0f 1f 44 00 00 <85> ed 0f 88 42 02 00 00 48 63 c5 4c 8b 3c 24 4c 2b 7c 24 08 48 8d
[ 6402.261478] RSP: 0018:ffffffff95a03e48 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffc8
[ 6402.261482] RAX: ffff8e4a38a2c300 RBX: ffff8e4a3482b800 RCX: 000000000000001f
[ 6402.261483] RDX: 000005d2a483e85f RSI: 0000000037c1c5c9 RDI: 0000000000000000
[ 6402.261485] RBP: 0000000000000002 R08: 0000000000000002 R09: 000000000002bb80
[ 6402.261486] R10: 0000000270e10990 R11: ffff8e4a38a2b3e4 R12: ffffffff95ab9da0
[ 6402.261487] R13: ffffffff95ab9e88 R14: 0000000000000002 R15: 0000000000000002
[ 6402.261493]  ? cpuidle_enter_state+0x99/0x3f0
[ 6402.261496]  cpuidle_enter+0x29/0x40
[ 6402.261501]  do_idle+0x22b/0x260
[ 6402.261506]  cpu_startup_entry+0x19/0x20
[ 6402.261509]  start_kernel+0x4e2/0x504
[ 6402.261514]  secondary_startup_64+0xb6/0xc0
[ 6402.261517] handlers:
[ 6402.261524] [<000000002329e34f>] amd_gpio_irq_handler [pinctrl_amd]
[ 6402.261527] Disabling IRQ #7

请参阅 https://bugzilla.kernel.org/show_bug.cgi?id=201817 以获取更多信息。

内核警告:nvme_poll_irqdisable
[ 6390.413248] ------------[ cut here ]------------
[ 6390.413259] WARNING: CPU: 4 PID: 13706 at kernel/irq/chip.c:210 irq_startup+0xe1/0xf0
[ 6390.413260] Modules linked in: cpufreq_powersave fuse ctr ccm af_packet cmac algif_hash bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc joydev mousedev btusb btrtl btbcm btintel bluetooth uas ecdh_generic ecc crc16 amdgpu wmi_bmof iwlmvm amd_iommu_v2 gpu_sched mac80211 ttm edac_mce_amd edac_core snd_hda_codec_realtek drm_kms_helper libarc4 snd_hda_codec_generic snd_hda_codec_hdmi deflate efi_pstore pstore nls_iso8859_1 drm evdev crct10dif_pclmul nls_cp437 iwlwifi snd_hda_intel mac_hid ghash_clmulni_intel vfat sp5100_tco fat psmouse snd_intel_dspcfg agpgart serio_raw tpm_crb r8169 i2c_algo_bit snd_hda_codec efivars watchdog fb_sys_fops tpm_tis realtek tpm_tis_core snd_hda_core syscopyarea k10temp ucsi_acpi thinkpad_acpi sysfillrect i2c_piix4 snd_pci_acp3x cfg80211 sysimgblt snd_hwdep typec_ucsi ipmi_devintf libphy nvram tpm 8250_pci ledtrig_audio ipmi_msghandler typec rng_core wmi rfkill video i2c_scmi battery ac backlight i2c_core pinctrl_amd
[ 6390.413323]  button acpi_cpufreq ip6table_nat iptable_nat nf_nat xt_conntrack nf_conntrack nf_defrag_ipv4 libcrc32c crc32c_generic ip6t_rpfilter ipt_rpfilter ip6table_raw iptable_raw xt_pkttype nf_log_ipv6 nf_log_ipv4 nf_log_common xt_LOG xt_tcpudp ip6table_filter ip6_tables iptable_filter sch_fq_codel snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore msr loop cpufreq_ondemand tun tap macvlan bridge stp llc kvm_amd kvm irqbypass efivarfs ip_tables x_tables ipv6 nf_defrag_ipv6 crc_ccitt autofs4 f2fs dm_crypt algif_skcipher af_alg sd_mod usb_storage scsi_mod input_leds rtsx_pci_sdmmc led_class mmc_core atkbd libps2 crc32_pclmul crc32c_intel xhci_pci xhci_hcd ehci_pci aesni_intel ehci_hcd crypto_simd usbcore cryptd glue_helper nvme rtsx_pci nvme_core usb_common i8042 rtc_cmos serio dm_mod
[ 6390.413371] CPU: 4 PID: 13706 Comm: kworker/u32:9 Tainted: G        W         5.5.0-rc2 #1-NixOS
[ 6390.413372] Hardware name: LENOVO 20NJCTO1WW/20NJCTO1WW, BIOS R12ET46W(1.16 ) 10/28/2019
[ 6390.413378] Workqueue: events_unbound async_run_entry_fn
[ 6390.413380] RIP: 0010:irq_startup+0xe1/0xf0
[ 6390.413383] Code: 31 f6 4c 89 ef e8 8f 3e 00 00 85 c0 75 20 48 89 ee 31 d2 4c 89 ef e8 5e cd ff ff 48 89 df e8 a6 fe ff ff 89 c5 e9 54 ff ff ff <0f> 0b eb b6 0f 0b eb b2 0f 1f 80 00 00 00 00 0f 1f 44 00 00 55 48
[ 6390.413384] RSP: 0018:ffffa3bb03717c38 EFLAGS: 00010002
[ 6390.413385] RAX: 0000000000000180 RBX: ffff8e4a324e9000 RCX: 0000000000000180
[ 6390.413386] RDX: 0000000000000005 RSI: ffffffff95b13a20 RDI: ffff8e4a324e9018
[ 6390.413387] RBP: ffff8e4a324e9018 R08: 0000000000000000 R09: ffff8e4a36bd7718
[ 6390.413388] R10: 0000000000000000 R11: ffffffff95a4cba8 R12: 0000000000000001
[ 6390.413388] R13: 0000000000000001 R14: ffff8e4a349c9000 R15: 0000000000000000
[ 6390.413389] FS:  0000000000000000(0000) GS:ffff8e4a38b00000(0000) knlGS:0000000000000000
[ 6390.413390] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 6390.413391] CR2: 00007fce04010826 CR3: 0000000137940000 CR4: 00000000003406e0
[ 6390.413391] Call Trace:
[ 6390.413398]  enable_irq+0x49/0x90
[ 6390.413405]  nvme_poll_irqdisable+0x2d0/0x350 [nvme]
[ 6390.413408]  __nvme_disable_io_queues+0x1b2/0x1f0 [nvme]
[ 6390.413410]  ? nvme_del_queue_end+0x20/0x20 [nvme]
[ 6390.413412]  nvme_dev_disable+0x17c/0x240 [nvme]
[ 6390.413414]  nvme_suspend+0x51/0x150 [nvme]
[ 6390.413418]  pci_pm_suspend+0x73/0x150
[ 6390.413420]  ? pci_pm_freeze+0xb0/0xb0
[ 6390.413424]  dpm_run_callback+0x4f/0x140
[ 6390.413426]  __device_suspend+0x103/0x450
[ 6390.413428]  async_suspend+0x1a/0x90
[ 6390.413430]  async_run_entry_fn+0x37/0x140
[ 6390.413433]  process_one_work+0x206/0x3c0
[ 6390.413435]  worker_thread+0x2d/0x3e0
[ 6390.413436]  ? process_one_work+0x3c0/0x3c0
[ 6390.413439]  kthread+0x112/0x130
[ 6390.413440]  ? kthread_park+0x80/0x80
[ 6390.413444]  ret_from_fork+0x22/0x40
[ 6390.413447] ---[ end trace 9878c5f80dece12a ]---

请参阅 https://bugzilla.kernel.org/show_bug.cgi?id=202891 以获取更多信息。

内核警告:pending airtime underflow
[  112.406635] ------------[ cut here ]------------
[  112.406641] STA 00:xx:xx:xx:xx:xx AC 2 txq pending airtime underflow: 4294967200, 96
[  112.406694] WARNING: CPU: 2 PID: 913 at net/mac80211/sta_info.c:1933 ieee80211_sta_update_pending_airtime+0x110/0x120 [mac80211]
[  112.406695] Modules linked in: fuse ctr ccm af_packet cmac algif_hash bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc joydev mousedev btusb btrtl btbcm btintel bluetooth uas ecdh_generic ecc crc16 amdgpu wmi_bmof iwlmvm amd_iommu_v2 gpu_sched mac80211 ttm edac_mce_amd edac_core snd_hda_codec_realtek drm_kms_helper libarc4 snd_hda_codec_generic snd_hda_codec_hdmi deflate efi_pstore pstore nls_iso8859_1 drm evdev crct10dif_pclmul nls_cp437 iwlwifi snd_hda_intel mac_hid ghash_clmulni_intel vfat sp5100_tco fat psmouse snd_intel_dspcfg agpgart serio_raw tpm_crb r8169 i2c_algo_bit snd_hda_codec efivars watchdog fb_sys_fops tpm_tis realtek tpm_tis_core snd_hda_core syscopyarea k10temp ucsi_acpi thinkpad_acpi sysfillrect i2c_piix4 snd_pci_acp3x cfg80211 sysimgblt snd_hwdep typec_ucsi ipmi_devintf libphy nvram tpm 8250_pci ledtrig_audio ipmi_msghandler typec rng_core wmi rfkill video i2c_scmi battery ac backlight i2c_core pinctrl_amd button acpi_cpufreq
[  112.406743]  ip6table_nat iptable_nat nf_nat xt_conntrack nf_conntrack nf_defrag_ipv4 libcrc32c crc32c_generic ip6t_rpfilter ipt_rpfilter ip6table_raw iptable_raw xt_pkttype nf_log_ipv6 nf_log_ipv4 nf_log_common xt_LOG xt_tcpudp ip6table_filter ip6_tables iptable_filter sch_fq_codel snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore msr loop cpufreq_ondemand tun tap macvlan bridge stp llc kvm_amd kvm irqbypass efivarfs ip_tables x_tables ipv6 nf_defrag_ipv6 crc_ccitt autofs4 f2fs dm_crypt algif_skcipher af_alg sd_mod usb_storage scsi_mod input_leds rtsx_pci_sdmmc led_class mmc_core atkbd libps2 crc32_pclmul crc32c_intel xhci_pci xhci_hcd ehci_pci aesni_intel ehci_hcd crypto_simd usbcore cryptd glue_helper nvme rtsx_pci nvme_core usb_common i8042 rtc_cmos serio dm_mod
[  112.406788] CPU: 2 PID: 913 Comm: irq/81-iwlwifi: Not tainted 5.5.0-rc2 #1-NixOS
[  112.406789] Hardware name: LENOVO 20NJCTO1WW/20NJCTO1WW, BIOS R12ET46W(1.16 ) 10/28/2019
[  112.406798] RIP: 0010:ieee80211_sta_update_pending_airtime+0x110/0x120 [mac80211]
[  112.406800] Code: ba d3 0f 0b 8b 44 24 04 eb a0 48 83 c6 40 41 89 e8 89 c1 48 c7 c7 28 71 f3 c0 89 44 24 04 c6 05 32 27 09 00 01 e8 db 4a ba d3 <0f> 0b 8b 44 24 04 eb 8f 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55
[  112.406802] RSP: 0018:ffffa3bb00737ba8 EFLAGS: 00010286
[  112.406803] RAX: 0000000000000000 RBX: 00000000ffffffa0 RCX: 0000000000000000
[  112.406804] RDX: 0000000000000000 RSI: ffffffff95fc05c8 RDI: 0000000000000246
[  112.406805] RBP: 0000000000000060 R08: ffffffff95fc0580 R09: 000000000002bb80
[  112.406806] R10: 00000042845c12d5 R11: 0000000000000391 R12: ffff8e49c87a87c0
[  112.406806] R13: 0000000000000002 R14: ffff8e49c569c5c0 R15: ffffa3bb00737c58
[  112.406808] FS:  0000000000000000(0000) GS:ffff8e4a38a80000(0000) knlGS:0000000000000000
[  112.406809] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  112.406810] CR2: 00002a29a779c000 CR3: 0000000182128000 CR4: 00000000003406e0
[  112.406811] Call Trace:
[  112.406825]  __ieee80211_tx_status+0x67d/0x800 [mac80211]
[  112.406833]  ieee80211_tx_status+0x6a/0x90 [mac80211]
[  112.406842]  iwl_mvm_tx_reclaim+0x2ad/0x3c0 [iwlmvm]
[  112.406849]  iwl_mvm_rx_ba_notif+0x10c/0x2e0 [iwlmvm]
[  112.406854]  iwl_mvm_rx_common+0xae/0x2c0 [iwlmvm]
[  112.406867]  iwl_pcie_rx_handle+0x3fd/0xa60 [iwlwifi]
[  112.406875]  ? irq_finalize_oneshot.part.46+0xf0/0xf0
[  112.406879]  iwl_pcie_irq_rx_msix_handler+0x54/0x100 [iwlwifi]
[  112.406881]  ? irq_finalize_oneshot.part.46+0xf0/0xf0
[  112.406883]  irq_thread_fn+0x1f/0x60
[  112.406885]  irq_thread+0xe7/0x170
[  112.406887]  ? irq_forced_thread_fn+0x70/0x70
[  112.406889]  ? irq_thread_check_affinity+0xc0/0xc0
[  112.406892]  kthread+0x112/0x130
[  112.406894]  ? kthread_park+0x80/0x80
[  112.406898]  ret_from_fork+0x22/0x40
[  112.406900] ---[ end trace 9878c5f80dece128 ]---
[  112.406901] ------------[ cut here ]------------

请参阅 https://bugzilla.kernel.org/show_bug.cgi?id=205869 以获取更多信息。

内核错误:pci 0000:00:00.2: AMD-Vi: Unable to read/write to IOMMU perf counter。

似乎可以忽略此消息,即将其视为警告。

请参阅 Gentoo:Lenovo Thinkpad T495#Unable to write to IOMMUhttps://bugzilla.kernel.org/show_bug.cgi?id=201753 以获取更多信息。

内核错误:tpm tpm0: [Firmware Bug]: TPM 中断不工作,正在轮询。
tpm tpm0: tpm_try_transmit: send(): error -5
tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead

作为一种解决方法,您可以在 BIOS 设置中关闭 TPM。

请参阅 https://bugzilla.kernel.org/show_bug.cgi?id=204121https://bugzilla.redhat.com/show_bug.cgi?id=1770021 以获取更多信息。

内核错误:[Firmware Bug]: TPM 中断不工作,正在轮询
tpm tpm0: tpm_try_transmit: send(): error -5
tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead

作为一种解决方法,您可以在 BIOS 设置中关闭 TPM。

请参阅 https://bugzilla.kernel.org/show_bug.cgi?id=204121https://bugzilla.redhat.com/show_bug.cgi?id=1770021 以获取更多信息。

内核错误:*ERROR* mstb 000000002ef7ea2e port 3: DPCD read on addr 0x60 for 1 bytes NAKed
[drm:drm_dp_mst_dpcd_read [drm_kms_helper]] *ERROR* mstb 000000002ef7ea2e port 3: DPCD read on addr 0x60 for 1 bytes NAKed

请参阅 https://bugzilla.redhat.com/show_bug.cgi?id=1874782 以获取更多信息。

systemd-modules-load: Failed to find module 'platform-integrity'

您可以注释或删除 platform-integrity 模块的加载。

请参阅 https://forum.endeavouros.com/t/failed-to-find-module-platform-integrity-after-update/9279/10 以获取更多信息。

内核错误:[drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:67:crtc-0] flip_done 超时

偶尔从睡眠状态恢复后,显示器会冻结,并在内核日志中显示以下内容

[drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:67:crtc-0] flip_done timed out
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:67:crtc-0] flip_done timed out
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:55:plane-3] flip_done timed out

目前没有已知的此问题的解决方法。https://gitlab.freedesktop.org/drm/amd/-/issues/1000