I propose a workaround (which is not very elegant)
When you are using a kernel 5.0.0.21 or higher
sudo modprobe -r r8822be rtwpci
sudo modprobe  r8822be rtwpci
  
In this case, you recover the wifi
and if you type 
lspci -nnk | grep 0280 -A3
you will see 
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8822BE 
802.11a/b/g/n/ac WiFi adapter [10ec:b822]
        Subsystem: AzureWave RTL8822BE 802.11a/b/g/n/ac WiFi adapter [1a3b:2950]
        Kernel driver in use: r8822be
        Kernel modules: rtwpci, r8822be

If you try the same command before this trick I obtain
Kernel driver in use: rtw_pci

By changing the loading order of the modules, the wifi works again.
IF you know a more elegant way to load the modules, I am very interested

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1838133

Title:
  realtek r8822be kernel module fails after update to linux kernel-
  headers 5.0.0-21

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1838133/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to