1

I am getting a hard time to enable wifi on legion 530 with Ubuntu 20.04.

Things I tried so far,

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

I could see wifi enabled but it was not able to detect any available networks.

Then I tried:

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

I would really appreciate any help.

Details: OS: Ubuntu 20.04 Wifi: Realtek r8822be Laptop: Lenovo Legion

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

I have even tried following steps but that didn't made any difference

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: Things worked perfectly over Ubuntu 18.04

  • Please edit your question and add output of lspci -knn | grep Net -A3; rfkill list terminal command. – Pilot6 May 6 at 12:09
  • Updated the question – Nitish Bhardwaj May 6 at 12:42
  • Did you install drivers on 18.04? It looks that the new rtw_pci is not perfect. – Pilot6 May 6 at 12:45
  • Please edit the question and add output of dmesg | grep rtw – Pilot6 May 6 at 12:49
  • I don't remember it now. But, I actually did a fresh installation of 20.04. Deleted 18.04 completely – Nitish Bhardwaj May 6 at 13:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.