Realtek 8822CE wifi not working but bluetooth working
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 videos on Youtube
Paolo Gasparro
Updated on September 18, 2022Comments
-
Paolo Gasparro over 1 year
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.-
Pilot6 about 4 yearsDoes this answer your question? Realtek RTL8822CE is unable to detect WiFi networks
-
Paolo Gasparro about 4 yearsunfortunately not. I tried that but it doesn't work for me
-
Pilot6 about 4 yearsPlease edit your question and add output of
lspci -knn | grep Net -A3; rfkill list
terminal command. And alsodmesg | grep rtw
. -
Paolo Gasparro about 4 yearsok I just added the output of the commands you requested
-
Pilot6 about 4 yearsWhy do you think it is rtl8822ce? It is not detected by kernel at all.
-
Paolo Gasparro about 4 yearsbecause on windows 10 under the device manager, it shows up as "Realtek 8822CE"
-
Pilot6 about 4 yearsI couldn't find any drivers that support
[10ec:c82f]
.
-
-
Pilot6 about 4 yearsWelcome to AskUbuntu! This is a good catch, but not a full answer. The other answer may be removed, etc. Please write a full answer, or sugest an edit to the @yaron160 answer.
-
Pilot6 about 4 yearsAnd also I don't see
rtw_8822ce.mod.c
file there. -
Pilot6 about 4 yearsWhere did you get the code dated today?
-
user68186 about 4 yearsWelcome to Ask Ubuntu. This is a question answer site. Incomplete and low quality answers are likely to be deleted by moderators. An link only answer is considered incomplete, as links change or fail after a time. Consider editing your answer and make it self standing and complete. This will help others.
-
Prasanna about 4 yearsThanks everyone for your suggestions. I've had a long day today trying to find the answer. Will update sometime soon (hopefully tomorrow) to be used for my future reference as well. There is a clear set of steps I ended up following that I'll list down
-
Prasanna about 4 years@Pilot6 Thanks. Edited my original post. I just checked out the latest code (dated today) :)
-
Pilot6 about 4 yearsI see that the latest commit was on May 15. I fixed the file name.
-
Prasanna about 4 yearsThanks again for your kind inputs Pilot6 and @user68186