web-dev-qa-db-fra.com

Les conducteurs Realtek ne fonctionnent pas avec Ubuntu 20.04 noyau: 5.4

Je suis difficile pour activer le WiFi sur la Légion 530 avec Ubuntu 20.04.

Choses que j'ai essayées jusqu'à présent,

Sudo tee /etc/modprobe.d/blacklist-ideapad.conf <<< "blacklist ideapad_laptop"
rebooted

Je pouvais voir WiFi activé mais il n'a pas été capable de détecter des réseaux disponibles.

Puis j'ai essayé:

echo "options r8822be aspm=0" | Sudo tee /etc/modprobe.d/r8822be.conf
Sudo rmmod r8822be
rmmod: ERROR: Module r8822be is not currently loaded

J'apprécierais vraiment toute aide.

Détails: OS: Ubuntu 20.04 WiFi: Realtek R8822BE Ordinateur portable: Lenovo Lagion

nitish@Lenovo-Legion-Y530:~/rtlwifi_new$ lspci -knn | grep Net -A3; rfkill list
07:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter [10ec:b822] (rev ff)
    Kernel driver in use: rtw_pci
    Kernel modules: rtwpci
08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
0: hci0: Bluetooth
    Soft blocked: yes
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no


nitish@Lenovo-Legion-Y530:~/rtlwifi_new$ dmesg | grep rtw
[   11.697579] rtw_pci 0000:07:00.0: Firmware version 13.1.0, H2C version 6
[   11.839161] rtw_pci 0000:07:00.0 wlp7s0f0: renamed from wlan0
[   31.153772] rtw_pci 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   31.153779] rtw_pci 0000:07:00.0: mac power on failed
[   31.153780] rtw_pci 0000:07:00.0: failed to power on mac
[   33.597618] rtw_pci 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   33.597625] rtw_pci 0000:07:00.0: mac power on failed
[   33.597627] rtw_pci 0000:07:00.0: failed to power on mac
[   35.760004] rtw_pci 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   35.760012] rtw_pci 0000:07:00.0: mac power on failed
[   35.760013] rtw_pci 0000:07:00.0: failed to power on mac
[   48.181900] rtw_pci 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   48.181908] rtw_pci 0000:07:00.0: mac power on failed
[   48.181909] rtw_pci 0000:07:00.0: failed to power on mac
[   50.349350] rtw_pci 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   50.349357] rtw_pci 0000:07:00.0: mac power on failed
[   50.349359] rtw_pci 0000:07:00.0: failed to power on mac
[   63.186854] rtw_pci 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   63.186861] rtw_pci 0000:07:00.0: mac power on failed
[   63.186862] rtw_pci 0000:07:00.0: failed to power on mac
[   65.355119] rtw_pci 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   65.355126] rtw_pci 0000:07:00.0: mac power on failed
[   65.355127] rtw_pci 0000:07:00.0: failed to power on mac
[   78.161145] rtw_pci 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   78.161153] rtw_pci 0000:07:00.0: mac power on failed
[   78.161154] rtw_pci 0000:07:00.0: failed to power on mac
[   80.334851] rtw_pci 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   80.334858] rtw_pci 0000:07:00.0: mac power on failed
[   80.334859] rtw_pci 0000:07:00.0: failed to power on mac
[   93.061333] rtw_pci 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   93.061340] rtw_pci 0000:07:00.0: mac power on failed
[   93.061341] rtw_pci 0000:07:00.0: failed to power on mac
[   95.231662] rtw_pci 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[   95.231669] rtw_pci 0000:07:00.0: mac power on failed
[   95.231669] rtw_pci 0000:07:00.0: failed to power on mac
[  108.036114] rtw_pci 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  108.036122] rtw_pci 0000:07:00.0: mac power on failed
[  108.036123] rtw_pci 0000:07:00.0: failed to power on mac
[  110.205476] rtw_pci 0000:07:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
[  110.205483] rtw_pci 0000:07:00.0: mac power on failed
[  110.205484] rtw_pci 0000:07:00.0: failed to power on mac

J'ai même essayé de suivre les étapes suivantes mais cela n'a fait aucune différence

git clone https://github.com/lwfinger/rtlwifi_new.git

cd rtlwifi_new
git checkout extended
make
Sudo make install
Sudo modprobe -r rtl8822be
Sudo modprobe rtl8822be

[~ # ~] note [~ # ~ ~]: Les choses fonctionnaient parfaitement sur Ubuntu 18.04

5
Nitish Bhardwaj

J'ai Lenovo Ideapad 530s, après la mise à niveau vers Ubuntu 20.04 à partir de 18.04 Wi-Fi a cessé de fonctionner.

Ce post m'a aidé: https://askabubuntu.com/a/1271087/972111

Sudo apt install build-essential git
git clone https://github.com/mid-kid/r8822be.git
cd r8822be
./make

# remove the misbehaving rtw88 module
Sudo rmmod rtwpci rtw88

# install the r8822be module
Sudo ./make install
Sudo modprobe r8822be
Sudo reboot
1
Bulat