Ubuntu – Realtek 8822CE wifi not working but bluetooth working


I tried to install both Ubuntu 18.04.4 LTS and Ubuntu 19.10 but I'm facing the same issue: I am able to use bluetooth but wifi adapter is not detected.
I checked on my Lenovo laptop's BIOS and I have "Secure boot" disabled so I really don't know what to do.
Can you please help me? Thanks.

This is the output of the command lspci -knn | grep Net -A3; rfkill list:

01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c82f]
Subsystem: Lenovo Device [17aa:c02f]
06:00.0 Non-Volatile memory controller [0108]: Sandisk Corp Device [15b7:5005] (rev 01)
Subsystem: Sandisk Corp Device [15b7:5005]
0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
1: ideapad_bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no

While the output of the command dmesg | grep rtw is empty.

Best Answer

I had the same problem, and I finally found a solution. See here.

In short: it turns out the driver that should support this hardware (rtw88) was available and compatible with this hardware already in kernel > 5.2, but it is not set to recognize this hardware.

To fix the problem I had to compile linux kernel with a small modification to the source code:

Locate the file: ./linux/drivers/net/wireless/realtek/rtw88/pci.c, and edit it. Look for the string '0xC822', and replace it with '0xC82F'

Related Question