1 Star 0 Fork 1

brace/rtl8821ce

forked from 则则/rtl8821ce 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Realtek RTL8821CE Driver

Intent

This repository hosts the code for the Arch Linux AUR Package. It's targeting Linux > 4.14 and is being developed for Arch Linux 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 & Debian

The following steps are required prior to building the driver on Ubuntu/Debian:

sudo apt install bc module-assistant build-essential dkms
sudo m-a prepare

Ubuntu users may also install the prebuilt rtl8821ce-dkms package, an older version of the driver maintained by the Ubuntu MOTU Developers group for bionic, eoan and focal. It has been known to work in cases where the newer driver available here does not. Bugs and issues with that package should be reported at Launchpad rather than here.

Arch Linux

Make sure you have the base-devel package group installed before you proceed for the necessary compilation tools.

Installing from AUR

Install rtl8821ce-dkms-git from the AUR.

Dependencies for manual installation on Arch Linux

sudo pacman -Syu linux-headers dkms

If you are running a non-vanilla kernel then install the headers to match the kernel package. Proceed to the section below.

Gentoo Linux

An unofficial Gentoo package is available, using this repository as upstream. It is available from the trolltoo overlay. Gentoo does not use or require dkms for packaged drivers.

# layman -a trolltoo
# emerge --ask net-wireless/rtl8821ce-driver

Manual installation of driver

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

Open a terminal window and git clone the repository to your local disk

git clone https://github.com/tomaspinho/rtl8821ce.git
cd rtl8821ce

Then run the installation script:

sudo ./dkms-remove.sh

Upgrading driver

Remove the driver:

sudo ./dkms-remove.sh

Make sure you have your local copy of this repository fully updated:

git pull

Clean any stale binaries:

make clean

Install again:

sudo ./dkms-install.sh

Reporting issues

When reporting issues, please make sure that debugging is enabled. To enable debugging either set MAKEFLAGS="CONFIG_RTW_DEBUG = y" before compilation or edit Makefile:

CONFIG_RTW_DEBUG = y

This will enable verbose debug logging, helpful to developers.

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.

空文件

简介

暂无描述 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/awang/rtl8821ce.git
git@gitee.com:awang/rtl8821ce.git
awang
rtl8821ce
rtl8821ce
master

搜索帮助