在 Ubuntu 2x.04 下,联想 Thinkpad P14s 上的以太网和 WiFi 适配器均无法工作

在 Ubuntu 2x.04 下,联想 Thinkpad P14s 上的以太网和 WiFi 适配器均无法工作

我最近收到了我的新电脑,一台联想 Thinkpad P14s 笔记本。根据数据表,它配备了 Realtek RTL8852AE(WiFi-6、802.11ax、2x2 双频)WiFi 适配器和一个标准 RJ45 以太网端口。

但是,安装 Ubuntu 20.04 LTS 后,根本没有 WiFi 可用。我在网上做了一些研究,发现有人建议安装 Ubuntu 21.04。但是,这也行不通。现在,我拿了一根 LAN 电缆,并尝试通过以太网连接,但发现这也行不通,尽管系统显示其中一个以太网适配器正在连接(但从未完成连接)。

一些输出:

nmcli device
DEVICE    TYPE     STATE       CONNECTION
enp2s0f0  ethernet unavailable --
enp5s0    ethernet unavailable --
lo        loopback unmanaed    --

sudo lshw -class network
*-network
    description: Ethernet interface
    product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
    ...
    logical name: enp2s0f0
    ...
*-network UNCLAIMED
    description: Network controller
    product: Realtec Semiconductor Co., Ltd. 
    ...
*-network 
    description: Ethernet interface
    product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
    logical name: enp5s0 

除了回到 Windows 之外,我还能做什么来让该系统正常工作?我不是 Linux 专家,所以我正在寻找最简单的解决方案。

编辑 1:附加输出

nmcli device show

GENERAL.DEVICE:          enp2s0f0
GENERAL.TYPE:            ethernet
GENERAL.HWADDR:          38:F3:AB:F4:42:13
GENERAL.MTU:             1500
GENERAL.STATE:           20 (unavailable)
GENERAL.CONNECTION:      --
GENERAL.CON-PATH:        --
WIRED-PROPERTIES.CARRIER:off

GENERAL.DEVICE:          enp5s0
GENERAL.TYPE:            ethernet
GENERAL.HWADDR:          38:F3:AB:F4:42:12
GENERAL.MTU:             1500
GENERAL.STATE:           20 (unavailable)
GENERAL.CONNECTION:      --
GENERAL.CON-PATH:        --
WIRED-PROPERTIES.CARRIER:off

GENERAL.DEVICE:          lo
GENERAL.TYPE:            loopback
GENERAL.HWADDR:          00:00:00:00:00:00
GENERAL.MTU:             65536
GENERAL.STATE:           10 (unmanaged)
lines 1-23...skipping...
GENERAL.DEVICE:          enp2s0f0
GENERAL.TYPE:            ethernet
GENERAL.HWADDR:          38:F3:AB:F4:42:13
GENERAL.MTU:             1500
GENERAL.STATE:           20 (unavailable)
GENERAL.CONNECTION:      --
GENERAL.CON-PATH:        --
WIRED-PROPERTIES.CARRIER:off

GENERAL.DEVICE:          enp5s0
GENERAL.TYPE:            ethernet
GENERAL.HWADDR:          38:F3:AB:F4:42:12
GENERAL.MTU:             1500
GENERAL.STATE:           20 (unavailable)
GENERAL.CONNECTION:      --
GENERAL.CON-PATH:        --
WIRED-PROPERTIES.CARRIER:off

GENERAL.DEVICE:          lo
GENERAL.TYPE:            loopback
GENERAL.HWADDR:          00:00:00:00:00:00
GENERAL.MTU:             65536
GENERAL.STATE:           10 (unmanaged)
GENERAL.CONNECTION:      --
GENERAL.CON-PATH:        --
IP4.ADDRESS[1]:          127.0.0.1/8
IP4.GATEWAY:             --
IP6.ADDRESS[1]:          ::1/128
IP6.GATEWAY:             --
IP6.ROUTE[1]:            dst = ::1/128, nh = ::, mt = 256        

编辑 2:附加输出

lsmod
Module                  Size  Used by
rfcomm                 81920  4
cmac                   16384  3
algif_hash             16384  1
algif_skcipher         16384  1
af_alg                 28672  6 algif_hash,algif_skcipher
bnep                   28672  2
intel_rapl_msr         20480  0
intel_rapl_common      24576  1 intel_rapl_msr
snd_soc_dmic           16384  1
snd_acp3x_rn           16384  2
snd_acp3x_pdm_dma      16384  1
edac_mce_amd           32768  0
nls_iso8859_1          16384  1
amdgpu               6385664  2
snd_soc_core          290816  3 snd_acp3x_rn,snd_soc_dmic,snd_acp3x_pdm_dma
snd_compress           28672  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_ctl_led            24576  0
kvm_amd               126976  0
snd_hda_codec_realtek   147456  1
snd_hda_codec_generic    81920  1 snd_hda_codec_realtek
kvm                   872448  1 kvm_amd
crct10dif_pclmul       16384  1
ghash_clmulni_intel    16384  0
uvcvideo              106496  0
videobuf2_vmalloc      20480  1 uvcvideo
btusb                  61440  0
snd_hda_codec_hdmi     61440  1
btrtl                  24576  1 btusb
aesni_intel           376832  4
iommu_v2               24576  1 amdgpu
btbcm                  16384  1 btusb
videobuf2_memops       20480  1 videobuf2_vmalloc
gpu_sched              36864  1 amdgpu
btintel                32768  1 btusb
crypto_simd            16384  1 aesni_intel
videobuf2_v4l2         32768  1 uvcvideo
drm_ttm_helper         16384  1 amdgpu
cryptd                 24576  3 crypto_simd,ghash_clmulni_intel
bluetooth             663552  33 btrtl,btintel,btbcm,bnep,btusb,rfcomm
ttm                    69632  2 amdgpu,drm_ttm_helper
videobuf2_common       61440  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
snd_hda_intel          53248  9
joydev                 28672  0
input_leds             16384  0
snd_intel_dspcfg       28672  1 snd_hda_intel
rapl                   20480  0
videodev              249856  3 videobuf2_v4l2,uvcvideo,videobuf2_common
serio_raw              20480  0
ecdh_generic           16384  2 bluetooth
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
ecc                    36864  1 ecdh_generic
efi_pstore             16384  0
thinkpad_acpi         114688  0
drm_kms_helper        262144  1 amdgpu
mc                     57344  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
snd_hda_codec         147456  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_seq_midi           20480  0
nvram                  16384  1 thinkpad_acpi
wmi_bmof               16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
platform_profile       16384  1 thinkpad_acpi
cec                    53248  1 drm_kms_helper
ledtrig_audio          16384  3 snd_ctl_led,snd_hda_codec_generic,thinkpad_acpi
snd_hda_core           94208  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
rc_core                57344  1 cec
snd_rawmidi            36864  1 snd_seq_midi
ccp                   102400  1 kvm_amd
i2c_algo_bit           16384  1 amdgpu
fb_sys_fops            16384  1 drm_kms_helper
snd_hwdep              16384  1 snd_hda_codec
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
snd_pcm               118784  8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_compress,snd_soc_core,snd_hda_core,snd_acp3x_pdm_dma,snd_pcm_dmaengine
snd_seq                73728  2 snd_seq_midi,snd_seq_midi_event
snd_rn_pci_acp3x       20480  0
snd_pci_acp3x          20480  0
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer              40960  2 snd_seq,snd_pcm
ucsi_acpi              16384  0
typec_ucsi             45056  1 ucsi_acpi
typec                  57344  1 typec_ucsi
snd                    94208  37 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm,snd_rawmidi
soundcore              16384  2 snd_ctl_led,snd
nxp_nci_i2c            20480  0
nxp_nci                16384  1 nxp_nci_i2c
nci                    73728  2 nxp_nci,nxp_nci_i2c
nfc                   118784  2 nci,nxp_nci
amd_pmc                20480  0
mac_hid                16384  0
sch_fq_codel           20480  3
msr                    16384  0
parport_pc             45056  0
ppdev                  24576  0
lp                     20480  0
parport                65536  3 parport_pc,lp,ppdev
drm                   561152  7 gpu_sched,drm_kms_helper,amdgpu,drm_ttm_helper,ttm
ip_tables              32768  0
x_tables               49152  1 ip_tables
autofs4                45056  2
crc32_pclmul           16384  0
sdhci_pci              65536  0
r8169                  94208  0
nvme                   45056  2
cqhci                  32768  1 sdhci_pci
xhci_pci               20480  0
psmouse               159744  0
i2c_piix4              28672  0
xhci_pci_renesas       20480  1 xhci_pci
nvme_core             126976  3 nvme
sdhci                  69632  1 sdhci_pci
realtek                32768  2
wmi                    32768  1 wmi_bmof
video                  53248  1 thinkpad_acpi
i2c_scmi               20480  0

答案1

经过几天的网上研究和尝试各种可能的解决方案,我终于找到了解决方案。它很简单:

sudo apt install linux-oem-20.04d

正如在处理驱动程序的 Github 存储库中出现的问题所示(https://github.com/lwfinger/rtw89/issues/75),Ubuntu 20.04 的 OEM 版本确实已经包含驱动程序。我试过了,效果很好。

注意:在此之前,我致电了联想 Premier Support,他们告诉我问题恰恰出在联想 Thinkpad P14s 的第 2 代变体上,因为这款笔记本不正式支持 Ubuntu,而对于第 1 代变体,Ubuntu 社区已经包含了认可的驱动程序。

相关内容