Wifi 无法使用 Ubuntu impish 21.10 内核 5.13.0 Samsung Galaxy Book Flex2

Wifi 无法使用 Ubuntu impish 21.10 内核 5.13.0 Samsung Galaxy Book Flex2

社区,

我得到一个Galaxy Book Flex2(NP930QCA-KA3DE)从工作中移除。Windows 完全变成垃圾 :),格式化整个磁盘并安装 Ubuntu imprish。

正如您在日志中看到的,Wifi 无法正常工作,我在互联网和这里的帖子中找不到任何其他解决方案。尝试了一些方法,例如从 kernel.ubuntu 安装内核 5.14 或安装“hwe-edge 内核”,但都没有用。我再次使用 5.13.0 imprish 标准。所以我想一步一步地寻求您的帮助,以便我们也可以帮助其他人让这样的机器正常工作。

我必须安装 5.15 内核吗?

这是我的日志和硬件帖子:

sudo dmesg |grep iwlwifi |厕所

3

inxi-Fxxxrz

System:    Kernel: 5.13.0-20-generic x86_64 bits: 64 compiler: gcc v: 11.2.0 Console: tty pts/1 wm: gnome-shell 
           DM: GDM3 41.rc Distro: Ubuntu 21.10 (Impish Indri) 
Machine:   Type: Convertible System: SAMSUNG product: 930QCA v: P09AJN serial: <filter> Chassis: type: 31 
           serial: <filter> 
           Mobo: SAMSUNG model: NP930QCA-KA3DE v: SGLA830A0H-C01-G001-S0001+10.0.19042 serial: <filter> 
           UEFI: American Megatrends LLC. v: P09AJN.047.210930.MK date: 09/30/2021 
Battery:   ID-1: BAT1 charge: 44.0 Wh (64.9%) condition: 67.8/67.0 Wh (101.1%) volts: 15.6 min: 15.4 
           model: SAMSUNG Electronics SR Real Battery type: Li-ion serial: <filter> status: Discharging cycles: 2 
CPU:       Info: Quad Core model: 11th Gen Intel Core i5-1135G7 bits: 64 type: MT MCP arch: Tiger Lake rev: 1 cache: 
           L1: 320 KiB L2: 8 MiB L3: 8 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 38707 
           Speed: 861 MHz min/max: 400/4200 MHz volts: 0.7 V ext-clock: 100 MHz Core speeds (MHz): 1: 861 2: 912 3: 879 
           4: 569 5: 505 6: 808 7: 586 8: 544 
Graphics:  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Samsung Co driver: i915 v: kernel bus-ID: 00:02.0 
           chip-ID: 8086:9a49 class-ID: 0300 
           Device-2: Generic 720p HD Camera type: USB driver: uvcvideo bus-ID: 3-6:4 chip-ID: 2b7e:0134 class-ID: 0e02 
           serial: <filter> 
           Display: server: X.Org 1.21.1.2 compositor: gnome-shell driver: loaded: i915 note: n/a (using device driver) 
           resolution: 1920x1080~60Hz s-dpi: 96 
           OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 21.2.2 direct render: Yes 
Audio:     Device-1: Intel vendor: Samsung Co driver: N/A bus-ID: 00:05.0 chip-ID: 8086:9a19 class-ID: 0480 
           Device-2: Intel Tiger Lake-LP Smart Sound Audio vendor: Samsung Co driver: sof-audio-pci-intel-tgl 
           bus-ID: 00:1f.3 chip-ID: 8086:a0c8 class-ID: 0401 
           Sound Server-1: ALSA v: k5.13.0-20-generic running: yes 
           Sound Server-2: PulseAudio v: 15.0 running: yes 
           Sound Server-3: PipeWire v: 0.3.32 running: yes 
Network:   Device-1: Intel Wi-Fi 6 AX201 driver: N/A port: 3000 bus-ID: 00:14.3 chip-ID: 8086:a0f0 class-ID: 0280 
           IF-ID-1: usb0 state: unknown speed: -1 duplex: half mac: <filter> 
           IF-ID-2: wwan0 state: down mac: <filter> 
Bluetooth: Device-1: Samsung GT-I9070 (network tethering USB debugging enabled) type: USB driver: rndis_host v: kernel 
           bus-ID: 2-1:5 chip-ID: 04e8:6864 class-ID: 0a00 serial: <filter> 
           Device-2: Intel type: USB driver: btusb v: 0.8 bus-ID: 3-10:5 chip-ID: 8087:0026 class-ID: e001 
           Report: ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 3.0 lmp-v: 5.2 sub-v: 27a4 hci-v: 5.2 rev: 27a4 
Drives:    Local Storage: total: 238.47 GiB used: 26.2 GiB (11.0%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: MZ9LQ256HAJD-000 size: 238.47 GiB speed: 31.6 Gb/s lanes: 4 
           type: SSD serial: <filter> rev: FXV70K0Q temp: 29.9 C scheme: GPT 
Partition: ID-1: / size: 233.18 GiB used: 26.19 GiB (11.2%) fs: ext4 dev: /dev/nvme0n1p2 
           ID-2: /boot/efi size: 511 MiB used: 5.2 MiB (1.0%) fs: vfat dev: /dev/nvme0n1p1 
Swap:      ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile 
Sensors:   System Temperatures: cpu: 42.0 C mobo: 42.0 C 
           Fan Speeds (RPM): N/A 
Repos:     Packages: 1855 apt: 1848 snap: 7 
           Active apt repos in: /etc/apt/sources.list 
           1: deb http://de.archive.ubuntu.com/ubuntu/ impish main restricted
           2: deb http://de.archive.ubuntu.com/ubuntu/ impish-updates main restricted
           3: deb http://de.archive.ubuntu.com/ubuntu/ impish universe
           4: deb http://de.archive.ubuntu.com/ubuntu/ impish-updates universe
           5: deb http://de.archive.ubuntu.com/ubuntu/ impish multiverse
           6: deb http://de.archive.ubuntu.com/ubuntu/ impish-updates multiverse
           7: deb http://de.archive.ubuntu.com/ubuntu/ impish-backports main restricted universe multiverse
           8: deb http://archive.canonical.com/ubuntu impish partner
           9: deb http://security.ubuntu.com/ubuntu impish-security main restricted
           10: deb http://security.ubuntu.com/ubuntu impish-security universe
           11: deb http://security.ubuntu.com/ubuntu impish-security multiverse
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
           1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
           No active apt repos in: /etc/apt/sources.list.d/fingerprint-ubuntu-fingerprint-gui-impish.list 
           No active apt repos in: /etc/apt/sources.list.d/yann1ck-ubuntu-onedrive-impish.list 
Info:      Processes: 285 Uptime: 29m wakeups: 5656 Memory: 15.31 GiB used: 1.78 GiB (11.6%) Init: systemd v: 248 
           runlevel: 5 Compilers: gcc: 11.2.0 alt: 11 Shell: sh (sudo) default: Bash v: 5.1.8 running-in: gnome-terminal 
           inxi: 3.3.06 

请参阅lspci-nnk| grep -iA3 净

00:14.3 Network controller [0280]: Intel Corporation Wi-Fi 6 AX201 [8086:a0f0] (rev 20)
    DeviceName: Onboard - Ethernet
    Subsystem: Intel Corporation Wi-Fi 6 AX201 [8086:6074]
    Kernel modules: iwlwifi
00:15.0 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 [8086:a0e8] (rev 20)

mokutil --sb-state

SecureBoot disabled

rfkill 列表


0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

sudo lshw -c 网络

  *-network UNGEFORDERT     
       Beschreibung: Network controller
       Produkt: Wi-Fi 6 AX201
       Hersteller: Intel Corporation
       Physische ID: 14.3
       Bus-Informationen: pci@0000:00:14.3
       Version: 20
       Breite: 64 bits
       Takt: 33MHz
       Fähigkeiten: pm msi pciexpress msix cap_list
       Konfiguration: latency=0
       Ressourcen: iomemory:600-5ff memory:603e194000-603e197fff

apt info linux-firmware | grep 版本

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Version: 1.201

lsmod | grep iwlwifi

iwlwifi               376832  0
cfg80211              892928  1 iwlwifi

modinfo iwlwifi | grep -i 版本

version:        iwlwifi-stack-public:master:9340:55438a77
srcversion:     AD96E4B93D6EAEDECF9FBE5
vermagic:       5.13.0-20-generic SMP mod_unload modversions 

modprobe iwlwifi

消息 | grep -i iwl

[    6.274532] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[    6.275582] iwlwifi: No config found for PCI dev a0f0/6074, rev=0x354, rfid=0x10a100
[    6.297736] iwlwifi: probe of 0000:00:14.3 failed with error -22

dkms 状态

backport-iwlwifi, 9340, 5.13.0-20-generic, x86_64: installed

ls -al /lib/firmware/iwlwifi*.p*

-rw-r--r-- 1 root root 41804 Okt 23 13:46 /lib/firmware/iwlwifi-so-a0-gf-a0.pnvm
-rw-r--r-- 1 root root 27480 Okt 23 13:46 /lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm

回音结束

答案1

卸载这个...

sudo apt-get purge backport-iwlwifi-dkms

dkms status# 不再显示 backport-iwlwifi

reboot

我们将重命名这两个文件...

-rw-r--r-- 1 root root 41804 Okt 23 13:46 /lib/firmware/iwlwifi-so-a0-gf-a0.pnvm
-rw-r--r-- 1 root root 27480 Okt 23 13:46 /lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm

cd /lib/firmware

sudo mv iwlwifi-so-a0-gf-a0.pnvm iwlwifi-so-a0-gf-a0.pnvm.HOLD

sudo mv iwlwifi-ty-a0-gf-a0.pnvm iwlwifi-ty-a0-gf-a0.pnvm.HOLD

reboot

重新测试网络。

更新#1:

笔记:摘录/编辑自Intel AX201 Wi-Fi 6 无法在 Ubuntu 21.04 上运行

问题出在 iwlwifi 内核模块上。它无法识别最新的 Intel AX201 调制解调器卡。为什么?因为 iwlwifi 不是针对 Intel AX201 的设备代码进行编码的!

让我们修补 iwlwifi 内核模块,以便它可以与 Intel AX201 一起工作。

  • (重新)安装backport-iwlwifi-dkms

    • sudo apt update

    • sudo apt install backport-iwlwifi-dkms

    • 在内核 > 5.4.0 上将无法完全安装。这是预料之中的。

    • 该软件将源代码安装到/usr/src/backport-iwlwifi-9340

  • 编辑dkms.conf源代码目录中的文件/usr/src/backport-iwlwifi-9340

    • sudo -H gedit /usr/src/backport-iwlwifi-9340/dkms.conf

    • 编辑文件并更改OBSOLETE_BY="5.4.0"#OBSOLETE_BY="5.4.0"

  • 编辑drv.c源代码目录中的文件/usr/src/backport-iwlwifi-9340/drivers/net/wireless/intel/iwlwifi/pcie

    • sudo -H gedit /usr/src/backport-iwlwifi-9340/drivers/net/wireless/intel/iwlwifi/pcie/drv.c

    • 在 Gedit 偏好设置中启用“显示行号”

    • 在 #447-#448 处的其他 0xA0F0 ID 行下方添加以下行...

      IWL_DEV_INFO(0xA0F0, 0x6074, iwl_ax201_cfg_qu_hr, NULL),

  • 重建修补后的 dkms 模块

    • sudo dkms remove backport-iwlwifi/9340

    • sudo dkms add backport-iwlwifi/9340

    • sudo dkms build backport-iwlwifi/9340

    • sudo dkms install backport-iwlwifi/9340

  • 正常重启

重新测试网络。

答案2

/etc/apt/sources.list.d/yann1ck-ubuntu-onedrive-impish.list 中没有活动的 apt 存储库

披露:我是 Linux 版 OneDrive 客户端的开发人员 -https://github.com/abraunegg/onedrive

请停止使用此 PPA Repo。它包含过时的 OneDrive 客户端软件。请按照以下说明正确安装客户端:https://github.com/abraunegg/onedrive/blob/master/docs/ubuntu-package-install.md

相关内容