rtl8821ce
rtl8821ce copied to clipboard
Low signal strength
Hi,
I'm using rtw_8821ce and I blacklisted the rtw88_8821
lsmod | grep 8821 8821ce 2023424 0 rtw_8821ce 16384 0 rtw_8821c 90112 1 rtw_8821ce rtw_pci 28672 1 rtw_8821ce rtw_core 258048 2 rtw_8821c,rtw_pci cfg80211 1134592 3 rtw_core,mac80211,8821ce
cat /etc/modprobe.d/rtw88_8821ce.conf blacklist rtw88_8821ce blacklist rtw_8821ce
But thw wifi still hangs, it's a matter of signal as when I get closer to my room's door it wakes up. The router is in the corridor. I'm running 6.1.0-6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.15-1 (2023-03-05) x86_64 GNU/Linux
Can anyone help please?
Assuming the two blacklists are on separate lines, like this:
blacklist rtw88_8821ce
blacklist rtw_8821ce
and that you installed the driver in this repository, you just need to reboot.
If the blacklists are on a single line, like we see in your message here, fix that and then reboot.
Hi mate, many thanks for your quick reply. Yes, they are on two separate lines, I don't know why the formatting got screwed. I actually rebooted but the wifi was not available at all. It happened when I added the second line in the blacklist file. I have only blacklist rtw88_8821ce now but it's still slow. I have this in dmesg:
47.183682] rtw_8821ce 0000:01:00.0: timed out to flush queue 2 [ 86.851098] rtw_8821ce 0000:01:00.0: timed out to flush queue 1 [ 87.382950] rtw_8821ce 0000:01:00.0: timed out to flush queue 1 [ 93.161495] rtw_8821ce 0000:01:00.0: timed out to flush queue 1 [ 93.645379] rtw_8821ce 0000:01:00.0: timed out to flush queue 1 [ 93.785408] rtw_8821ce 0000:01:00.0: timed out to flush queue 1 [ 125.410165] rtw_8821ce 0000:01:00.0: timed out to flush queue 2
Hope it can help, thanks.
You have to decide which driver you want to use.
- The one in this repository is called „8821ce”
- The one from lwfinger/rtw88 is called „rtw_8821ce”
- The one in the kernel is called „rtw88_8821ce” - this is an older version of 2.
1 and 2 have to be installed, otherwise you always have to load them manually. You install them by „make install” or with dkms. Based on what you said above, you installed 2 but not 1.
Hope this helps.
t@Teclast-F7-Plus:~$ cd rtl8821ce/ gt@Teclast-F7-Plus:~/rtl8821ce$ sudo ./dkms-install.sh [sudo] password for gt: About to run dkms install steps... Error! DKMS tree already contains: rtl8821ce-v5.5.2_34066.20200325 You cannot add the same module/version combo more than once. Module rtl8821ce/v5.5.2_34066.20200325 already built for kernel 6.1.0-6-amd64 (x86_64), skip. You may override by specifying --force. Module rtl8821ce/v5.5.2_34066.20200325 already installed on kernel 6.1.0-6-amd64 (x86_64), skip. You may override by specifying --force. Finished running dkms install steps. gt@Teclast-F7-Plus:~/rtl8821ce$
This is really weird.
Actually I did install 8821ce. Look at last line
lsmod|grep 8821 rtw_8821ce 16384 0 8821ce 2023424 0 rtw_8821c 90112 1 rtw_8821ce rtw_pci 28672 1 rtw_8821ce rtw_core 258048 2 rtw_8821c,rtw_pci cfg80211 1134592 3 rtw_core,mac80211,8821ce gt@Teclast-F7-Plus:~/rtl8821ce$
Maybe 8821ce doesn't recognise your card. What does lspci -nn
say?
Nevermind, it knows all the device IDs which rtw_8821ce knows.
Anyway, you have to blacklist two of the three drivers, so that only one can load. Otherwise you never know which driver will be in charge.
If I blacklist rtw_8821ce I don't get WIFI at all, in the bottom right system tray I see the icon with X
sudo rmmod rtw_8821ce
gt@Teclast-F7-Plus: rtl8821ce$ lsmod|grep 8821 8821ce 2023424 0 rtw_8821c 90112 0 rtw_core 258048 2 rtw_8821c,rtw_pci cfg80211 1134592 3 rtw_core,mac80211,8821ce gt@Teclast-F7-Plus:~/rtl8821ce$ lspci -nn | grep Real
01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
As a test:
rmmod rtw_8821ce
rmmod 8821ce
modprobe 8821ce
Do you have wifi now?
Nope. I have WIFI only if I modprobe rtw_8821ce
Did modprobe 8821ce
run without errors?
Yep, no errors. In the dmesg output I got this:
[Thu Apr 13 12:11:40 2023] wlp1s0: deauthenticating from c0:05:c2:ca:09:97 by local choice (Reason: 3=DEAUTH_LEAVING) [Thu Apr 13 12:11:56 2023] DMAR: DRHD: handling fault status reg 3 [Thu Apr 13 12:11:56 2023] DMAR: [DMA Read NO_PASID] Request device [01:00.0] fault addr 0xfe803000 [fault reason 0x06] PTE Read access is not set
Okay. So the driver from this repository is not working for you.
You have some options:
- Ask Larry Finger to update the newer version of this driver so it can be compiled for kernel 6.1. Or fix the compilation errors yourself. There is no guarantee it will work better.
- Report your problems with rtw_8821ce and hope they will be fixed.
- Replace the wifi card.
Thanks mate, I do appreciate the time spent with me.
On Thu, 13 Apr 2023 at 12:45, dubhater @.***> wrote:
Okay. So the driver from this repository is not working for you.
You have some options:
- Ask Larry Finger to update the newer version https://github.com/lwfinger/rtw88/tree/master/alt_rtl8821ce of this driver so it can be compiled for kernel 6.1. Or fix the compilation errors yourself. There is no guarantee it will work better.
- Report https://github.com/lwfinger/rtw88/issues your problems with rtw_8821ce and hope they will be fixed.
- Replace the wifi card.
— Reply to this email directly, view it on GitHub https://github.com/tomaspinho/rtl8821ce/issues/322#issuecomment-1506824421, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASP7PRGZUAA4N5U5JBPWUVLXA7RMVANCNFSM6AAAAAAW4BNMCM . You are receiving this because you authored the thread.Message ID: @.***>