You are not logged in.

#1 2020-10-18 02:04:02

ben781
Member
Registered: 2016-12-11
Posts: 14

RTL8821CE driver is not working in kernel 5.9.1

Kernel 5.9 has support for RTL8821CE, so I removed rtl8821ce-dkms-git after the update. Now my wifi does not work. I can see that linux 5.9.1.arch1-1 contains usr/lib/modules/5.9.1-arch1-1/kernel/drivers/net/wireless/realtek/rtw88/rtw88_8821ce.ko.xz. How do I make the driver in the kernel work? I would prefer that to reinstalling rtl8821ce-dkms-git.

EDIT: Upon further inspection and research, I have discovered it is because my RTL8821CE chip is RFE2, which is not supported by the kernel driver yet.

Last edited by ben781 (2020-10-18 04:20:33)

Offline

#2 2020-10-21 01:50:26

jimery
Member
Registered: 2019-11-08
Posts: 2

Re: RTL8821CE driver is not working in kernel 5.9.1

i'm facing the same problem, i blacklist `rtw88_8821ce` and reinstall rlt8821-ce-dkms aur package, it still doesn't work.

```
lspci
05:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
```
```
~ > lsmod| grep 8821                                                                                                                                                                                     
8821ce               1974272  0
cfg80211              913408  1 8821ce
```
```
~ > dmesg| grep 8821     
[    0.138821] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    3.279242] 8821ce: loading out-of-tree module taints kernel.
[    3.303910] 8821ce: module verification failed: signature and/or required key missing - tainting kernel
[    3.417062] rtl8821ce 0000:05:00.0: enabling device (0000 -> 0003)
[    4.105489] Bluetooth: hci0: RTL: examining hci_ver=08 hci_rev=000c lmp_ver=08 lmp_subver=8821
[    4.106482] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_fw.bin
[    4.107673] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_config.bin

```

Offline

#3 2020-12-14 14:20:58

corship
Member
Registered: 2020-12-14
Posts: 2

Re: RTL8821CE driver is not working in kernel 5.9.1

Hello,
so this issue persists with 5.9.14-arch1-1 for me,
however I had success with running the linux-lts and using the drives provided by https://aur.archlinux.org/packages/rtl8821ce-dkms-git/.
I hope someone smarter than me is able to fix this issue for the current kernel version.

Offline

#4 2020-12-30 22:27:02

silberblume
Member
Registered: 2020-12-27
Posts: 5

Re: RTL8821CE driver is not working in kernel 5.9.1

corship wrote:

however I had success with running the linux-lts and using the drives provided by https://aur.archlinux.org/packages/rtl8821ce-dkms-git/.

This also worked for me, so thanks corship, and maybe try it out yourself, too, OP.

Last edited by silberblume (2020-12-30 22:27:20)


There's nothing scarier, nothing more deadly than an ambulance

Offline

#5 2021-02-17 11:31:09

corship
Member
Registered: 2020-12-14
Posts: 2

Re: RTL8821CE driver is not working in kernel 5.9.1

The dkms module provided by this aur package does now work with the current kernel if you blacklist the rtw88_8821ce module in your /etc/modprobe.d/blacklist.conf.

Additionally the proper driver for the rtl8821ce card might come with linux 5.12 as reffering to the current comments on the rtl8821ce-dkms-git aur package

Quote:
mbromilow commented on 2021-02-11 17:22   

@CodingEagle02 & @alium -- the merge window for 5.11 closed on 27/12/20, but the official Realtek patches for RFE 2 were sent and accepted earlier this month (and are now in linux-next) so this should mean RFE 2 support in 5.12.

Therefore I think this question could be considered solved

Last edited by corship (2021-02-17 11:33:03)

Offline

#6 Yesterday 08:21:35

hgabreu
Member
From: Brasil
Registered: 2009-10-19
Posts: 30

Re: RTL8821CE driver is not working in kernel 5.9.1

I've just started a new install here and can't get this card to work. I've tried both linux-lts (5.10.30) and current (5.11.13), both with and without the blacklist of rtw88_8821ce.
But no wifi networks are ever listed.

I do not get any errors and the card is listed fine on `ip a`

% ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether <...not relevant bits...>
3: wlp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 9a:6f:db:7f:3e:43 brd ff:ff:ff:ff:ff:ff permaddr 20:4e:f6:f0:36:3f

Any ideas what I might be doing wrong?

% lspci -k -s 04:00.0
04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
        Subsystem: ASUSTeK Computer Inc. Device 87ae
        Kernel driver in use: rtl8821ce
        Kernel modules: rtw88_8821ce, 8821ce
% lsmod|grep 8821
8821ce               1974272  0
cfg80211             1036288  1 8821ce
% uname -a
Linux tuf2021 5.11.13-arch1-1 #1 SMP PREEMPT Sat, 10 Apr 2021 20:47:14 +0000 x86_64 GNU/Linux

Offline

#7 Yesterday 14:47:34

hgabreu
Member
From: Brasil
Registered: 2009-10-19
Posts: 30

Re: RTL8821CE driver is not working in kernel 5.9.1

I got it to work by adding a modprobe option I saw in an Ubuntu forum.

% cat /etc/modprobe.d/rtl8821ce.conf 
options rtl8821ce msi=1

Offline

Board footer

Powered by FluxBB