Add RTL8922A Bluetooth support via DKMS module - #9
Conversation
Add btrtl and btusb driver patches backported from kernel 6.12 to support the Realtek RTL8922A Bluetooth chip (USB 0bda:8922). This chip is commonly found on GIGABYTE/ASUS motherboards with RTL8922A WiFi+BT combo. The stock kernel 6.8 btrtl driver does not recognize this chip, causing firmware upload to be skipped and Bluetooth scan to fail silently. Changes: - btrtl.c: Add CHIP_ID_8922A, firmware loading (rtl8922au_fw/config), WBS quirk, and setup_realtek case for RTL_ROM_LMP_8922A - btusb.c: Add USB device ID 0bda:8922 with BTUSB_REALTEK flag - firmware/rtl8922au_fw.bin: Firmware from linux-firmware upstream - firmware/rtl8922au_config.bin: Config from linux-firmware upstream - Makefile.bluetooth: Separate build for bluetooth modules - install_bluetooth.sh: One-click install script for DKMS setup Upstream references: - btrtl 8922A support: torvalds/linux@v6.12 drivers/bluetooth/btrtl.c - btusb 8922A USB ID: torvalds/linux@v6.12 drivers/bluetooth/btusb.c - Firmware: git.kernel.org/.../linux-firmware.git/rtl_bt/ Closes a5a5aa555oo#6
|
Hi, Thanks for your work. But I don't think this is meaningful, Does Wi-Fi work when you are running kernel 6.8? You should upgrade to Ubuntu 24.04+ which provides a newer kernel so both Wi-Fi and Bluetooth will work out of the box. btw, there is a bluetooth driver already. |
|
Hi @a5a5aa555oo, Thanks for the response. I understand your point, but I'd like to clarify a few things:
I understand if you'd prefer not to merge this into this repo since it's WiFi-focused, but I wanted to share the fix for others who might be stuck on the same setup. |
The rtw89 driver in this repo DOES NOT support kernel 6.8 and RTL8922AE, I guess the rtw89 driver you are using comes from https://github.com/a5a5aa555oo/rtw89-morrownr or https://github.com/morrownr/rtw89?
It is public. what does
|
Summary
Add Bluetooth driver support for Realtek RTL8922A chip (USB
0bda:8922), commonly found on GIGABYTE/ASUS motherboards with RTL8922A WiFi+BT combo.Problem
The stock
btrtldriver in kernel 6.8 does not recognize RTL8922A:Adapter appears UP/RUNNING but cannot scan/discover any devices. See #6.
Solution
Backport
btrtlandbtusbpatches from kernel 6.12:CHIP_ID_8922A, firmware loading (rtl8922au_fw/rtl8922au_config), WBS quirk, and setup case forRTL_ROM_LMP_8922A0bda:8922withBTUSB_REALTEKflagrtl8922au_fw.bin+rtl8922au_config.binfrom linux-firmware upstreamInstallation
chmod +x install_bluetooth.sh sudo -S -p '' ./install_bluetooth.shTested on
hcitool scansuccessfully finds nearby devices after patchCloses #6