Skip to content

Instantly share code, notes, and snippets.

@fkpwolf
Last active December 3, 2022 03:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fkpwolf/7acb5d0d85e2976fcd9eb3981b983c9e to your computer and use it in GitHub Desktop.
Save fkpwolf/7acb5d0d85e2976fcd9eb3981b983c9e to your computer and use it in GitHub Desktop.
Realtek RTL8822BU on Linux

It shows as Bus 001 Device 011: ID 0bda:b82c Realtek Semiconductor Corp. 802.11ac NIC.

The SOC is The Realtek RTL8822BU-CG is a highly integrated single-chip that supports 2-stream 802.11ac solutions with Multi-user MIMO (Multiple-Input, Multiple-Output) and Wireless LAN (WLAN) with integrated Bluetooth 2.1/3.0/4.1 USB-multi interface controller. It combines a WLAN MAC, a 2T2R capable WLAN baseband, and RF in a single chip. The RTL8822BU-CG provides a complete solution for a high-performance integrated wireless and Bluetooth device.

In Feodra 37 with Linux 6.0.10, Bluetooth is working but WiFi is not.

Linux Driver: https://github.com/cilynx/rtl88x2bu

Error when building module: Skipping BTF generation for /home/fan/source/repos/rtl88x2bu/88x2bu.ko due to unavailability of vmlinux

To fix it:

dnf install dwarves
cp /sys/kernel/btf/vmlinux /usr/lib/modules/`uname -r`/build/

The module depends on cfg80211 module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment