rtl8821ce

Harry Youd 6fcab13542 Fix compilation against Linux 5.0.0 6 anni fa
core f02ca493e0 add sources at da7fa93c9caff5d2bb5b9026e39155672bb05f98 7 anni fa
hal f02ca493e0 add sources at da7fa93c9caff5d2bb5b9026e39155672bb05f98 7 anni fa
include 8f34ab467d integrate changes present in v5.2.5_1 found at https://bugs.launchpad.net/ubuntu/+source/linux-oem/+bug/1740231/+attachment/5034985/+files/rtl8821CE_WiFi_linux_v5.2.5.1_26055.20180108_COEX20170310-1212.tar.gz 7 anni fa
os_dep 6fcab13542 Fix compilation against Linux 5.0.0 6 anni fa
platform f02ca493e0 add sources at da7fa93c9caff5d2bb5b9026e39155672bb05f98 7 anni fa
.gitignore 9e9f42c142 add package build artifacts to gitignore 7 anni fa
Kconfig f02ca493e0 add sources at da7fa93c9caff5d2bb5b9026e39155672bb05f98 7 anni fa
Makefile 47cbf27635 Be quiet, please. 7 anni fa
PKGBUILD 6ba8930b58 not relying on separate dkms.conf, it's already in-repo 7 anni fa
README.md 960279a41d Added disclaimer 6 anni fa
clean f02ca493e0 add sources at da7fa93c9caff5d2bb5b9026e39155672bb05f98 7 anni fa
dkms-install.sh 17172ecb84 match upstream version 7 anni fa
dkms-remove.sh 17172ecb84 match upstream version 7 anni fa
dkms.conf 76166177e9 make KVER dependent on dkms 7 anni fa
get_sources.sh 9ec8f2ec8a add script to checkout sources from endlessm 7 anni fa
ifcfg-wlan0 f02ca493e0 add sources at da7fa93c9caff5d2bb5b9026e39155672bb05f98 7 anni fa
rtl8821c.mk f02ca493e0 add sources at da7fa93c9caff5d2bb5b9026e39155672bb05f98 7 anni fa
runwpa f02ca493e0 add sources at da7fa93c9caff5d2bb5b9026e39155672bb05f98 7 anni fa
wlan0dhcp f02ca493e0 add sources at da7fa93c9caff5d2bb5b9026e39155672bb05f98 7 anni fa

README.md

Realtek RTL8821CE Driver

Intent

This repository hosts the code for the ArchLinux AUR Package. It's targetting Linux > 4.14 and is being developed for ArchLinux and Ubuntu 18.10. No support will be provided for other Linux distributions or Linux Kernel versions outside of that range.

Disclaimer

The maintainers of this repository are not Realtek employees and are maintaining this repository for their own usage. Further feature development (such as proper power saving, etc.) will not be pursued here, but will be gladly integrated if newer driver sources are provided by Realtek. Use at your own risk.

DKMS

This driver can be installed using DKMS. This is a system which will automatically recompile and install a kernel module when a new kernel gets installed or updated. To make use of DKMS, install the dkms package.

Installation of Driver

Make sure you have a proper build environment and dkms installed.

Ubuntu

sudo apt install linux-headers-$(uname -r) build-essential dkms

ArchLinux

Generally speaking, ArchLinux already comes with a compiler toolchain installed. If you have a weird installation, just make sure you have the base-devel package group installed before you proceed.

sudo pacman -Sy linux-headers dkms

In order to install the driver open a terminal in the directory with the source code and execute the following command:

sudo ./dkms-install.sh

Removal of Driver

In order to remove the driver from your system open a terminal in the directory with the source code and execute the following command:

sudo ./dkms-remove.sh

Possible issues

PCIe Activate State Power Management

Your distribution may come with PCIe Active State Power Management enabled by default. That may conflict with this driver. To disable:

sudo $EDITOR /etc/default/grub

Add pci=noaer at the end of GRUB_CMDLINE_LINUX_DEFAULT. Line should look like this:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=noaer"

Then update your GRUB configuration:

sudo update-grub

Reboot.

Lenovo Yoga laptops

Some new Yoga laptops (like the Yoga 530) come with rtl8821ce as the Wi-Fi/Bluetooth chip. But the ideapad-laptop module, which may come included in your distribution, may conflict with this driver. To disable:

sudo modprobe -r ideapad_laptop

BlueTooth is not working

This may be due to the Kernel loading up the wrong firmware file for this card. Please take a look at @wahsot's tutorial at https://github.com/tomaspinho/rtl8821ce/issues/19#issuecomment-452196840 to see if that helps you out.