Re: RTL8821CE does not load automatically at boot time

2020-11-25 Thread didier gaumet
Le mardi 24 novembre 2020 à 19:10:06 UTC+1, Alexander V. Makartsev a écrit :

> Is there a reason for using an external driver? Kernel module for your NIC is 
> already provided by stable kernel image. You've probably just missing a 
> firmware. [1]
> Have you tried to install "firmware-realtek" package from non-free section of 
> official Debian "buster" or "buster-backports" repo?
> 
> 
> [1] https://packages.debian.org/buster/firmware-realtek

Hello,

RTL8821AE and RT8821CE are two different chips, albeit with similar features, 
the latter improves upon the former:
 https://www.realtek.com/en/products/communications-network-ics/item/rtl8821ae
 https://www.realtek.com/en/products/communications-network-ics/item/rtl8821ce

there is a RTL8821AE branch in the mainline kernel source tree and at least up 
to 5.8, there is none for RTL8821CE.

I have had a RTL8821CE based card in my laptop (since replaced by an Intel 
AX200) and was building its driver from the above mentionned site (Pinho): I 
don't remember the module being rtl8821ae instead of rtl8821ce (but perhaps 
have I forgotten)



Re: RTL8821CE does not load automatically at boot time

2020-11-24 Thread Alexander V. Makartsev

On 24.11.2020 21:07, Kanito 73 wrote:

Hello community

I have (almost) ready mylaptop, but there are still a few details to 
fix... I've used an external driver for my RTL8821CE 
wifi(https://github.com/tomaspinho/rtl8821ce 
) but it is not loaded during 
the boot process. The generated module is "rtl8821ae.ko" (not 
"rtl8821ce.ko") but apparently it works fine (have to test it thoroughly).


When I first tried to load rtl8821CE the system said that could not be 
find at /lib/modules/5.8... so I searched for it manually and found 
rtl8821AE at /lib/modules/5.8.../kernel/drivers/net/wireless and 
loaded manually "modprobe rtl8821ae", then the wifi device appeared 
and worked.


My question is: How can I load automatically the driver? Perhaps the 
kernel detects RTL8821CE and expects for rtl8821ce.ko... Is there some 
way to load it explicitly maybe adding rtl8821ae.ko to a list of 
modules to load?


Thanks again for your help and patience

Is there a reason for using an external driver? Kernel module for your 
NIC is already provided by stable kernel image. You've probably just 
missing a firmware. [1]
Have you tried to install "firmware-realtek" package from non-free 
section of official Debian "buster" or "buster-backports" repo?



[1] https://packages.debian.org/buster/firmware-realtek

--
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄



Re: RTL8821CE does not load automatically at boot time

2020-11-24 Thread Reco
Hi.

On Tue, Nov 24, 2020 at 04:07:22PM +, Kanito 73 wrote:
> My question is: How can I load automatically the driver? Perhaps the
> kernel detects RTL8821CE and expects for rtl8821ce.ko... Is there some
> way to load it explicitly maybe adding rtl8821ae.ko to a list of
> modules to load?

echo rtc8821ae >> /etc/modules

Reco



RTL8821CE does not load automatically at boot time

2020-11-24 Thread Kanito 73
Hello community

I have (almost) ready mylaptop, but there are still a few details to fix... 
I've used an external driver for my RTL8821CE wifi 
(https://github.com/tomaspinho/rtl8821ce) but it is not loaded during the boot 
process. The generated module is "rtl8821ae.ko" (not "rtl8821ce.ko") but 
apparently it works fine (have to test it thoroughly).

When I first tried to load rtl8821CE the system said that could not be find at 
/lib/modules/5.8... so I searched for it manually and found rtl8821AE at 
/lib/modules/5.8.../kernel/drivers/net/wireless and loaded manually "modprobe 
rtl8821ae", then the wifi device appeared and worked.

My question is: How can I load automatically the driver? Perhaps the kernel 
detects RTL8821CE and expects for rtl8821ce.ko... Is there some way to load it 
explicitly maybe adding rtl8821ae.ko to a list of modules to load?

Thanks again for your help and patience