pop-os / linux

Pop!_OS fork of https://launchpad.net/ubuntu/+source/linux
Other
110 stars 13 forks source link

rtl8821cu: wifi+bluetooth adapter not working #274

Open limaa opened 10 months ago

limaa commented 10 months ago

I've recently bought a tp-link Archer T2UB Nano Wi-Fi + Bluetooth dongle and couldn't get it working on PopOS

I am using kernel 6.4.6, system info as follows:

$ uname -a
Linux pop-os 6.4.6-76060406-generic #202307241739~1690928105~22.04~d567a38 SMP PREEMPT_DYNAMIC Tue A x86_64 x86_64 x86_64 GNU/Linux

The device lists itself as USB 0bda:c820

$ lsusb
Bus 003 Device 007: ID 0bda:c820 Realtek Semiconductor Corp. 802.11ac NIC

Searching for an available driver for it, I was able to find that one (rtw8821cu) has been merged for kernel 6.2 and newer

The driver is however behind a few kernel config options. Checking which options were enabled in my kernel, I could see it disabled:

$cat /boot/config-6.4.6-76060406-generic | grep RTW88
CONFIG_RTW88=m
CONFIG_RTW88_CORE=m
CONFIG_RTW88_PCI=m
CONFIG_RTW88_8822B=m
CONFIG_RTW88_8822C=m
CONFIG_RTW88_8723D=m
CONFIG_RTW88_8821C=m
CONFIG_RTW88_8822BE=m
# CONFIG_RTW88_8822BS is not set
# CONFIG_RTW88_8822BU is not set
CONFIG_RTW88_8822CE=m
# CONFIG_RTW88_8822CS is not set
# CONFIG_RTW88_8822CU is not set
CONFIG_RTW88_8723DE=m
# CONFIG_RTW88_8723DU is not set
CONFIG_RTW88_8821CE=m
# CONFIG_RTW88_8821CS is not set
# CONFIG_RTW88_8821CU is not set
CONFIG_RTW88_DEBUG=y
CONFIG_RTW88_DEBUGFS=y

For now I guess I can compile the module myself, but would PopOS be willing to enable the CONFIG_RTW88_8821CU kernel config for future releases? Thanks!