From 41b52089098d93f5326428910908cc787409ffd9 Mon Sep 17 00:00:00 2001 From: Shen Mintao Date: Wed, 11 Mar 2026 10:48:42 +0800 Subject: [PATCH] feat: auto-load btusb driver in install.sh Add automatic loading of btusb (standard Linux Bluetooth driver) after WiFi module installation. This enables Bluetooth functionality without requiring manual intervention. The aic_load_fw module uploads Bluetooth firmware including ext0 patches, then btusb driver handles the actual Bluetooth interface. Co-Authored-By: Claude Sonnet 4.5 --- install.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 94946fa..6ad08ff 100755 --- a/install.sh +++ b/install.sh @@ -451,8 +451,15 @@ load_module() { print_info "Try rebooting or check: sudo dmesg | grep aic8800" fi - # Bluetooth is handled by the standard btusb driver after firmware upload - print_info "Bluetooth will be available via the standard btusb driver once hardware is connected." + # Load the standard Bluetooth driver (btusb) + # The aic_load_fw module uploads the Bluetooth firmware, then btusb handles the BT interface + print_info "Loading standard Bluetooth driver (btusb)..." + if modprobe btusb >> "$LOG_FILE" 2>&1; then + print_success "Bluetooth driver (btusb) loaded successfully." + else + print_warning "Could not load btusb driver automatically." + print_info "You can manually load it with: sudo modprobe btusb" + fi } #############################################################################