Intel wi fi 6e ax210 linux

Проблема

В наличии ноутбук (Honor MagicBook Pro 16 2020 AMD Ryzen 4800H) с Ubuntu 20.10, ядро 5.11.10-051110-lowlatency.
Его дефолтный Wifi-адаптер Realtek RTL8822CE был заменен на Intel AX210NGW.
После перезагрузки Wi-Fi не завелся. В выводе lspci такое:

$ lspci . 01:00.0 Network controller: Intel Corporation Device 2725 (rev 1a) .

Однако, iwconfig не признает адаптер в качестве Wi-Fiхотя rfkill list всё показывает.
В сообщениях ядра среди всего прочего такое:

bluetooth hci0: Direct firmware load for intel/ibt-0041-0041.sfi failed with error -2

Решение

Оказалось, что поддержка этого железа в Linux появидась совсем недавно, в ядре 5.10 и для того, чтобы все заработало нужно загрузить фирмварь адаптера.
Для Ubuntu это можно сделать двумя путями. Либо — скачать фирмварь отсюда: https://www.intel.com/content/www/us/en/support/articles/000005511/wireless.html или отсюда https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi и распаковать его в /lib/firmware/
Перезагружаемся или выполняем:

sudo rmmod iwlwifi sudo modprobe iwlwifi

После этих манипуляций заработал WiFi, но не bluetooth. Второй (и более предпочтительный) вариант получения фирмвари — установить пакет linux-firmware версии не ниже 1.196 (из состава еще не вышедшей на данный момент Ubuntu 21.04) отсюда: https://launchpad.net/ubuntu/+source/linux-firmware
После скачивания устанавливаем пакет и перезапускаем модули, обеспечивающие работу bluetooth:

sudo apt-get install ~/Downloads/linux-firmware_1.196_all.deb sudo rmmod btusb && sudo rmmod btintel sudo modprobe btusb

Однако, с новым пакетом linux-firmware оказалось не все так просто. Я запустил Wifi с помощью скачаной фирмвари (без перезагрузки, путем перезапуска модуля), потом накатил новый linux-firmware и тоже перезапустил модули. В итоге всё заработало, но после перезагрузки пропал Wi-Fi. Очевидно, что новый пакет linux-firmware что-то делает с порядком загрузки модулей или фирмварей или еще с чем-то и Wi-Fi умирает.
В итоге выход был найден такой. Я снес новый linux-firmware и откатился на стандартный пакет linux-firmware из стабильного репозитория, затем поглядел в логах какой именной файл фирмвари пытается загрузить модуль btintel (это оказались файлы intel/ibt-0041-0041.sfi и intel/ibt-0041-0041.ddc) и извлек их из пакета и положил вручную в директорию /lib/firmware/intel/. Ну и затем еще раз скопировал в /lib/firmware/ файлы с фирмварью Wi-Fi. В итоге — всё нормально заводится и после перезагрузок.

Читайте также:  Linux all nopasswd all

На всякий случай архив с firmware для Wi-Fi и Bluetooth для адаптера Intel AX210NGW сохранил у себя — ax210ngw-firmware.tar.gz

Источник

Ubuntu 20.04 LTS driver Intel Wi-Fi 6E AX210 160MHz

After a fresh install of Ubuntu 20.04 LTS on my new Razer Blade 15 Advanced Model (Early 2021) — RZ09-036, I am unable to use Wifi or Bluetooth. It’s a common problem as here. Wifi and Bluetooth settings are just flickering and are unresponsible. I have tried cold booting, installing new firmware, following this post, and nothing that I could find online solved my issue. Please see a linked screenshot of error messages when shutting down the laptop. In case you need any more information, please let me know. Screenshots of error messages on my post Intel community forum Can someone help with this issue, for me, it’s critical that I can establish a normal workflow on this laptop on Ubuntu (can also be any other version if it’s going to work). EDIT: 1

[ 73.765733] Bluetooth: hci0: Reading Intel version information failed (-22) [ 73.765743] Bluetooth: hci0: Intel Read version failed (-22) [ 73.765844] Bluetooth: hci0: Intel reset sent to retry FW download [ 74.365767] Bluetooth: hci0: Reading Intel version information failed (-22) [ 74.365776] Bluetooth: hci0: Intel Read version failed (-22) [ 74.365885] Bluetooth: hci0: Intel reset sent to retry FW download [ 74.964725] Bluetooth: hci0: Reading Intel version information failed (-22) [ 74.964734] Bluetooth: hci0: Intel Read version failed (-22) [ 74.964829] Bluetooth: hci0: Intel reset sent to retry FW download [ 75.561751] Bluetooth: hci0: Reading Intel version information failed (-22) [ 75.561759] Bluetooth: hci0: Intel Read version failed (-22) [ 75.561840] Bluetooth: hci0: Intel reset sent to retry FW download [ 76.161701] Bluetooth: hci0: Reading Intel version information failed (-22) [ 76.161710] Bluetooth: hci0: Intel Read version failed (-22) [ 76.161820] Bluetooth: hci0: Intel reset sent to retry FW download [ 76.759799] Bluetooth: hci0: Reading Intel version information failed (-22) [ 76.759806] Bluetooth: hci0: Intel Read version failed (-22) . . . it continues . 
user@Razer-LT:~$ lspci -nnk | grep 0280 -A3 03:00.0 Network controller [0280]: Intel Corporation Device [8086:2725] (rev 1a) Subsystem: Intel Corporation Device [8086:0024] Kernel modules: iwlwifi 04:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 [144d:a808] 

I’ve also tried on Ubuntu 20.10 and I got the same issue. For now, I managed to get an Internet connection by using USB-c to LAN adapter. Iam using this kernel:

user@Razer-LT:~$ uname -r 5.8.0-48-generic 

FINAL SOLUTION: Update the kernel to 5.10. Keep in mind that I’ve decided to wait and rather used an external Wifi-adapter, Bluetooth transmitter, duo to possible brakes of a system.

Источник

Читайте также:  Linux font in windows

Get Intel AX210 Wireless Adapters Working on Linux

The Intel® Wi-Fi 6E AX210 wireless adapter supports Wi-Fi 6E technology(6 GHz). It’s a good fit if you happen to have a Wi-Fi 6E router. However, getting it working(and keeping it working) on Linux might be a little trickier than you think.

Before You Purchase the Hardware

Intel AX210 depends on the driver named iwlwifi and the minimum supported Linux kernel version is 5.10. Make sure your kernel version applies.

If your kernel version is 5.10 or greater, there’s a good chance that the driver is already shipped with your distribution. To check:

ls /lib/firmware/ | grep iwlwifi- 

If you cannot upgrade your kernel version to 5.10 or better, there’s an iwlwifi backport but the road is bumpy.

Have you… plugged in?

Yeah, we all have got an awkward time when we are trying to dig out the software fault while the hardware turns out to be blamed.

Your lspci should output something like the following if the AX210 is successfully installed on the motherboard:

06:00.0 Network controller: Intel Corporation Device 2725 (rev 1a) 

AX210 Stops Working after Update

apt and yum by default upgrade Linux kernel version, which may stop AX210 from working if your kernel version is between 5.10 and 5.15.

During system boot, there are messages like Timeout waiting for PNVM load! and you can use dmesg in the terminal to see it more clearly.

Gladly we have got a walkaround:

sudo mv /usr/lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm /usr/lib/firmware/iwlwifi-ty-a0-gf-a0.bak 

Reboot and you should be fine.

Sadly every time the kernel upgrade brings a new offending iwlwifi-ty-a0-gf-a0.pnvm , the process shall be repeated if your AX210 slacks off again. _(:зゝ∠)_

Читайте также:  Hevc для linux mint

AX210 Stops Working after Update (and the walkaround is not working)

For Linux kernel version above 5.15, it seems iwlwifi-ty-a0-gf-a0.pnvm does not offend the kernel anymore so let’s restore it:

sudo mv /usr/lib/firmware/iwlwifi-ty-a0-gf-a0.bak /usr/lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm 

How about the Bluetooth?

Alas, I never got it worked. Good luck.

Please tell me(leave a comment below or drop me an email) the trick if you manage to make the Bluetooth work. 😀

Reference

You are the one like me, of the many, who encounters this problem. You are not alone. 🙂

Источник

Оцените статью
Adblock
detector