Realtek 8822CE wifi not working but bluetooth working

9,536

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'

Share:
9,536

Related videos on Youtube

Paolo Gasparro
Author by

Paolo Gasparro

Updated on September 18, 2022

Comments

  • Paolo Gasparro
    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
      Pilot6 about 4 years
      Does this answer your question? Realtek RTL8822CE is unable to detect WiFi networks
    • Paolo Gasparro
      Paolo Gasparro about 4 years
      unfortunately not. I tried that but it doesn't work for me
    • Pilot6
      Pilot6 about 4 years
      Please edit your question and add output of lspci -knn | grep Net -A3; rfkill list terminal command. And also dmesg | grep rtw.
    • Paolo Gasparro
      Paolo Gasparro about 4 years
      ok I just added the output of the commands you requested
    • Pilot6
      Pilot6 about 4 years
      Why do you think it is rtl8822ce? It is not detected by kernel at all.
    • Paolo Gasparro
      Paolo Gasparro about 4 years
      because on windows 10 under the device manager, it shows up as "Realtek 8822CE"
    • Pilot6
      Pilot6 about 4 years
      I couldn't find any drivers that support [10ec:c82f].
  • Pilot6
    Pilot6 about 4 years
    Welcome 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
    Pilot6 about 4 years
    And also I don't see rtw_8822ce.mod.c file there.
  • Pilot6
    Pilot6 about 4 years
    Where did you get the code dated today?
  • user68186
    user68186 about 4 years
    Welcome 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
    Prasanna about 4 years
    Thanks 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
    Prasanna about 4 years
    @Pilot6 Thanks. Edited my original post. I just checked out the latest code (dated today) :)
  • Pilot6
    Pilot6 about 4 years
    I see that the latest commit was on May 15. I fixed the file name.
  • Prasanna
    Prasanna about 4 years
    Thanks again for your kind inputs Pilot6 and @user68186