From 453feef9547eafdf2725fdd4129a716600ecd03f Mon Sep 17 00:00:00 2001 From: Shen Mintao Date: Sat, 28 Feb 2026 09:04:45 +0800 Subject: [PATCH 1/2] fix: fix --- dkms.conf | 4 ++-- drivers/aic8800/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dkms.conf b/dkms.conf index e5007fc..b791e02 100644 --- a/dkms.conf +++ b/dkms.conf @@ -1,7 +1,7 @@ PACKAGE_NAME="aic8800" PACKAGE_VERSION="1.0.0" -MAKE="make -C drivers/aic8800" -CLEAN="make -C drivers/aic8800 clean" +MAKE="KVER=${kernelver} 'make' -C drivers/aic8800" +CLEAN="KVER=${kernelver} 'make' -C drivers/aic8800 clean" # Main module (aic8800_fdrv) BUILT_MODULE_NAME[0]="aic8800_fdrv" diff --git a/drivers/aic8800/Makefile b/drivers/aic8800/Makefile index 51e2a5a..396e40b 100644 --- a/drivers/aic8800/Makefile +++ b/drivers/aic8800/Makefile @@ -46,9 +46,9 @@ KDIR = /home/yaya/D/Workspace/CyberQuantum/JinHaoYue/amls905x3/SDK/20191101-0tt- endif ifeq ($(CONFIG_PLATFORM_UBUNTU), y) -KDIR = /lib/modules/$(shell uname -r)/build +KVER ?= $(shell uname -r) +KDIR = /lib/modules/$(KVER)/build PWD = $(shell pwd) -KVER = $(shell uname -r) MODDESTDIR = /lib/modules/$(KVER)/kernel/drivers/net/wireless/aic8800 SUBARCH = $(shell uname -m | sed -e s/i.86/i386/ -e s/armv.l/arm/ -e s/aarch64/arm64/ -e s/loongarch64/loongarch/ -e s/loong64/loongarch/) ARCH ?= $(SUBARCH) From dda6a6d546324786d802f452ef854aeea7b52af5 Mon Sep 17 00:00:00 2001 From: Shen Mintao Date: Wed, 4 Mar 2026 16:46:06 +0800 Subject: [PATCH 2/2] docs: update README to indicate bluetooth branch supports Bluetooth --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cfdc2d9..3b5916b 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Added support for devices with Vendor ID 368B (tested). Tested on Linux kernel 6.16 with Ubuntu 25.04 and 6.1.0.27 with Debian 12. -Bluetooth not working. +> **Bluetooth Support**: The [`bluetooth`](https://github.com/shenmintao/aic8800d80/tree/bluetooth) branch fully supports Bluetooth. This main branch only provides Wi-Fi functionality. Please switch to the `bluetooth` branch if you need Bluetooth support. ### Disclaimer I did not develop this software, The code is sourced from the Tenda U11 driver. I only made some modifications to the code to adapt it to newer kernel versions. Apart from compilation issues, I am unable to address other problems. @@ -97,3 +97,4 @@ If the device is still not active, check the kernel logs for any errors related ```bash sudo dmesg ``` +