RTL8821ce not working

My Problem

  • Every time i suspend my Laptop and wake it up wifi does not work anymore
    • It doesnt show any wireless connections anymore
    • and when i reboot the card doesnt use ANY drivers
    • i have to shutdown wait 5 sec and boot again
  • Currently i am using the rtw88-dkms-git Driver but it still does not work
  • I tried the rtl8821ce-dkms-git aswell, still nothing

My System-Information

  • I am Dualbooting with windows 11
Network:
  Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtw_8821ce v: kernel modules: rtw88_8821ce
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 4000 bus-ID: 02:00.0
    chip-ID: 10ec:c821 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  IF-ID-1: br-e9a21f0b650f state: down mac: <filter>
  IF-ID-2: docker0 state: down mac: <filter>
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
        Subsystem: Hewlett-Packard Company Device 84bf
        Flags: bus master, fast devsel, latency 0
        Capabilities: <access denied>
        Kernel driver in use: skl_uncore

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07) (prog-if 00 [VGA controller])
        DeviceName: Intel Kabylake UHD Graphics ULT GT2
        Subsystem: Hewlett-Packard Company Device 84bf
        Flags: bus master, fast devsel, latency 0, IRQ 129
        Memory at b2000000 (64-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 6000 [size=64]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915

00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
        Subsystem: Hewlett-Packard Company Device 84bf
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at b4220000 (64-bit, non-prefetchable) [size=32K]
        Capabilities: <access denied>
        Kernel driver in use: proc_thermal
        Kernel modules: processor_thermal_device_pci_legacy

00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21) (prog-if 30 [XHCI])
        Subsystem: Hewlett-Packard Company Device 84bf
        Flags: bus master, medium devsel, latency 0, IRQ 126
        Memory at b4200000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
        Subsystem: Hewlett-Packard Company Device 84bf
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Memory at b4232000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: intel_pch_thermal
        Kernel modules: intel_pch_thermal

00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
        Subsystem: Hewlett-Packard Company Device 84bf
        Flags: bus master, fast devsel, latency 0, IRQ 127
        Memory at b4233000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: mei_me
        Kernel modules: mei_me

00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21) (prog-if 01 [AHCI 1.0])
        Subsystem: Hewlett-Packard Company Device 84bf
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 125
        Memory at b4230000 (32-bit, non-prefetchable) [size=8K]
        Memory at b4236000 (32-bit, non-prefetchable) [size=256]
        I/O ports at 6080 [size=8]
        I/O ports at 6088 [size=4]
        I/O ports at 6060 [size=32]
        Memory at b4234000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: <access denied>
        Kernel driver in use: ahci

00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1) (prog-if 00 [Normal decode])
        Subsystem: Hewlett-Packard Company Device 84bf
        Flags: bus master, fast devsel, latency 0, IRQ 122
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 5000-5fff [size=4K] [16-bit]
        Memory behind bridge: b3000000-b3ffffff [size=16M] [32-bit]
        Prefetchable memory behind bridge: a0000000-b1ffffff [size=288M] [32-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1) (prog-if 00 [Normal decode])
        Subsystem: Hewlett-Packard Company Device 84bf
        Flags: bus master, fast devsel, latency 0, IRQ 123
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        I/O behind bridge: 4000-4fff [size=4K] [16-bit]
        Memory behind bridge: b4100000-b41fffff [size=1M] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1) (prog-if 00 [Normal decode])
        Subsystem: Hewlett-Packard Company Device 84bf
        Flags: bus master, fast devsel, latency 0, IRQ 124
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: 3000-3fff [size=4K] [16-bit]
        Memory behind bridge: b4000000-b40fffff [size=1M] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
        Subsystem: Hewlett-Packard Company Device 84bf
        Flags: bus master, medium devsel, latency 0

00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
        Subsystem: Hewlett-Packard Company Device 84bf
        Flags: bus master, fast devsel, latency 0
        Memory at b422c000 (32-bit, non-prefetchable) [size=16K]

00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21) (prog-if 80)
        Subsystem: Hewlett-Packard Company Device 84bf
        Flags: bus master, fast devsel, latency 32, IRQ 132
        Memory at b4228000 (64-bit, non-prefetchable) [size=16K]
        Memory at b4210000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_soc_skl

00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
        Subsystem: Hewlett-Packard Company Device 84bf
        Flags: medium devsel, IRQ 16
        Memory at b4235000 (64-bit, non-prefetchable) [size=256]
        I/O ports at 6040 [size=32]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801

01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce MX130] (rev a2)
        Subsystem: Hewlett-Packard Company Device 84bf
        Flags: bus master, fast devsel, latency 0, IRQ 130
        Memory at b3000000 (32-bit, non-prefetchable) [size=16M]
        Memory at a0000000 (64-bit, prefetchable) [size=256M]
        Memory at b0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at 5000 [size=128]
        Capabilities: <access denied>
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
        DeviceName: Realtek RTL8188EE 802.11bgn Wi-Fi Adapter
        Subsystem: Hewlett-Packard Company Device 831a
        Flags: bus master, fast devsel, latency 0, IRQ 131
        I/O ports at 4000 [size=256]
        Memory at b4100000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: rtw_8821ce
        Kernel modules: rtw88_8821ce, rtw_8821ce

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        DeviceName: Realtek PCIe GBE Family Controller
        Subsystem: Hewlett-Packard Company Device 84bf
        Flags: bus master, fast devsel, latency 0, IRQ 17
        I/O ports at 3000 [size=256]
        Memory at b4004000 (64-bit, non-prefetchable) [size=4K]
        Memory at b4000000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: r8169
        Kernel modules: r8169

HELP

Already thanks for every help i can get and which info i can give to help

try rtl8821ce-dkms-git with lts kernel.
blacklist rtw88_8821ce and rtw_8821ce

You network controller shows that it is RTL8821CE yet it also shows device name as RTL8188EE?
It is using RTRL8821CE module.

rtl8188ee is a PCI-E driver for RTL8188EE devices so I’m not sure why it’s showing two different device names?

 Kernel driver in use: rtw_8821ce
        Kernel modules: rtw88_8821ce, rtw_8821ce

Edit: Are you using another adapter because that one isn’t working?
Edit2: Looks like two different WiFi adapters?

Edit: Try what @nir has posted above and see. I was just checking about the two different outputs so i understand.

I already tried that, but just blacklisted rtw_8821ce.
I had the same problem, as well as a new Problem
My wifi speed droped to 20Mb instead of 100Mb

Do you think it will fix get fixed with blacklisting rtw_8821ce

yes it may work. blacklist all kernel module except rtl8821ce-dkms.
Is there any speed issue while using Windows 11?
also try to configure wifi router in channel feq under WLAN setting if full speed is not coming.

  • I tried with blacklisting with the rtl8821ce-dkms driver. Didnt work.
  • On windows 11 it works perfectly fine
  • The Problem is that i cant really change the router settings on my work.
    Still, thank you very much for your help <3

I finally found a kinda solution

  • Install the newest rtw88-dkms-git package
  • blacklist modules like following
rtw_8821ce

options rtw_pci disable_aspm=1
options rtw_pci disable_msi=1

blacklist rtw88_8821ce
blacklist rtw88_8821c
blacklist rtw88_pci
blacklist rtw88_core
  • then reboot

  • Now it works with the rtw88 driver BUT my wifi speed is very slow now with the rtw88 aswell.

According to https://github.com/lwfinger/rtw88 your card Realtek RTL8188EE should be provided by the kernel.
Have you tried uninstalling all related AUR driver packages (and reboot)?

The OP never answered me on that because i also noticed the hardware list naming it as RTL8188EE and it should be a kernel module. On the github page it say’s:

If you are looking for a driver for chips such as RTL8188EE, RTL8192CE, RTL8192CU, RTL8192DE, RTL8192EE, RTL8192SE, RTL8723AE, RTL8723BE, or RTL8821AE, these should be provided by your kernel. If not, then you should go to the Backports Project (https://backports.wiki.kernel.org/index.php/Main_Page) to obtain the necessary code.

Edit: It was odd to me to see the hardware list it as RTL8821CE and then the device name is RTL8188EE? So it may not be RTL8821CE

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
        DeviceName: Realtek RTL8188EE 802.11bgn Wi-Fi Adapter

I wondered the same. Strange.
But I’ve never had any of those devices.

In the first post it shows this? Then down lower it shows the other output which has RTL8188EE as the Device name. I’ve never seen it before either but i have seen it listed as RTL8822CE.

Network:
  Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtw_8821ce v: kernel modules: rtw88_8821ce
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 4000 bus-ID: 02:00.0
    chip-ID: 10ec:c821 class-ID: 0280

Edit:

Yes i tried that. suspending doesnt work.

  • I am really confused.
  • When i am on windows it says that it is the rtl8821ce

Nothing to be confused about. What works in Windows has nothing to do with Linux. The issue is that it’s reporting the device as rtl8821ce but then in the device name it is saying rtl8188ee.

What does it show for these commands.

lspci
inxi -Na

Edit: Also post the URL for this command

lsmod | eos-sendlog

Edit2: If it is in fact an rtl8188ee it should run from a kernel module without any packages loaded.
If it is rtl8821ce then it should be rtw88 which should be the package rtw88-dkms-git
It is also possible that it could run from the kernel module but not 100% sure it will.

See if this helps: https://github.com/tomaspinho/rtl8821ce

Interesting parts might be

  • kernel parameter pci=noaer
  • blacklisting rtw88_8821ce

Edit: this looks interesting too: https://linux-hardware.org/?id=pci:10ec-c821-17aa-c024&page=1