mirror of
https://github.com/shenmintao/aic8800d80.git
synced 2026-09-26 17:44:16 +00:00
2.1 KiB
2.1 KiB
Unified Wi-Fi and Bluetooth branch test
This branch tests replacing the separate main and bluetooth branches with
one driver and installer. The kernel driver, firmware, and DKMS configuration
were already identical on both branches. This test unifies their installer,
migration, diagnostics, packaging description, and documentation.
The expected architecture is:
aic_load_fwinitializes every supported adapter and uploads firmware.aic8800_fdrvhandles Wi-Fi.- A combo adapter exposes a Bluetooth HCI USB interface after initialization;
the standard Linux
btusbdriver binds through normal USB device matching. - A Wi-Fi-only adapter exposes no HCI interface and does not need
btusb. - The retired custom
aic_btusbmodule is never installed or used.
The installer deliberately does not force-load btusb and does not globally
unblock Bluetooth through rfkill.
Install
git fetch origin
git switch test/unified-wifi-bt
git pull --ff-only
sudo ./install.sh
sudo reboot
Test a Wi-Fi-only adapter
Confirm that:
- The Wi-Fi interface is created.
- Scanning, association, DHCP, and real traffic work.
- No
aic_btusbmodule is loaded. - The absence of
btusbor an HCI controller is treated as normal.
Test a Wi-Fi/Bluetooth combo adapter
Confirm that:
- Wi-Fi scanning, association, DHCP, and real traffic work.
aic_load_fwuploads the firmware before the HCI interface is used.- The Bluetooth USB interface is bound to the standard
btusbdriver. bluetoothctlcan power on, scan, pair, and exchange real traffic.- No
aic_btusbmodule, alias, soft dependency, or udev binding rule remains.
Collect results
git rev-parse --short HEAD
lsusb
lsusb -t
lsmod | grep -E 'aic|btusb|bluetooth'
iw dev
bluetoothctl list
sudo ./diagnose_bt.sh | tee unified-wifi-bt-diagnostic.log
sudo journalctl -k -b --no-pager | tee unified-wifi-bt-kernel.log
Please attach both logs and identify whether the tested adapter is Wi-Fi-only or a combo device.
Roll back during testing
git switch main
git pull --ff-only
sudo ./install.sh
sudo reboot