mirror of
https://github.com/shenmintao/aic8800d80.git
synced 2026-09-26 17:44:16 +00:00
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 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.5
parent
f2e73a92ab
commit
41b5208909
+9
-2
@@ -451,8 +451,15 @@ load_module() {
|
|||||||
print_info "Try rebooting or check: sudo dmesg | grep aic8800"
|
print_info "Try rebooting or check: sudo dmesg | grep aic8800"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Bluetooth is handled by the standard btusb driver after firmware upload
|
# Load the standard Bluetooth driver (btusb)
|
||||||
print_info "Bluetooth will be available via the standard btusb driver once hardware is connected."
|
# 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
|
||||||
}
|
}
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user