From 57113df3a0e2be01232281fad9a5f2c060567981 Mon Sep 17 00:00:00 2001
From: lin <lin@kickpi.com>
Date: Mon, 25 Aug 2025 12:27:45 +0000
Subject: [PATCH] add vs6621 support in android

---
 android/hardware/aw/wireless/bluetooth/config/init.bluetooth.common.rc |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/android/hardware/aw/wireless/bluetooth/config/init.bluetooth.common.rc b/android/hardware/aw/wireless/bluetooth/config/init.bluetooth.common.rc
index 352e7e3..045c594 100755
--- a/android/hardware/aw/wireless/bluetooth/config/init.bluetooth.common.rc
+++ b/android/hardware/aw/wireless/bluetooth/config/init.bluetooth.common.rc
@@ -32,8 +32,19 @@
 
 on property:persist.vendor.overlay.bluetooth_vendor=aic
     insmod /vendor/modules/aic8800_bsp.ko
-    insmod /vendor/modules/aic8800_btsdio.ko
+    insmod /vendor/modules/aic8800_btlpm.ko
     setprop vendor.init.lpm.load 1
+
+on property:persist.vendor.overlay.bluetooth_vendor=seekwave
+    mkdir /data/local/skw 0777 system system
+    insmod /vendor/modules/skw_sdio.ko
+    insmod /vendor/modules/skw_bootcoms.ko log_path=/data/local/skw
+    setprop vendor.init.lpm.load 1
+
+on property:persist.vendor.overlay.bluetooth_vendor=seekwave_lite
+    insmod /vendor/modules/skw_sdio_lite.ko
+    setprop vendor.init.lpm.load 1
+
 
 on property:vendor.driver.lpm.load=1
     setprop vendor.init.lpm.load 1
@@ -52,8 +63,8 @@
     chmod 0660 /dev/ttyBT0
     chown bluetooth net_bt_admin /dev/ttyBT0
     # only for aic device
-    chmod 0666 /sys/devices/platform/aic-bt/rfkill/rfkill1/state
-    chmod 0666 /sys/devices/platform/aic-bt/rfkill/rfkill1/type
+    chmod 0666 /sys/devices/platform/aic-bsp/rfkill/rfkill1/state
+    chmod 0666 /sys/devices/platform/aic-bsp/rfkill/rfkill1/type
 
 on property:persist.vendor.overlay.bluetooth_vendor=realtek && property:sys.boot_completed=1
     setprop persist.vendor.bluetooth.rtkcoex true

--
Gitblit v1.6.2