mirror of
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
synced 2024-12-25 01:21:34 +00:00
Realtek RTL88x2BU WiFi USB Driver for Linux
7accfe2b64
* This ioctl signature was changed in kernel 5.10.1 * It has a new parameter: the quiet boolean. I guessed that this value should be true in this case. |
||
---|---|---|
core | ||
hal | ||
include | ||
os_dep | ||
platform | ||
clean | ||
dkms.conf | ||
halmac.mk | ||
ifcfg-wlan0 | ||
Kconfig | ||
LICENSE | ||
Makefile | ||
README.md | ||
ReleaseNotes.pdf | ||
rtl8822b.mk | ||
runwpa | ||
wlan0dhcp |
REALTEK RTL88x2B USB Linux Driver
Current Driver Version: 5.8.7.2
Support Kernel: 2.6.24 ~ 5.9 (with unofficial patches)
Official release note please check ReleaseNotes.pdf
Note: if you believe your device is RTL8812BU or RTL8822BU but after loaded the module no NIC shows up, the device ID maybe not in the driver whitelist. In this case please submit a new issue with lsusb
result, and your device name, brand, website, etc.
Supported Devices
- ASUS AC1300 USB-AC55 B1
- ASUS U2
- Dlink - DWA-181
- Dlink - DWA-182
- Edimax EW-7822ULC
- Edimax EW-7822UTC
- NetGear A6150
- TP-Link Archer T3U
- TP-Link Archer T3U Plus
- TP-Link Archer T4U V3
- TRENDnet TEW-808UBM
And more.
How to use this kernel module
- Make sure you have installed the kernel headers
- All commands need to be run in the driver directory
- You need rebuild the kernel module everytime you update/change the kernel if you are not using DKMS
Manual installation
Clean
- Make sure you cleaned old build files before builds new one
make clean
Building module for current running kernel
make
Building module for other kernels
make KSRC=/lib/modules/YOUR_KERNEL_VERSION/build
Installing
sudo make install
Uninstalling
sudo make uninstall
Manual DKMS installation
git clone "https://github.com/RinCat/RTL88x2BU-Linux-Driver.git" /usr/src/rtl88x2bu-git
sed -i 's/PACKAGE_VERSION="@PKGVER@"/PACKAGE_VERSION="git"/g' /usr/src/rtl88x2bu-git/dkms.conf
dkms add -m rtl88x2bu -v git
dkms autoinstall
USB 3.0 Support
You can try use modprobe 88x2bu rtw_switch_usb_mode=1
to force the adapter run under USB 3.0. But if your adapter/port/motherboard not support it, the driver will be in restart loop. Remove the parameter and reload the driver to restore.
Debug
Set debug log use echo 5 > /proc/net/rtl88x2bu/log_level
or modprobe 88x2bu rtw_drv_log_level=5
Distribution
- Archlinux AUR https://aur.archlinux.org/packages/rtl88x2bu-dkms-git/