This is for generic USB AX900 realtek devices that use the Realtek 8851bu or 8831bu chipsets.
Examples include: pTIME AX900UA Comfast AX900 CF-943F
This includes unbranded AX900 USB WiFi 6 Bluetooth 5.3 Adapters sold on AliExpress and Amazon Example: https://www.aliexpress.us/item/3256807263559115.html
To install:
$make
If you want to compile the driver for ARM64 architecture, you need to modify the Makefile by changing the following lines:
CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ARM64_PC = yThis will instruct the build process to target ARM64 architecture instead of the default x86 architecture.
sudo dkms install .makesudo make installYou will have to reinstall for any kernel updates.
$make clean
make cleanmakesudo make installBy default, USB Wi-Fi dongles are in Driver CDROM Mode, which is incorrect for proper Wi-Fi usage. You need to switch the device to Wi-Fi Mode using usb-modeswitch.
Install usb-modeswitch:
sudo apt-get install usb-modeswitchUse lsusb to find the Vendor ID and Product ID of your wireless dongle:
lsusbExample output:
Bus 002 Device 003: ID 0bda:1a2b Realtek Semiconductor Corp. RTL8188GU 802.11n WLAN Adapter (Driver CDROM Mode)
In this example: Vendor ID: 0bda Product ID: 1a2b Use usb-modeswitch to switch the device mode. Replace 0bda and 1a2b with your specific Vendor ID and Product ID:
sudo usb_modeswitch -K -v 0bda -p 1a2bAfter switching the mode, reload the driver with:
sudo modprobe 8851buCheck if the Wi-Fi interface is recognized:
iwconfigIf the device is still not active, check the kernel logs for any errors related to the driver:
sudo dmesg | grep 8851bu